Skip Menu |

This queue is for tickets about the Image-LibRSVG CPAN distribution.

Report information
The Basics
Id: 102480
Status: open
Priority: 0/
Queue: Image-LibRSVG

People
Owner: Nobody in particular
Requestors: SZABGAB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Cannot find rsvg.h during installation on OSX
Running Mkbootstrap for Image::LibRSVG () chmod 644 LibRSVG.bs /Users/gabor/perl5/perlbrew/perls/perl-5.20.1_WITH_THREADS/bin/perl /Users/gabor/perl5/perlbrew/perls/perl-5.20.1_WITH_THREADS/lib/5.20.1/ExtUtils/xsubpp -typemap /Users/gabor/perl5/perlbrew/perls/perl-5.20.1_WITH_THREADS/lib/5.20.1/ExtUtils/typemap -typemap typemap LibRSVG.xs > LibRSVG.xsc && mv LibRSVG.xsc LibRSVG.c cc -c -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O3 -DVERSION=\"0.07\" -DXS_VERSION=\"0.07\" "-I/Users/gabor/perl5/perlbrew/perls/perl-5.20.1_WITH_THREADS/lib/5.20.1/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 ^ /Users/gabor/perl5/perlbrew/perls/perl-5.20.1_WITH_THREADS/lib/5.20.1/darwin-thread-multi-2level/CORE/perl.h:302: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 While it can be found at /usr/local/Cellar/librsvg/2.36.3_1//include/librsvg-2.0/librsvg/rsvg.h after installing librsvg using "brew install librsvg"
On 2015-03-03 00:05:14, SZABGAB wrote: Show quoted text
> 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
Sounds like the Makefile.PL needs a code snippet using Devel::CheckLib (to ensure that the necessary libraries and headers are installed). Actually installing those things with Alien::* would be cool, but might be overengineering.