Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <39AEE34B.FE25FB47@ece.gatech.edu> Date: Thu, 31 Aug 2000 18:59:23 -0400 From: "Charles S. Wilson" X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 CC: "'cygwin AT sourceware DOT cygnus DOT com'" Subject: Re: cygwin and gtk+ References: <9E9DBE33F0E9D211AC5F0008C7A4E1F49A64A3 AT PNLMSE10 DOT pnl DOT gov> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit You need to include /usr/X11R6/bin in your path, and use '--x-libraries=/usr/X11R6/lib' as well as '--x-include=/usr/X11R6/includes' when configuring. (I'm assuming you've installed the X11R6 distro from http://sources.redhat.com/cygwin/xfree/ into /usr/X11R6. If not, please see the cygwin-xfree webpage and mailing list, available from the URL above. --Chuck "Ermold, Brian D" wrote: > > 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 > 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 AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com