Subject: Re: Trying pkgsrc on Solaris 8/sparc
To: Dima Veselov <kab00m@lich.phys.spbu.ru>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 10/02/2003 20:32:47
On Thu, Oct 02, 2003 at 02:06:58PM +0400, Dima Veselov wrote:

> Even more: when package configuring, it finds /usr/ccs/bin/ld and says it is GNU ld and
> give me some warning about it.

ick.

> > I have not seen this problem at all building perl on Solaris. do you
> > have GNU binutils installed on the system anywhere? perhaps the perl
> > configure is picking it up by mistake.
> 
> I never did it and also I think nobody could do it. 
> My find / -name ld says
> 
> [root@ kab00m]$ find / -name ld
> /var/ld
> /usr/lib/ld
> /usr/ccs/bin/ld
> /usr/ccs/bin/sparcv9/ld
> /usr/ucb/ld
> /usr/pkgsrc/devel/zlib/work/.buildlink/bin/ld
> /usr/pkgsrc/lang/gcc/work/.buildlink/bin/ld
> /usr/pkgsrc/lang/perl5/work/.buildlink/bin/ld
> /usr/pkgsrc/lang/perl58/work/.buildlink/bin/ld
> /usr/pkgsrc/sysutils/apcupsd/work/.buildlink/bin/ld
> 
> As I assume it is usual for Solaris systems, and no of this ld's have -E switch.

right, that all looks normal.

> Can you tell me how I can determine why exactly perl configure script thinks it is GNU?

I suspect you'll have to trudge through the code to figure out what's
going on - I don't have any great ideas off the top of my head. maybe
someone who knows the perl configure stuff can lend a clue?

grant.