where to find X11 files
Brought to you by:
ghowlett
I tried to install BLT 2.4v on Red hat 7.1 Linux
system. At first, I configured and succeeded. but when
I maked the file by "make".
It said it couldn' find X11/Xlib.h, X11/Xutil.h and
X11/Xproto.h.
Where can i find them or what package I should
install?
(I installed gnome on my computer.)
Thank you!
xiaowei
Logged In: NO
I have the same problem with blt2.4u - see make results below:
[robert@localhost blt2.4u]$ make
(cd src; make all)
make[1]: Entering directory `/home/robert/blt2.4u/src'
gcc -c -Wall -O6 -I. -I. bltGrAxis.c
In file included from bltInt.h:38,
from bltGraph.h:28,
from bltGrAxis.c:28:
/usr/include/tk.h:83:29: X11/Xlib.h: No such file or directory
In file included from bltPs.h:28,
from bltGraph.h:31,
from bltGrAxis.c:28:
bltImage.h:25:23: X11/Xutil.h: No such file or directory
bltImage.h:27:24: X11/Xproto.h: No such file or directory
bltGrAxis.c:30:23: X11/Xutil.h: No such file or directory
bltGrAxis.c:31:23: X11/Xatom.h: No such file or directory
make[1]: *** [bltGrAxis.o] Error 1
make[1]: Leaving directory `/home/robert/blt2.4u/src'
make: *** [all] Error 2
[robert@localhost blt2.4u]$
I have found most of the X*.h files in
/usr/X11R6/include/X11 with the exception of Xproto.h (there
is a file Xfuncproto.h in this directory).
Any clues as to how to get this installation to work would
be most appreciated
Robert
r.d.saunders@open.ac.uk
Logged In: YES
user_id=137748
The X11 files should be in /usr/X11R6/include. This
should be standard on all Redhat systems. If the include
files are missing (can libX11.so* be found anywhere?),
it's likely the you didn't install them. They are typically
part of an X11 developers package.
Send me (gah@siliconmetrics.com) the output of ./configure
and I'll see what I can find out. I think that configure
should complain if it can't find X.
--gah
Logged In: YES
user_id=60964
What I did, with blt2.4u, on cygwin, was tell the configure
script where the X11 includes are, because blt apparently
won't find them in /usr/X11R6/include:
../configure --with-tcl=/lib --with-tk=/lib
--with-tcllibs=/lib --with-tklibs=/lib
--x-includes=/usr/X11R6/include
(In an unrelated note, I also had to add a symbolic link
because blt could not find my /lib/libtcl84.a, so I made
a symbol link named /lib/libtcl8.4.a)