Stephen Liu wrote:
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
"Xorg-devel is only needed if you have a distro that installs X for you.
Since you are compiling X from source then that is all you need. You
must have missed a step in the Xorg installation. BTW, you cannot run
"make" or "make install" if configure doesn't work - please don't
continue taking up space with messages about "make install" commands
when configure has problems.
Look carefully over the commands you typed to install Xorg and check
them with what's in the book.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page