[Gambas-user] X11/Xlib.h error

Paolo Saudin sdnpaolo at ...69...
Fri Oct 1 08:41:24 CEST 2004


ron wrote:

>On Thursday 30 September 2004 17:46, Paolo Saudin wrote:
>  
>
>>Hi all,
>>I'm trying to compile gambas 0.99 in Yoper 2.1, the ./configure command 
>>seems to be ok, but when I type make, I get the following error:
>>...........................
>>Making all in html
>>make[6]: Entering directory 
>>`/home/paolo/stuff/gambas-0.99/src/lib/qt/kde/html'
>>/bin/sh ../../../../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. 
>>-I. -I../../../.r/lib/qt-3.3/include/ -D_REENTRANT     -g -O2 -pipe 
>>-Wall -fno-exceptions -g -Os -fno- c++ -DHAVE_CONFIG_H -I. -I. 
>>-I../../../../.. -I../../../../../src/share -I/usr/lib/qt- -Wall 
>>-fno-exceptions -g -Os -fno-omit-frame-pointer -c main.cpp  -fPIC -DPIC 
>>-o main
>>main.cpp:41:22: X11/Xlib.h: No such file or directory
>>
>>This file is locate in "/usr/X11R6/include/X11/Xlib.h"
>>I tried the ./configure --x-includes=/usr/X11R6/include/ , ./configure 
>>--x-includes=/usr/X11R6/include/X11/  without success. I keep getting 
>>the error. Any Idea? Many thanks!
>>Paolo
>>
>>
>>    
>>
>
>Maybe I'm wrong.
>
>But try './configure --x-includes=/usr/X11R6/' without the 'include' directory.
>
>As I understood the --x-includes should point to the place the 'include' directory is
>configure adds 'include' to it and the main.cpp is adding 'X11/Xlib.h' resulting
>the full path as '/usr/X11R6' / 'include' / 'X11/Xlib.h'.
>
>However it is strange, SuSE has the same path for Xlib.h and I do not set it myself.
>
>In my 'config.log':
>configure:12068: checking for X
>configure:12288: result: libraries /usr/X11R6/lib, headers /usr/X11R6/include
>configure:12441: gcc -o conftest -g -O2   conftest.c   -L/usr/X11R6/lib -lX11 >&5
>
>May be this helps if you compare.
>  
>
Hi, thank for the hints, I tried, but no way
here is my 'config.log':
configure:7792: checking for QT component libraries
configure:7932: checking for X
configure:8246: checking for dnet_ntoa in -ldnet
..............................
configure:8763: checking for XOpenDisplay in -lX11
configure:8782: gcc -o conftest -g -O2   conftest.c -lX11  
-L/usr/X11R6/lib  1>&5
configure:8805: checking for XShmAttach in -lXext
configure:8824: gcc -o conftest -g -O2   conftest.c -lXext  
-L/usr/X11R6/lib  1>&5

My Gcc version is 3.4.1
Many thanks again





More information about the User mailing list