Bug 18805

Summary: X11 headers not located. wlib: cannot execute
Product: Mesa Reporter: Joseph Brosh <edgeofthirty2010>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED INVALID QA Contact:
Severity: blocker    
Priority: medium    
Version: 7.2   
Hardware: Other   
OS: All   
URL: http://360.yahoo.com/edgeofthirty2010
Whiteboard:
i915 platform: i915 features:
Attachments: the output from the make command

Description Joseph Brosh 2008-11-28 14:33:36 UTC
Created attachment 20676 [details]
the output from the make command

mesa fails to locate the X11 includes in /usr/local/X11

resulting in the following output:

make[1]: Entering directory `/root/Mesa-7.2/src'
Making sources for autoconf
make[2]: Entering directory `/root/Mesa-7.2/src/mesa'
mklib: Making QNX library:  libmesa.a
../../bin/mklib[885]: wlib: cannot execute - No such file or directory
mklib: Making QNX library:  libglapi.a
../../bin/mklib[885]: wlib: cannot execute - No such file or directory
(cd drivers && make)
make[3]: Entering directory `/root/Mesa-7.2/src/mesa/drivers'
make[4]: Entering directory `/root/Mesa-7.2/src/mesa/drivers/x11'
gcc -c -I../../../../include -I../../../../src/mesa -I../../../../src/mesa/main
-g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing  -fP
IC   -DHAVE_POSIX_MEMALIGN -DUSE_XSHM fakeglx.c -o fakeglx.o
In file included from fakeglx.c:43:
glxheader.h:43:23: error: X11/Xlib.h: No such file or directory
glxheader.h:44:26: error: X11/Xlibint.h: No such file or directory
glxheader.h:45:24: error: X11/Xutil.h: No such file or directory
glxheader.h:48:23: error: sys/shm.h: No such file or directory
glxheader.h:49:35: error: X11/extensions/XShm.h: No such file or directory
In file included from glxheader.h:51,
                 from fakeglx.c:43:
Comment 1 Brian Paul 2008-12-09 17:22:24 UTC
Which configuration are you building?

You might try adding the path to the X11 headers to the X11_INCLUDES variable in the config file (such as in Mesa/configs/linux).

If you're on QNX, the tool to build libraries is called 'wlib'.  It looks like it's missing on your system.

I have no experience with QNX so I don't have any specific advice for that problem.
Comment 2 Marek Olšák 2011-03-01 14:46:19 UTC
No feedback for 3 years. Closing...

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.