This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
cygwin and gtk+
- To: "'cygwin at sourceware dot cygnus dot com'" <cygwin at sourceware dot cygnus dot com>
- Subject: cygwin and gtk+
- From: "Ermold, Brian D" <Brian dot Ermold at pnl dot gov>
- Date: Thu, 31 Aug 2000 15:19:56 -0700
Hello,
I've been trying to get gtk+ to compile in the cygwin environment and the
darn ./configure script keeps failing because it can't find -lXt. Does
cygwin not support this or am I doing something wrong?
The error on the command line says:
checking for X... no
configure: error:
*** X libraries or include files not found. Check 'config.log' for
*** more details.
The last few lines in the config.log shows many different things depending
on the switches I have set but the closest I have gotten shows:
configure:4537: checking for X
configure:4604: gcc -E conftest.c >/dev/null 2>conftest.out
configure:4600: X11/Intrinsic.h: No such file or directory
configure: failed program was:
#line 4599 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:4680: gcc -o conftest -g -O2 -Wall conftest.c -lXt 1>&5
configure: In function `main':
configure:4676: warning: implicit declaration of function `XtMalloc'
/CYGWIN~1/H-I586~1/BIN/../lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-
cygwin32/bin/ld: cannot open -lXt: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 4673 "configure"
#include "confdefs.h"
int main() {
XtMalloc()
; return 0; }
I was using the --x-includes to point to the X11 include directory in this
example which seems to help but doesn't get me past this last problem. Any words
of wisdom or is this just not possible to do without some major work?
Thanks,
Brian
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com