Opened 7 years ago

Last modified 21 months ago

#39192 assigned defect

Image::LibRSVG won't install

Reported by: mbaudis@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: librsvg

Description (last modified by mf2k (Frank Schima))

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

Change History (2)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: librsvg Image::LibRSVG removed
Owner: changed from macports-tickets@… to pixilla@…
Port: 0.1.4 removed
Priority: HighNormal

Please attach the complete main.log and, in the future, use WikiFormatting and Cc the port maintainer(s). The Priority field is reserved for use by Macports maintainers only.

comment:2 Changed 21 months ago by mf2k (Frank Schima)

Owner: changed from pixilla to dbevans
Status: newassigned

See #57827

Note: See TracTickets for help on using tickets.