[ expat-Bugs-462960 ] configure fails on OSX

noreply@sourceforge.net noreply@sourceforge.net
Thu Jan 10 14:42:03 2002


Bugs item #462960, was opened at 2001-09-19 12:02
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=462960&group_id=10127

Category: Build control
Group: Platform Specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Greg Stein (gstein)
Summary: configure fails on OSX 

Initial Comment:
[mda@IDRG401 expat-1.95.2]$ ./configure --
prefix=/opt
creating cache ./config.cache
checking host system type... Invalid configuration 
`unknown-apple-darwin1.3.7': machine `unknown-
apple' not recognized

checking build system type... Invalid configuration 
`unknown-apple-darwin1.3.7': machine `unknown-
apple' not recognized

checking for ranlib... ranlib
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-
compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
updating cache ./config.cache
ltconfig: you must specify a host type if you use `--
no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed
[mda@IDRG401 expat-1.95.2]$

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2002-01-10 14:40

Message:
Logged In: NO 

After copying the files from /usr/share/libtool, and also
trying to copy the files from an alternate GNU version of
libtool that I have, the exact same error results.

What now?


----------------------------------------------------------------------

Comment By: Max Horn (fingolfin)
Date: 2001-10-31 13:37

Message:
Logged In: YES 
user_id=12935

This problem is due to old version of config.guess and config.sub being used. In OS X, you can usually copy the ones from /usr/share/libtool/ over the ones supplied in the source to be compiled.

The package maintainers can easily fix this issue by updating to the latest versions of the files (and/or also to newer version of autoconf/automake)

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=462960&group_id=10127