Martin Schrodt wrote:
> Hi List,
> 
> I am having a rough ride so far updating my fink installation from  
> Tiger to Leopard.
> The last hill I had to get over was QT complaining about XFT missing,  
> which was solved by installing the latest Xquartz 2.2.1. It went on a  
> little while, and now won't compile arts:
> 
> ...
> checking for X... libraries /usr/lib, headers .
> checking for IceConnectionNumber in -lICE... yes
> checking for libXext... no
> configure: error: We need a working libXext to proceed. Since configure
> can't find it itself, we stop here assuming that make wouldn't find
> them either.
> arts-1.5.9-1 configure failed!

This looks like another one of those auto-bugs that are exposed when 
xmkmf is not present. This time it seems to be a line in configure

LIBS="-lXext -lX11 $LIBSOCKET"

that according to any logic should read

LIBS="$LIBS -lXext -lX11 $LIBSOCKET"

The bug is present in admin/acinclude.m4.in and is therefore likely to 
affect all kde packages. Maintainer CCed.

Adding a line

  perl -pi.bak -e 's|(LIBS=\")(\-lXext \-lX11 \$LIBSOCKET\")|$1\$LIBS 
$2|g' admin/acinclude.m4.in

to the PatchScript in arts.info lets the build succeed.

> Looks like some include/library path problem, since it says it found  
> the libraries under /usr/lib (where they are not), and the headers  
> nowhere (and they are in /usr/X11/include/X11).

This is a (probably harmless) side effect of some homegrown starter 
script outsmarting the very autotools it is made for: It places 
-I/usr/X11R6/include into CPPFLAGS and -L/usr/X11R6/lib into LIBS, so 
that configure thinks it does not need to add any X11 related flags to 
the compiler command lines.

-- 
Martin




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
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