On 21 Sep 2007, at 07:05, Jens Noeckel wrote:

> Hi,
> I had a problem building xetex version 0.995-30 on an Intel Mac with
> fink's tetex (no other tex tree installed on this machine):
> It tried to link to libexpat.la in my /usr/local/lib directory,
> instead of /sw/lib.
>
> To fix this, I added the line
> SetLIBRARY_PATH: %p/lib
> to xetex.info (right after the line NoSetLDFLAGS: true)
>
> After doing this, the installation went through, and I was able to
> typeset two example files. So everything seems to work fine with the
> above modification in the info file.
> Jens

The only way I can understand this is the following:
A directory specified with SetLIBRARY_PATH is added by the compiler
to the search list _ completely at the end, but before the compiler's  
own
search list. Since the latter does not contain /usr/local/lib, this  
change
cannot affect any compilation...
So it must have affected the link command itself, through finding
expat at different places during configure (probably it would first look
if it finds expat w/o flags _ and it is here that the LIBRARY_PATH  
helps_,
then with a couple of standard locations like /usr/lib and /usr/local/ 
lib)
(this is a reason this flag often helps during configure too).

Is this correct (don't have the  builddir or the pkg installed  to  
check myself) ?

In that case, it is certainly a helpful fix to the pkg _ but don't  
forget then to
add the required deps and bdeps (and pls use expat1 rather than expat).

JF Mertens

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to