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

MacPorts noreply at macports.org
Wed May 22 08:14:41 PDT 2013


#39192: Image::LibRSVG won't install
------------------------+-----------------------
  Reporter:  mbaudis@…  |      Owner:  pixilla@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.1.3
Resolution:             |   Keywords:
      Port:  librsvg    |
------------------------+-----------------------
Changes (by macsforever2000@…):

 * keywords:  librsvg, Image::LibRSVG =>
 * owner:  macports-tickets@… => pixilla@…
 * priority:  High => Normal
 * port:  librsvg 0.1.4 => librsvg


Old 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 __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

New 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 __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
 }}}

--

Comment:

 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.

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


More information about the macports-tickets mailing list