Opened 11 years ago

Closed 2 years ago

#39192 closed defect (worksforme)

Image::LibRSVG won't install

Reported by: mbaudis@… Owned by: mascguy (Christopher Nielsen)
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 (4)

comment:1 Changed 11 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 6 years ago by mf2k (Frank Schima)

Owner: changed from pixilla to dbevans
Status: newassigned

See #57827

comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)

Owner: changed from dbevans to mascguy

Reassign librsvg-related tickets to me

comment:4 Changed 2 years ago by mascguy (Christopher Nielsen)

Resolution: worksforme
Status: assignedclosed

Given how old this ticket is - combined with the fact that we haven't seen similar issues recently - closing.

If this is still an issue, please reopen.

Note: See TracTickets for help on using tickets.