Re: [gtk-list] GTK configure does not find X?
- From: "M. David Krauss" <Fader frodo com>
- To: gtk-list redhat com, "HEITMEIER, MICHAEL \(HP-Germany,ex1\)" <michael_heitmeier bbn exch hp com>, "'gtk-list redhat com'" <gtk-list redhat com>
- Subject: Re: [gtk-list] GTK configure does not find X?
- Date: Wed, 10 Nov 1999 08:54:21 -0500
No, the check is fine, and it doesn't matter wether you run from within X or
even if X is running. In fact, you don't even have to have X at all to
configure and compile. What you do need is to have the various X libraries and
include files.
Try this:
ls /usr/X11R6/lib/libXt.*
(Replacing /usr/X11R6 with whatever the base of your X installation is)
If you see some files ending in .a or .so.6.0 (or other numbers) then you have
the library that it's choking on, and your problem is that it isn't being seen
by your development tools. In that case, you should...
a.) make a symlink from /usr/X11R6/include to /usr/include/X11 (or whatever
the appropriate directories are for FreeBSD) and...
b.) Edit /etc/ld.so.conf and add a "/usr/X11R6/lib" on a line by itself, then
run /sbin/ldconfig as root
(this is assuming FreeBSD uses /etc/ld.so.conf, which it may well not, I don't
know)
More likely, though, the libraries aren't there. Since they really should be
(as you can't compile any X11 packages without them) you should get them from
wherever you got XFree.
On Wed, 10 Nov 1999, HEITMEIER, MICHAEL \(HP-Germany,ex1\) wrote:
+ Trying to install GTK 1.2.6 on FreeBSD 3.2 and Xfree 3.3.5 the configure
+ script fails, claiming it cannot find X. Strange that, given I run this from
+ within X...
+ I hope the attached excerpt from config.log helps to troubleshoot this
+ issue, Maybe the check whether X exists is somehow faulty?
+
+ Thanks for your help,
+
+ Michael
+ michael_heitmeier@hp.com <mailto:michael_heitmeier@hp.com>
+
+
+ The last entries from config.log:
+ configure:4525: checking for X
+ configure:4592: gcc -E conftest.c >/dev/null 2>conftest.out
+ configure:4588: X11/Intrinsic.h: No such file or directory
+ configure: failed program was:
+ #line 4587 "configure"
+ #include "confdefs.h"
+ #include <X11/Intrinsic.h>
+ configure:4668: gcc -o conftest -g -O2 -Wall conftest.c -lXt 1>&5
+ configure: In function `main':
+ configure:4664: warning: implicit declaration of function `XtMalloc'
+ /usr/libexec/elf/ld: cannot open -lXt: No such file or directory
+ configure: failed program was:
+ #line 4661 "configure"
+ #include "confdefs.h"
+
+ int main() {
+ XtMalloc()
+ ; return 0; }
+
+ --
+ To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]