delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/31/18:22:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 31 Aug 2000 15:19:56 -0700
From: "Ermold, Brian D" <Brian DOT Ermold AT pnl DOT gov>
Subject: cygwin and gtk+
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Message-id: <9E9DBE33F0E9D211AC5F0008C7A4E1F49A64A3@PNLMSE10.pnl.gov>
MIME-version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019