[Clfs-dev] 32-bit multi-lib bclfs librsvg build fails on ps3

Joe Ciccone jciccone at gmail.com
Mon Jan 12 15:29:59 PST 2009


John Frankish wrote:
> The cblfs 32-bit multi-lib build of librsvg fails on a ps3 as follows:
>
> $ CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}"
> USE_ARCH=32 ./configure --prefix=/usr --sysconfdir=/etc --enable-svgz
>
> [Note] --enable-svgz not recognised, but ./configure picks it up anyway.
>
>
> editing the Makefile line GDK_X11_LIBS "...-L/usr/lib64 -R/usr/lib64
> -lX11" --> "...-L/usr/lib -R/usr/lib -lX11" fixes this.
I can't reproduce this locally, check your xorg-cf-files installation.

On my system (built 3 weeks ago):
GDK_X11_LIBS='-lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0
-lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
-L/usr/X11R7/lib -lX11'

-R shouldn't be in there.

Run this test, this is the same way that configure does it:

mkdir conftest.dir
cd conftest.dir
echo -e "incroot:" > Imakefile
echo -e "\t at echo incroot='\${INCROOT}'" >> Imakefile
echo -e "usrlibdir:" >> Imakefile
echo -e "\t at echo usrlibdir='\${USRLIBDIR}'" >> Imakefile
echo -e "libdir:" >> Imakefile
echo -e "\t at echo libdir='\${LIBDIR}'" >> Imakefile
USE_ARCH=32 xmkmf
make incroot usrlibdir libdir

The above test will show you the paths that were given to configure.



More information about the Clfs-dev mailing list