X libraries or include files not found - gtk+-1.2.10

Stephen Liu satimis at yahoo.com
Thu Aug 18 20:45:46 PDT 2005


Hi folks,

compiling gtk+-1.2.10 failed
X libraries or include files not found

GLib-1.2.10, libtiff-3.7.3, libjpeg-6b, and
X.org-6.8.2 already installed.

Step performed and output
root:/sources/gtk+-1.2.10$ ./configure --prefix=/usr
--sysconfdir=/etc &&
> make  
....
....
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.8... yes
configure: error:
*** X libraries or include files not found. Check
'config.log' for
*** more details.

root:/sources/gtk+-1.2.10$ make install
make: *** No rule to make target `install'.  Stop.
root:/sources/gtk+-1.2.10$                            
 


$ cat /sources/gtk+-1.2.10/config.log
....
configure:3085: warning: conflicting types for
built-in function 'malloc'
configure: In function `main':
configure:3095: warning: implicit declaration of
function `getpagesize'
configure:3102: warning: implicit declaration of
function `exit'
configure:3104: warning: implicit declaration of
function `rand'
configure:3105: warning: implicit declaration of
function `umask'
configure:3109: warning: implicit declaration of
function `write'
configure:3111: warning: implicit declaration of
function `close'
configure:3142: warning: implicit declaration of
function `read'
configure:3148: warning: implicit declaration of
function `unlink'
....
configure:3250: gcc -o conftest -g -O2 -Wall  
conftest.c  1>&5
configure:3222: checking for strchr
configure:3250: gcc -o conftest -g -O2 -Wall  
conftest.c  1>&5
configure:3234: warning: conflicting types for
built-in function 'strchr'
configure:3222: checking for strcasecmp
configure:3250: gcc -o conftest -g -O2 -Wall  
conftest.c  1>&5
configure:3222: checking for strdup
....
configure:3625: gcc -o conftest -g -O2 -Wall  
conftest.c  1>&5
configure:3609: warning: conflicting types for
built-in function 'dcgettext'
...
configure: In function `main':
configure:4173: warning: unused variable `dir'
configure:4270: checking for glib-config
......
#line 4606 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:4687: gcc -o conftest -g -O2 -Wall  
conftest.c -lXt   1>&5
configure: In function `main':
configure:4683: warning: implicit declaration of
function `XtMalloc'
/usr/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status
configure: failed program was:
#line 4680 "configure"
#include "confdefs.h"

int main() {
XtMalloc()
; return 0; }
- END -

How to fix the problem.  OR shall I install xorg-devel
from following site;

http://tutimura.ath.cx/~nob/vine30updates/XOrg-devel.html

TIA

B.R.
SL


























More information about the blfs-support mailing list