Problem while configuring xserver.

Amey amey1288 at
Sun Jan 24 10:49:34 PST 2010

Hello all ,

                 I am a final year graduate student. I was trying to
configure X server.During configuring mesa package I first did run

./ --prefix=/opt/mpx --with-driver=dri --disable-glut

and then used command "make" but got following error..

make[1]: Entering directory `/home/amey/project/mesa/progs'
Making programs for autoconf
make[2]: Entering directory `/home/amey/project/mesa/progs/xdemos'
gcc -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math
-fvisibility=hidden -fno-strict-aliasing  -fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS  corender.o ipc.o -L../../lib -lGL
-lm -lX11 -lpthread -o corender
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[2]: *** [corender] Error 1
make[2]: Leaving directory `/home/amey/project/mesa/progs/xdemos'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/amey/project/mesa/progs'
make: *** [default] Error 1

I have set environment variables with following paths for configuring all

PKG_CONFIG_PATH = /opt/mpx/pkgconfig:/opt/mpx/share/pkgconfig
LD_LIBRARY_PATH = /opt/mpx/lib
ACLOCAL = aclocal -I /opt/mpx/share/aclocal

So please help me in this regard..

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the xorg-devel mailing list