Re: [gtk-list] GTK configure does not find X?
- From: Norbert Bladt <abladtn autelca ascom ch>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] GTK configure does not find X?
- Date: Wed, 10 Nov 1999 14:38:59 +0100
"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...
Really !
> I hope the attached excerpt from config.log helps to troubleshoot this
> issue, Maybe the check whether X exists is somehow faulty?
Looks like :-(
See below.
> 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
No surprise, -I/usr/X11R6/include (or something like) that is missing.
> 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; }
There is no -I/usr/X11R6/include for the CFLAGS - perhaps it helps if
you
do a CPPFLAGS=-I/usr/X11R6/include before starting configure.
And, there is no -L/usr/X11R6/lib in the command, too.
Again, it might help to set LDFLAGS=-L/usr/X11R6/lib before trying
to 'configure'.
Just a guess.
HTH,
Norbert.
--
Norbert Bladt Payphone Management System Software Development
ascom Autelca AG
Worbstrasse 201 CH-3073 Guemligen, Switzerland
abladtn@autelca.ascom.ch VOICE: +41 31 999 6552, FAX: +41 31 999 6575
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]