installation: X libs and includes



Hi,

I am trying to install gtk+ 1.0.4, and when running configure, it stops
when it is trying to check for X. It seems it is unable to find the file
Intrinsic.h.

This is what config.log reports:
-----
(...)
configure:1852: checking for X
configure:1919: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1915: X11/Intrinsic.h: No such file or directory
configure: failed program was:
#line 1914 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:1995: gcc -o conftest -g -O2 -DGTK_NO_CHECK_CASTS -Wall
-DUSE_XIM   co
nftest.c -lXt  1>&5
configure: In function `main':
configure:1991: warning: implicit declaration of function `XtMalloc'
ld: cannot open -lXt: No such file or directory
configure: failed program was:
#line 1988 "configure"
#include "confdefs.h" 
-----

My X libs and includes should be in the directories /usr/X11R6/lib and
/usr/X11R6/include, however these directories are almost completely empty.
E.g. Intrisic.h should be in /usr/X11R6/include/X11, but this directory
only contains two directories (bitmaps and pixmaps) and no header files.

So I guess I have to install some X source files first? Does anyone know
which package I should install? Or can I just make a "dummy" Intrinsic.h
file, because the header files aren't really necessary?

I'm using RedHat 5.0 with kernel 2.0.35 on a P-100.

Abdon Pijpelink



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]