<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Greets,<br><br><hr>From: myheadblewoff<br>To: clfs-dev<br>Date: Tue, 7 Oct 2008 23:25:43 +1000<br>Subject: [Clfs-dev] CBLFS -- wxWidgets-2.8.9 -- compile problem?<br><br>

<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Tahoma;}
</style>


Greets,<br><br>Relative to CLFS-1.1.0 x86_64 multilib.....<br><br>The 32bit build works fine, but the 64bit (and I'll suspect n32 as well) breaks.<br><br>After a bit of dissecting, it appears the configure time switch  '--libdir= ' is <br>somehow causing things to go awry.....<br><br><snip><br><br>Apparently, the  '--libdir=/usr/lib64'  switch issued at configure time, gets parsed into the<br>makefiles as part of variable  LDFLAGS , and as this precedes the actual linktime library<br>path we want   ( -L/usr/local/src/wxWidgets-2.8.9/lib ), ld fails to find the libraries we're<br>trying to link 'wxrc' to.....or such and similar.<br><br>I don't seem to recall this happening with wxWidget-2.8.8 so perhaps something has changed?<br><br>Not sure if it's me, or something else...nor even how to fix it, but there it is....<br><br>Manually editted the offending LDFLAGS entry from the wxrc makefile and the problem<br>goes away.....perhaps someone wiser than myself could look into this one?<br><br>-----------------------------------------------<br><br>Further to this, after a bit of digging I've discovered this problem is likely attributed to<br>the use of the 'Bakefile' utility as used in the wxWidgets-2.8.9 source tree (bakefile 0.2.3)<br><br>According to the changelog for the latest bakefile (0.2.4)  ;<br><br>(quote) " - put user- or configure-provided LDFLAGS and LIBS to the end of linker<span style="font-family: monospace;"><br>        </span>command line to avoid conflicts of local libraries with system-wide (#182)"<br><br>ref:  http://bakefile.svn.sourceforge.net/viewvc/bakefile/bakefile/trunk/NEWS<br><br><br>Regards,<br><br>Don<br> 
<br /><hr /> <a href='' target='_new'></a></body>
</html>