[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#170508: xfree86: FTBFS on alpha: damned old GLX library assumes X11 headers installed to system



Package: xfree86
Version: 4.2.1-4
Severity: serious
Tags: help

making all in lib/GL/glx...
make[6]: Entering directory `/build/buildd/xfree86-4.2.1/build-tree/xc-xserver-xfree86-dbg/lib/GL/glx'
rm -f clientattrib.o unshared/clientattrib.o
gcc -c -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef  -I../../../exports/include 		-I../../../exports/include/X11 		-I../../../include/extensions 		-I../../../exports/include/GL 		-I../../../lib/GL/glx 		-I../../../extras/Mesa/src 		-I../../../extras/Mesa/src/X86 		-I../../../extras/Mesa/include 		-I../../../lib/GL/dri  -I../../.. -I../../../exports/include -I/usr/X11R6/include  -Dlinux -D__alpha__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -D__GLX_ALIGN64 -mieee -D__GLX_ALIGN64   -g -O2 -g  clientattrib.c -o unshared/clientattrib.o
In file included from clientattrib.c:39:
glxclient.h:49: X11/Xlibint.h: No such file or directory
In file included from glxclient.h:50,
                 from clientattrib.c:39:
../../../exports/include/GL/glx.h:39: X11/Xlib.h: No such file or directory
../../../exports/include/GL/glx.h:40: X11/Xutil.h: No such file or directory
make[6]: *** [clientattrib.o] Error 1

Either have to build X11 library when building GLX library, i.e.:

Change X11.tmpl from:
    261 #ifndef BuildX11Lib
    262 #define BuildX11Lib             BuildLibraries
    263 #endif
to:
    261 #ifndef BuildX11Lib
    262 #define BuildX11Lib             BuildLibraries || BuildGLXLibrary
    263 #endif

Or figure out how to make lib/X11 dump its headers in xc/export/include and do
nothing else (like build).

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux apocalypse 2.4.18 #1 Fri May 3 19:03:16 EST 2002 i686
Locale: LANG=C, LC_CTYPE=C





Reply to: