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

John Frankish frankish at dubai.oilfield.slb.com
Fri Jan 16 02:40:20 PST 2009


At 03:29 13-01-09, you wrote:
>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.
>_______________________________________________

There's definitely something amiss here, the 32-bit build of libwmf 
also fails with a 64-bit Xlib error

I tried your suggestion and the Makefile produced is full of 
references to /usr/lib64 (and -m64)

John
-------------
# ls /usr/lib/X11/config
Amoeba.cf
apollo.cf
bsd.cf
bsdi.cf
bsdiLib.rules
bsdiLib.tmpl
bsdLib.rules
bsdLib.tmpl
cde.rules
cde.tmpl
convex.cf
cray.cf
cross.def
cross.rules
cygwin.cf
cygwin.rules
cygwin.tmpl
darwin.cf
darwinLib.rules
darwinLib.tmpl
date.def
DGUX.cf
dmx.cf
DragonFly.cf
FreeBSD.cf
fujitsu.cf
generic.cf
gnu.cf
gnuLib.rules
gnuLib.tmpl
host.def
hp.cf
hpLib.rules
hpLib.tmpl
ibm.cf
ibmLib.rules
ibmLib.tmpl
Imake.cf
Imake.rules
Imake.tmpl
isc.cf
Library.tmpl
linux.cf
lnxdoc.rules
lnxdoc.tmpl
lnxLib.rules
lnxLib.tmpl
luna.cf
lynx.cf
mach.cf
macII.cf
mingw.cf
mingw.rules
mingw.tmpl
minix.cf
Mips.cf
Motif.rules
Motif.tmpl
moto.cf
ncr.cf
nec.cf
necLib.rules
necLib.tmpl
NetBSD.cf
noop.rules
nto.cf
nto.rules
Oki.cf
oldlib.rules
OpenBSD.cf
OpenBSDLib.rules
OpenBSDLib.tmpl
os2.cf
os2Lib.rules
os2Lib.tmpl
os2.rules
osf1.cf
osfLib.rules
osfLib.tmpl
pegasus.cf
QNX4.cf
QNX4.rules
sco5.cf
sco.cf
scoLib.rules
sequent.cf
sequentLib.rules
ServerLib.tmpl
Server.tmpl
sgi.cf
sgiLib.rules
sgiLib.tmpl
site.def
sony.cf
sun.cf
sunLib.rules
sunLib.tmpl
sv3Lib.rules
sv3Lib.tmpl
sv4Lib.rules
sv4Lib.tmpl
svr3.cf
svr4.cf
Threads.tmpl
ultrix.cf
usl.cf
version.def
Win32.cf
Win32.rules
WinLib.tmpl
X11.rules
X11.tmpl
x386.cf
xf86.rules
xf86site.def
xf86.tmpl
xfree86.cf
xorg.cf
xorgsite.def
xorg.tmpl
xorgversion.def






More information about the Clfs-dev mailing list