Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <429609C2.6010408@familiehaase.de> Date: Thu, 26 May 2005 19:39:14 +0200 From: "Gerrit P. Haase" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 MIME-Version: 1.0 To: Franz Haeuslschmid CC: cygwin AT cygwin DOT com, cygwin-xfree AT cygwin DOT com Subject: Re: Attention libtool maintainer: Re: `make install' of glib fails References: <008901c55f43$a5bb24c0$01ac850d AT jicman> <4291F40C DOT 8090804 AT familiehaase DOT de> <42957974 DOT 2080109 AT familiehaase DOT de> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Franz Haeuslschmid wrote: > "Gerrit P. Haase" writes: > > >>Franz Haeuslschmid wrote: >> >> >>>After having managed to actually make the latest version of glib, >>>`make install' fails and spits out an error message that I don't >>>understand (excuse the mass of lines): > > > [... Output of make showing messages of undefined references ...] > > >>>Once again: any ideas? >> >> >>-> -L/usr/lib -L/usr/local/lib -lglib-2.0 > > > I suppose you meant that I should place this into environment > variable `LDFLAGS'. Did that, ran `./configure' once again and > continued with `make'. Now it is `make' that fails again (in > directory gobject): No, the other way around. If you have an older version of glib2 installed, and libtool links in the relink step against the older version, then there may well be undefined symbols, it should link against the fresh created glib2 library, this was a libtool bug which IMO was fixed in the Cygwin release of libtool-devel-1.5.10, but I may be wrong and it is only included in the experimental 1.9 release. [...same error..] > This is the chain of commands that were executed: > > $ tar xvjf glib-2.6.4.tar.bz2 > $ cd glib-2.6.4 > $ export LDFLAGS="-L/usr/lib -L/usr/local/lib -lglib-2.0" This must fail for sure as long as there is an older glib2 installed, since it failed to install the complete glib2-2.6.4 package. > $ autoreconf --install --force --verbose > $ ./configure > $ make Try to remove the current glib2 package before building 2.6.4 (and reinstall libtool-devel and friends). Then libtool has no chance to pick up the system glib2. >>You're linking against the old glib2 library, another libtool bug. >>I thought that this was fixed in the latest release? Again, which >>version of libtool are you using now? Is it the one from the Cygwin >>mirrors or do you have compiled your own version? Charles, wasn't >>that included in the 1.5 release branch? >> >>BTW, 1.5.18 is out: http://www.gnu.org/software/libtool/libtool.html > > > I downloaded and built that version. `libtool --version' now > gives > > haeuslsc AT pan ~/Src/glib-2.6.4 > $ libtool --version > ltmain.sh (GNU libtool) 1.5.18 (1.1220.2.245 2005/05/16 08:55:27) It was meant as a ping to the libtool maintainer. Since there are always some Cygwin specific fixes in the libtool builds and we use a wrapper to call libtool-devel or libtool-stable according to the requested version in configure it is somewhat difficult to get this right for a standard Cygwin setup. > However, `autoreconf' still picks up the version that is > configured by the cygwin installer: > > haeuslsc AT pan ~/Src/glib-2.6.4 > $ ./libtool --version > ltmain.sh (GNU libtool) 1.5.10 (1.1220.2.131 2004/09/19 12:46:56) With ./ at the beginning of the line it will use the libtool generated during a previous configure run. > When I remove the libtool package using cygwin's `setup.exe', I > can't use autoreconf: [...] > configure.in:457: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL > configure.in:458: error: possibly undefined macro: AM_PROG_LIBTOOL > autoreconf: /usr/autotool/devel/bin/autoconf failed with exit status: 1 > > > I'm still perplexed. Then the newer libtool wasn't installed correct. Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/