delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/27/16:31:12

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000627202946.31976.qmail@hotmail.com>
X-Originating-IP: [195.249.161.58]
From: "Jonas Jensen" <bones0_list AT hotmail DOT com>
To: "Todd Goodman" <tsg AT bonedaddy DOT net>
Cc: "Cygwin list" <cygwin AT sourceware DOT cygnus DOT com>
References: <20000627152845 DOT 24963 DOT qmail AT hotmail DOT com> <20000627114505 DOT G9184 AT skarn DOT sonusnet DOT com>
Subject: Re: Using glib(c) and gtk+ in Cygwin
Date: Tue, 27 Jun 2000 19:41:22 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

Thanks for helping, but it still doesn't work properly...

> You need to tell it not to use threading (or get the pthread lib from
> http://sourceware.cygnus.com).  I think the configure command to disable
> threading is --enable-thread=no (try ./configure --help).
I tried disabling it, and now glib compiles... but it doesn't seem to work right,
because I can't compile gtk+. When I run ./configure on gtk+, it says:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
checking for GLIB - version >= 1.2.8... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB was incorrectly installed
*** or that you have moved GLIB since it was installed. In the latter case, you
*** may want to edit the glib-config script: /usr/local/bin/glib-config
configure: error:
*** GLIB 1.2.8 or better is required. The latest version of GLIB
*** is always available from ftp://ftp.gtk.org/.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

I went looking for the "pthread" lib, but I only found a Win32 version. Is that
the one I'm supposed to use? It comes with a .lib file and a few .h files... what
do I do with those? Or do I need another version of that lib?



----- Original Message -----
From: "Todd Goodman" <tsg AT bonedaddy DOT net>
To: "Jonas Jensen" <bones0_list AT hotmail DOT com>
Cc: "Cygwin list" <cygwin AT sourceware DOT cygnus DOT com>
Sent: Tuesday, June 27, 2000 5:45 PM
Subject: Re: Using glib(c) and gtk+ in Cygwin


> * Jonas Jensen <bones0_list AT hotmail DOT com> [000627 11:31]:
> > Often, when I compile some 3rd party programs (as an example, nmap) on Cygwin
> > (1.1.2), they fail because they require "glib", "glibc" and "gtk+". I'm pretty
new
> > to GNU/Cygwin stuff, but I'm guessing these are libraries?
> >
> > I have downloaded them all, but I can't install them because the configure
scripts
> > fail.
> >
> > *glib (1.2.8) configures ok but gives me all sorts of compile errors. I
managed to
> > fix the first one (something in g_strsignal), but I have no idea how to
replace
> > the pthread_cond_t it calls all the time.
>
> You need to tell it not to use threading (or get the pthread lib from
> http://sourceware.cygnus.com).  I think the configure command to disable
> threading is --enable-thread=no (try ./configure --help).
>
> > *glibc (2.1.3) won't run configure, because it claims that it hasn't been
ported
> > to "i686-pc-cygwin".
>
> You most likely don't want to be doing anything with this.
>
> > *gtk+ (1.2.8) can't run without glib.
>
> This builds fine once glib is built.
>
> Regards,
>
> Todd Goodman
>
> >
> > I'm assuming that these files are pretty commonly used, so it should be
possible
> > to get them working on the Cygwin system, right?
> > Am I using the right compile methods? I type:
> >
> > ./configure
> > make
> > make install
> >
> > And it fails at the configure or make. What am I doing wrong?
> >
> > I didn't include the excact error messages here, because I assume that many
people
> > will have these libraries compiled and working... they seem to be pretty much
the
> > foundation of all the GNU software, so why don't they work out of the box? Do
I
> > need to modify them for Cygwin, or should I download something other than the
> > official releases?
> >
> > Thanks,
> > Jonas Jensen
> >
> > --
> > 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
>
>

--
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