Hello all ,<br><br> I am a final year graduate student. I was trying to configure X server.During configuring mesa package I first did run <br><br>./autogen.sh --prefix=/opt/mpx --with-driver=dri --disable-glut --disable-egl<br>
<br>and then used command "make" but got following error..<br><br>make[1]: Entering directory `/home/amey/project/mesa/progs'<br>Making programs for autoconf<br>make[2]: Entering directory `/home/amey/project/mesa/progs/xdemos'<br>
gcc -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS corender.o ipc.o -L../../lib -lGL -lm -lX11 -lpthread -o corender<br>
/usr/bin/ld: cannot find -lX11<br>collect2: ld returned 1 exit status<br>make[2]: *** [corender] Error 1<br>make[2]: Leaving directory `/home/amey/project/mesa/progs/xdemos'<br>make[1]: *** [subdirs] Error 1<br>make[1]: Leaving directory `/home/amey/project/mesa/progs'<br>
make: *** [default] Error 1<br><br clear="all"><br>I have set environment variables with following paths for configuring all packages:<br><br>PKG_CONFIG_PATH = /opt/mpx/pkgconfig:/opt/mpx/share/pkgconfig<br>LD_LIBRARY_PATH = /opt/mpx/lib<br>
ACLOCAL = aclocal -I /opt/mpx/share/aclocal<br><br><br>So please help me in this regard..<br><br><br>-- <br>Thanks,<br>Amey.<br>