wine 0.9.31 build failure on X.org 7.2
Gerald Pfeifer
gerald at pfeifer.com
Tue Feb 27 11:13:00 UTC 2007
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...
Gerald
Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.614
diff -u -3 -p -r1.614 configure.ac
--- configure.ac 23 Feb 2007 11:30:08 -0000 1.614
+++ configure.ac 27 Feb 2007 00:37:30 -0000
@@ -459,7 +459,10 @@ then
[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"])
+ ],,
[-lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS])])
CPPFLAGS="$ac_save_CPPFLAGS"
More information about the freebsd-x11
mailing list