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 To: cygwin AT cygwin DOT com From: Franz Haeuslschmid Subject: Re: Attention libtool maintainer: Re: `make install' of glib fails Followup-To: gmane.os.cygwin Date: Thu, 26 May 2005 15:43:53 +0200 Lines: 68 Message-ID: References: <008901c55f43$a5bb24c0$01ac850d AT jicman> <4291F40C DOT 8090804 AT familiehaase DOT de> <42957974 DOT 2080109 AT familiehaase DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.10 (usg-unix-v) Cc: cygwin-xfree AT cygwin DOT com X-IsSubscribed: yes Franz Haeuslschmid writes: > "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? [...] >> 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 [... Download of latest libtool ...] > When I remove the libtool package using cygwin's `setup.exe', I > can't use autoreconf: > > haeuslsc AT pan ~/Src/glib-2.6.4 > $ autoreconf --install --force --verbose [... Warning messages of autoreconf ...] > configure.in:456: error: possibly undefined macro: AM_DISABLE_STATIC > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > 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 now know that these messages indicate that macros cannot be found by `aclocal'. The command `aclocal --print-ac-dir' shows for me /usr/autotool/devel/share/aclocal including one file, `dirlist' which in turn originally only contained the reference to one directory containing macros, I presume the default directory: /usr/share/aclocal I then extended the file for one line, in order to include the macros of the version of libtool, that I had locally compiled. With new prerequisites, glib compiled without any problem. To summarize: to make and install `glib', my system needed the latest stable version of `libtool'. The version that comes precompiled with cygwin must be uninstalled. (Maybe it suffices if `aclocal' finds the correct macro definitions -- is it a question of order of the directories listed in `dirlist'?) Additionally, `aclocal' had to be informed of the new macro definitions. Franz. -- 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/