Compiling xorg-server-1.7.4 from source / build fails
I'm trying to compile xorg-server-1.7.4 from source, but it's throwing this error:
Code:
glxdri.c: In function '__glXDRIscreenProbe': Does anyone have an idea what could be wrong ? |
Some one of your dependencies is missing/wrong version. The actual error is higher up the output. You need the very first error. There is parallel development in things like libdrm, mesa, video drivers and a few other obscure libs (pixman?) that requires later versions than you might have.
Try 1. find out what glxdri.c is part of & 2. run ldd on your present version |
Thanks, I'll try that...
|
Ok, here's the first error:
Code:
glxdri.c:46:34: error: X11/dri/xf86driproto.h: No such file or directory |
Hi,
You miss xf86driproto. Take a look here for the prerequisites (protos and libraries) needed for compiling xorg-server Regards |
Ok, I found the file inside the xf86driproto package's install dir. (I have version 2.1.1)
I've noticed this line in xorg-server's config.log file: Code:
pkg_cv_DRIPROTO_CFLAGS='-I/[...path...]/xf86driproto_bin/include/X11/dri ' I changed this line: Code:
Cflags: -I${includedir}/X11/dri Code:
Cflags: -I${includedir}/X11/dri -I${includedir} I ran configure again, and now make can build that file (glxdri.o) successfully. :) (although it failed at the next file right after that, not finding "pciaccess.h". I have that file installed however, and it's in another package, so I think the solution is going to be the same for that too.) Thanks for your help, business_kid, bathory. |
All times are GMT -5. The time now is 05:11 PM. |