<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br><br>> Date: Sat, 13 Dec 2008 14:10:10 -0500<br>> From: jciccone<br>> To: clfs-dev<br>> Subject: Re: [Clfs-dev] Pango 32-bit build fails<br>> <br>> John Frankish wrote:<br>> > On a ps3 multi-lib build, the pango 64-bit build works, but the 32-bit<br>> > build fails as follows:<br>> ><br>> > (note changing Makefile X_LIBS = -L/usr/lib64 -R/usr/lib64 -lX11 -><br>> > X_LIBS = -L/usr/lib -R/usr/lib -lX11 does not help)<br>> ><br>> > # patch -Np1 -i ../pango-1.22.0-multilib-1.patch<br>> > # sed -i "s/BUILDENV/32/" pango/pango-utils.c modules/Makefile.am<br>> > modules/Makefile.in pango/Makefile.am pango/Makefile.in<br>> ><br>> > # USE_ARCH=32 CC="gcc ${BUILD32}"<br>> > PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" ./configure --prefix=/usr<br>> > --sysconfdir=/etc<br>> > ...<br>> > checking for perl... perl<br>> > checking for X... libraries /usr/lib64, headers<br>> > checking whether -R must be followed by a space... no<br>> > ...<br>> > # make<br>> > ...<br>> > <snip><br><br>Joe said;<br>><snip><br>> <br>> And USE_ARCH=32 should cause the X libraries to be found in /usr/lib, no<br>> /usr/lib64. You may want to check the installation of xorg-cf-files and<br>> xmkmf.<br>> <br><br>There's a number of these, where environment variables are thrown up<br>like above, as a prefix to configure, which *should* result in a correct library<br>path (pkgconfig path, gcc build..), but it seems this isn't always the case. I've<br>redressed a few already, but there's no doubt more in the wiki wherein you<br>have to state the intention as an export (ie; export USE_ARCH=32 as<br>opposed to including it on the configure line). There appears to be multiple<br>reasons for this, I believe the most of which are caused by a makefile in<br>certain packages which call in other helper apps (xmkmf, perl, others...)<br>during the make process, at which time the environment variables sent<br>to configure are unset and the (generated makefiles..) have no way to<br>pass the variables onto the helper apps on which the build relies.....or <br>something like this....<br><br>Don<br><br><br><br><br /><hr />Download free emoticons today! <a href='http://livelife.ninemsn.com.au/article.aspx?id=669758 ' target='_new'>Holiday cheer from Messenger.</a></body>
</html>