Subject: Re: broken libtool on Solaris??
To: None <segv@netctl.net>
From: None <segv@netctl.net>
List: tech-pkg
Date: 10/03/2005 00:25:41
On Sun, 2 Oct 2005 15:38:25 +0100
segv@netctl.net wrote:

> On Sun, 2 Oct 2005 16:13:10 +0200
> Klaus Heinz <k.heinz.okt.fuenf@onlinehome.de> wrote:
> 
> > segv@netctl.net wrote:
> > 
> > > Well just to clarify, this error only occurs if I use SunStudio C/C++
> > > compilers. When using GCC built from pkgsrc, everything works properly.
> > > 
> > > I'd still be interested to know how to fix this. Sun compilers produce
> > > faster code on sparc.
> > 
> > Did you install libtool-base while PKGSRC_COMPILER was set to sunpro?
> > As far as I know libtool needs to be built with the compiler that is
> > used later on.
> > 
> > ciao
> >      Klaus
> 
> Yes PKGSRC_COMPILER=sunpro was set in $LOCALBASE/etc/mk.conf from the start

OK, the problem seems to have gone away. Maybe it was occuring because I
had /usr/sfw/bin in my PATH, but it was right at the end and /opt/SUNWspro/bin
was preceding it. I removed all the packages and built them from scratch and
everything went OK this time...