Date: Tue, 27 Feb 2007 16:42:09 +0100 From: Rene Ladan <r.c.ladan@gmail.com> To: Gerald Pfeifer <gerald@pfeifer.com> Cc: x11@freebsd.org Subject: Re: wine 0.9.31 build failure on X.org 7.2 Message-ID: <45E45151.1040703@gmail.com> In-Reply-To: <Pine.LNX.4.64.0702270139270.5470@acrux.dbai.tuwien.ac.at> References: <45DC7FB9.4040007@gmail.com> <45DC8BE8.30503@FreeBSD.org> <Pine.LNX.4.64.0702242006031.20551@acrux.dbai.tuwien.ac.at> <45E173BD.5060302@gmail.com> <Pine.LNX.4.64.0702252318560.3402@acrux.dbai.tuwien.ac.at> <45E31555.40708@gmail.com> <Pine.LNX.4.64.0702270139270.5470@acrux.dbai.tuwien.ac.at>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------020806020803060804020109 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Gerald Pfeifer schreef: > On Mon, 26 Feb 2007, Rene Ladan wrote: >> I tried building wine from todays cvs but it fails at the same point. >> >> Adding -lXau to the EXTRALIBS= line in wine/dlls/winenas.drv/Makefile >> provides a quick fix. The build then completes successfully. > > Would you mind giving the patch below a try? Apply this to the top-level > configure.ac file in the Wine source tree, then run `autoconf261` and then > try building Wine again. > > It did survive a test build on FreeBSD 5.x with an older version of X. > > If it works for you, I'll submit it upstraem. Autoconf is not my home > ground at all... > It doesn't work, because the generated configure script is 'wrong': when compiling the test program for libXau, it forgets to add -L/usr/X11R6/lib (or something similar) to the compiler command. So configure thinks I don't have libXau, which leads to the same old error. I've fixed your patch to include this flag, the result is attached. Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 --------------020806020803060804020109 Content-Type: text/x-patch; name="configure.ac.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="configure.ac.diff" --- configure.ac.orig Fri Feb 23 12:30:08 2007 +++ configure.ac Tue Feb 27 15:05:49 2007 @@ -459,7 +459,10 @@ [AC_CHECK_HEADERS(audio/soundlib.h,,,[#include <audio/audiolib.h>]) AC_CHECK_LIB(audio,AuCreateFlow, [AC_DEFINE(HAVE_NAS,1,[Define if you have NAS including devel headers]) - NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"],, + AC_CHECK_LIB(Xau,XauGetBestAuthByAddr, + [NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"], + [NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"], [$X_LIBS]) + ],, [-lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS])]) CPPFLAGS="$ac_save_CPPFLAGS" --------------020806020803060804020109--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45E45151.1040703>