[MacPorts] #39192: Image::LibRSVG won't install

MacPorts noreply at macports.org
Wed May 22 05:01:07 PDT 2013


#39192: Image::LibRSVG won't install
-------------------------------------+--------------------------------
 Reporter:  mbaudis@…                |      Owner:  macports-tickets@…
     Type:  defect                   |     Status:  new
 Priority:  High                     |  Milestone:
Component:  ports                    |    Version:  2.1.3
 Keywords:  librsvg, Image::LibRSVG  |       Port:  librsvg 0.1.4
-------------------------------------+--------------------------------
 After doing a clean install of MacPorts 2.1.3 and some modules including
 librsvg, the installation of the corresponding Perl module Image::LibRSVG
 fails with

 LibRSVG.xs:28:10: fatal error: 'librsvg/rsvg.h' file not found

 (see below). Both for CPAN and direct installation attempts. "rsvg.h" sits
 correctly in

 /opt/local/include/librsvg-2.0/librsvg/rsvg.h

 Previous versions installed correctly.

 Apparently, the path in LibRSVG.xs doesn't get expanded...

 Michael.

 ######################################################


 /opt/local/bin/perl /opt/local/lib/perl5/5.12.4/ExtUtils/xsubpp  -typemap
 /opt/local/lib/perl5/5.12.4/ExtUtils/typemap -typemap typemap  LibRSVG.xs
 > LibRSVG.xsc && mv LibRSVG.xsc LibRSVG.c
 /usr/bin/clang -c   -pipe -O2 -fno-common -DPERL_DARWIN
 -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-
 protector -I/opt/local/include -O3   -DVERSION=\"0.07\"
 -DXS_VERSION=\"0.07\"  "-I/opt/local/lib/perl5/5.12.4/darwin-thread-multi-
 2level/CORE"   LibRSVG.c
 In file included from LibRSVG.xs:15:
 ./ppport.h:227:11: warning: 'PERL_UNUSED_DECL' macro redefined
 #  define PERL_UNUSED_DECL
           ^
 /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/perl.h:308:13:
 note:
       previous definition is here
 #    define PERL_UNUSED_DECL __attribute__unused__
             ^
 LibRSVG.xs:28:10: fatal error: 'librsvg/rsvg.h' file not found
 #include "librsvg/rsvg.h"
          ^
 1 warning and 1 error generated.
 make: *** [LibRSVG.o] Error 1

-- 
Ticket URL: <https://trac.macports.org/ticket/39192>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list