On Thu, Feb 08, 2007 at 05:47:18PM +0100, mike wrote:
> hi
>
> when i want compile a x-app like kde or xmms in 32 and 64 bit mode then every
> time at 64 bit section it fails because
> the compiler want use a lib from /usr/X11/lib instead from /usr/X11/lib64.
> the configure options like in the cblfs-book.
> my dirty hack for this is temporary hide /usr/X11/lib from the build process
> and its work. why is it so?
My first guess is that PKG_CONFIG_PATH is/was not set correctly
(/usr/lib/pkgconfig or /usr/lib64/pkgconfig in my case), or else
that you were picking up the wrong size of freetype-config, fc-* or
even pkg-config itself (e.g. you missed the move to -{32,64} and the
link to multarch_wrapper).
The only way to be certain what is wrong is to log the output, and
see where it starts trying to use the 32-bit libraries. Usually,
it's a libtool '.la' library. I'm a bit rusty about how I used to
do this, my last multilib builds all found the correct versions.
ISTR that freetype-config in particular will point to the specific
libraries. But then, if you hide them it will fail to build, so
maybe the casue of your problem is slightly different.
What really puzzles me is why you would want two sizes of either
xmms or kde, and how you would go about accessing the programs from
the size you built first. (OK, for xmms you just have to rename it
before the second build, maybe the same thing will work for kde.)
I have fond thoughts about kde (ignoring an ICE today on an
underpowered LFS-svn box in kdelib) because on ppc64 it actually
builds correctly (as 64-bit) without any jumping through hoops, and
even works with the binary 32-bit realplayer.
ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support