Subject: Re: libtool and current
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Nick Hudson <skrll@netbsd.org>
List: tech-pkg
Date: 08/14/2001 10:25:34
Martti Kuparinen wrote:
> 
> Hi!
> 
> I can't build libtool on my UltraSparc running 1.5X. I saw
> that people have had similar problems in -current but I didn't find
> any solution. Any ideas?
> 
> Martti
> 
> ---
> Martti Kuparinen <martti.kuparinen@iki.fi>
> http://www.iki.fi/~kuparine/
> 
> ROOT axil:~> uname -a
> NetBSD axil 1.5X NetBSD 1.5X (AXIL) #0: Mon Aug 13 13:18:48 CEST 2001     root@axil:/usr/src/sys/arch/sparc64/compile/AXIL sparc64
> 
> ROOT axil:/usr/pkgsrc/devel/libtool-base> make
> => Checksum OK for libtool-ml-20010614.tar.gz.
> ===> Extracting for libtool-base-1.4.20010614nb2
> ===> Patching for libtool-base-1.4.20010614nb2
> ===> Applying NetBSD patches for libtool-base-1.4.20010614nb2
> ===> Configuring for libtool-base-1.4.20010614nb2
> creating cache ./config.cache
> checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... missing
> checking for working autoconf... missing
> checking for working automake... missing
> checking for working autoheader... missing
> checking for working makeinfo... found
> 
> ----------------------------------------------------------
> Configuring libtool 1.4a (1.641.2.255 2001/05/22 10:39:30)
> ----------------------------------------------------------
> 
> checking for gcc... cc
> checking whether the C compiler (cc -O ) works... yes
> checking whether the C compiler (cc -O ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether cc accepts -g... yes
> checking host system type... config.sub: invalid option --netbsd
> Try `config.sub --help' for more information.
> checking build system type... config.sub: invalid option --netbsd
> Try `config.sub --help' for more information.

Can you change line 144 in libtool's config.guess from

	i386:*|m68k:*|ns32k:*|sparc:*|vax:*)

to
	i386:*|m68k:*|ns32k:*|sparc:*|sparc64:*|vax:*)

and let me know if that helps.

Thanks,
Nick