[MacPorts] #19953: librsvg-2.26.0 Configure error - bad freetype2.pc file (was: librsvg-2.26.0 Configure error - build failure - Tiger (ppc))

MacPorts noreply at macports.org
Mon Jun 15 11:01:25 PDT 2009


#19953: librsvg-2.26.0 Configure error - bad freetype2.pc file
-------------------------------+--------------------------------------------
 Reporter:  cgtobi@…           |       Owner:  ryandesign@…           
     Type:  defect             |      Status:  new                    
 Priority:  Normal             |   Milestone:                         
Component:  ports              |     Version:  1.7.1                  
 Keywords:  librsvg ppc tiger  |        Port:  freetype librsvg       
-------------------------------+--------------------------------------------
Changes (by jmr@…):

 * cc: cgtobi@… (removed)
  * owner:  macports-tickets@… => ryandesign@…
  * port:  librsvg => freetype librsvg


Old description:

> {{{$ sudo port install librsvg
> Password:
>
> --->  Configuring librsvg
> Error: Target org.macports.configure returned: configure failure: shell
> command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_librsvg/work/librsvg-2.26.0"
> && ./configure --prefix=/opt/local --enable-pixbuf-loader --with-svgz "
> returned error 1
> Command output: checking if /usr/bin/gcc-4.0 static flag -static works...
> no
> checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes
> checking if /usr/bin/gcc-4.0 supports -c -o file.o... (cached) yes
> checking whether the /usr/bin/gcc-4.0 linker (/usr/libexec/gcc/powerpc-
> apple-darwin8/4.0.1/ld) supports shared libraries... yes
> checking dynamic linker characteristics... darwin8.11.0 dyld
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for ANSI C header files... (cached) yes
> checking whether /usr/bin/gcc-4.0 and cc understand -c and -o together...
> yes
> checking whether byte ordering is bigendian... yes
> checking for some Win32 platform... no
> checking for native Win32... no
> checking for pkg-config... /opt/local/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for GLIB... yes
> checking for LIBRSVG... configure: error: Package requirements (
> gdk-pixbuf-2.0 >= 1.3.7         glib-2.0 >= 2.12.0      libxml-2.0 >=
> 2.4.7     pangoft2 >= 1.2.0       pangocairo >= 1.10.0    cairo >= 1.2.0
> cairo-png >= 1.2.0     fontconfig >= 1.0.1
>         freetype2) were not met:
>
> Libs.private field occurs twice in
> '/opt/local/lib/pkgconfig/freetype2.pc'
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables LIBRSVG_CFLAGS
> and LIBRSVG_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>

> Error: Status 1 encountered during processing.}}}

New description:

 {{{
 $ sudo port install librsvg
 Password:

 --->  Configuring librsvg
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_librsvg/work/librsvg-2.26.0"
 && ./configure --prefix=/opt/local --enable-pixbuf-loader --with-svgz "
 returned error 1
 Command output: checking if /usr/bin/gcc-4.0 static flag -static works...
 no
 checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes
 checking if /usr/bin/gcc-4.0 supports -c -o file.o... (cached) yes
 checking whether the /usr/bin/gcc-4.0 linker (/usr/libexec/gcc/powerpc-
 apple-darwin8/4.0.1/ld) supports shared libraries... yes
 checking dynamic linker characteristics... darwin8.11.0 dyld
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... yes
 checking for ANSI C header files... (cached) yes
 checking whether /usr/bin/gcc-4.0 and cc understand -c and -o together...
 yes
 checking whether byte ordering is bigendian... yes
 checking for some Win32 platform... no
 checking for native Win32... no
 checking for pkg-config... /opt/local/bin/pkg-config
 checking pkg-config is at least version 0.9.0... yes
 checking for GLIB... yes
 checking for LIBRSVG... configure: error: Package requirements (
 gdk-pixbuf-2.0 >= 1.3.7         glib-2.0 >= 2.12.0      libxml-2.0 >=
 2.4.7     pangoft2 >= 1.2.0       pangocairo >= 1.10.0    cairo >= 1.2.0
 cairo-png >= 1.2.0     fontconfig >= 1.0.1
         freetype2) were not met:

 Libs.private field occurs twice in '/opt/local/lib/pkgconfig/freetype2.pc'

 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 installed software in a non-standard prefix.

 Alternatively, you may set the environment variables LIBRSVG_CFLAGS
 and LIBRSVG_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.


 Error: Status 1 encountered during processing.
 }}}

--

-- 
Ticket URL: <http://trac.macports.org/ticket/19953#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list