Problem while configuring xserver.

Amey amey1288 at gmail.com
Thu Jan 28 06:50:03 PST 2010


On Mon, Jan 25, 2010 at 8:00 PM, Gaetan Nadon <memsize at videotron.ca> wrote:

>  On Mon, 2010-01-25 at 15:14 +0100, Stephan Raue wrote:
>
> Am 25.01.2010 14:42, schrieb Amey:
>
>   PKG_CONFIG_PATH = /opt/mpx/pkgconfig:/opt/mpx/share/pkgconfig
>
>   try PKG_CONFIG_PATH=/opt/mpx/lib/pkgconfig
>
> Should be /opt/mpx/lib/pkgconfig:/opt/mpx/share/pkgconfig in my opinion as
> the various .pc files are either in lib/pkgconfig or share/pkgconfig.
>
>
  I tried this also but still problem is there.. :( Even I checked wit this
command :

  * pkg-config --cflags "x11"*

then I got the following output:

*  -I/opt/mpx/include*




> When ever you run ./configure and make, don't forget to run make install as
> well. This will install the .pc files and the libraries. Check config.log
> for messages that could point out to a problem.
>
>
    I am using following sequence of commands only..

1) ./autogen.sh --prefix=/opt/mpx
2) make
3) sudo make install

Here I am attaching config.log with this e-mail..for reference

I have found these values for some variables from the config.log

CXX='g++'
CXXFLAGS='-g -O2 -Wall -fno-strict-aliasing'
DEFINES=' -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS'
DEFS='-DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\"
-DPACKAGE_VERSION=\"7.8.0\" -DPACKAGE_STRING=\"Mesa\ 7.8.0\"
-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"
-DHAVE_LIBEXPAT=1'
DRI2PROTO_CFLAGS='-I/opt/mpx/include  '
DRI2PROTO_LIBS=' '
DRIGL_CFLAGS='-I/opt/mpx/include  '
DRIGL_LIBS='-L/opt/mpx/lib -lX11 -lXext -lXxf86vm -lXdamage -lXfixes  '
DRIVER_DIRS='dri'


GLW_CFLAGS='-I/opt/mpx/include  '
GLW_LIBS='-L/opt/mpx/lib -lXt -lX11 -lSM -lICE  '
GLW_LIB_DEPS='-L/opt/mpx/lib -lXt -lX11 -lSM -lICE  '

X11_INCLUDES='/opt/mpx/include/ -I/opt/mpx/include  ' (which I set
explicitly)

still I am getting the following error:

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
/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


So please help in this regard...

>
>
>
> --
>               ### OpenELEC.tv ###
> The free and open Mediacenter Distribution 4 you
>              http://www.openelec.tv
>
> _______________________________________________
> xorg-devel mailing listxorg-devel at lists.x.orghttp://lists.x.org/mailman/listinfo/xorg-devel
>
>


-- 
Thanks,
Amey.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.x.org/archives/xorg-devel/attachments/20100128/f762ef2a/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 24396 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20100128/f762ef2a/attachment-0001.bin 


More information about the xorg-devel mailing list