Opened 11 years ago
Last modified 2 years ago
#39192 closed defect
Image::LibRSVG won't install — at Initial Version
Reported by: | mbaudis@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ||
Port: | librsvg |
Description
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 attributeunused
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