[Python-Dev] Anders Qvist: Re: [snake-farm] Autodetect /usr/ccs/bin?
Guido van Rossum
guido@python.org
Sun, 06 Oct 2002 16:30:21 -0400
I've no time to research this further right now, so I'm forwarding
Anders' mail here. It seems that Martin disagrees with Pike's
solution though.
--Guido van Rossum (home page: http://www.python.org/~guido/)
------- Forwarded Message
Date: Sun, 06 Oct 2002 22:03:57 +0200
From: Anders Qvist <quest@lysator.liu.se>
To: Guido van Rossum <guido@python.org>
Subject: Re: [snake-farm] Autodetect /usr/ccs/bin?
On Sun, Oct 06, 2002 at 09:29:24AM -0400, Guido van Rossum wrote:
> [Anders Qvist]
> > Several machines in the snake farm fail to build libpython2.3 because
> > they don't have ar in their path. ar, ld and the like live in
> > /usr/ccs/bin, which seems to be some kind of standard (for generous
> > values of standard) as both SunOS 5.8, AIX 4.3 and HP/UX 11.00 seems
> > ot have this dir.
> >
> > Should the configure script try with /usr/ccs/bin/ar and ld if none is
> > explicitly supplied?
>
> This may be a good idea, but I don't know zit about this area. I'm
> cc'ing python-dev, maybeo someone there understands this.
Apparently, the pike people do this. They seem to think it's the right
thing to do. From their configure.in:
case "$pike_cv_sys_os" in
...
Solaris) LDSHARED="/usr/ccs/bin/ld -G";;
...
They also add it to their PATH during various circumstances. Have a
look at:
http://community.roxen.com/_internal/cvsview!0/8223/1.633/0/configure.in
- --
Anders "Quest" Qvist
"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare. Now, thanks
to the Internet, we know this is not true." -- Robert Wilensky
------- End of Forwarded Message