Subject: Re: issues with building on solaris 9/sparc
To: nate <pkgsrc@aphroland.org>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 05/30/2005 15:42:56
On Sun, May 29, 2005 at 03:48:21PM -0700, nate wrote:

> I think this may be related to libtool somehow as the
> failures are the same accross the board, and only
> seem to impact stuff that uses libtool.
> 
> system is Solaris 9, with all of the packages
> that the docs say are required installed.
> 
>    PKGINST:  SUNWsprot
>    VERSION:  5.9,REV=2001.12.12.00.00
>    PKGINST:  SUNWarc
>    VERSION:  11.9.0,REV=2002.04.06.15.27
>    PKGINST:  SUNWbtool
>    VERSION:  11.9.0,REV=2002.04.06.15.27
>    PKGINST:  SUNWtoo
>    VERSION:  11.9.0,REV=2002.04.06.15.27
>    PKGINST:  SUNWlibm
>    VERSION:  5.9,REV=2001.12.10
> 
> SunOS 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Fire-V210
> 
> bootstrap worked fine, compiled gcc 2.95.3 fine,
> but seems everything else I try to build(nmap, net-snmp)
> sofar fails. snip from log:
> 
> [..]
> libtool  --mode=link gcc -O -I/usr/pkg/include -I. -I. -rpath /usr/pkg/lib
> -version-info  '0:1:0' -o libpcre.la maketables.lo get.lo study.lo pcre.lo
> gcc -shared -Wl,-h -Wl,libpcre.so.0 -o .libs/libpcre.so.0.0.1 
> .libs/maketables.o .libs/get.o .libs/study.o .libs/pcre.o 
> -L/space/pkgsrc/devel/pcre/work/.buildlink/lib -lc
> (cd .libs && rm -f libpcre.so.0 && ln -s libpcre.so.0.0.1 libpcre.so.0)
> (cd .libs && rm -f libpcre.so && ln -s libpcre.so.0.0.1 libpcre.so)
> false cru .libs/libpcre.a  maketables.o get.o study.o pcre.o
> *** Error code 1

you are probably missing /usr/ccs/bin from your PATH.

`false' is meant to be `ar', which apparently couldn't be found.

grant.