On Thu, Aug 06, 2009 at 04:57:10PM -0700, Danek Duvall wrote:
> On Thu, Aug 06, 2009 at 11:16:22PM +0200, Chris Pickett wrote:
>
> > On 8/6/09, Danek Duvall <danek.duvall at sun.com> wrote:
> > > Running "ksh --version" reports "sh (AT&T Research) 93t 2008-11-04". It's
> > > build 118 of OpenSolaris.
> >
> > There's your problem: You're using an old ksh version. Could you
> > please install ksh93 from
> > http://www.opensolaris.org/os/project/ksh93-integration/downloads/2009-07-02/
> > and try again?
>
> That seems to have fixed the net-snmp issue, but now I'm hanging in the
> procmail build, and rtorrent failed to link. I'll give it another go, see
> if those are consistent.
Same behavior. The rtorrent build fails because it doesn't find the right
curses library. Seems like the test it makes against ncurses succeeds
(compiles and links with return code 0), but continues on to try normal
curses, anyway, which also succeeds, but doesn't have other symbols that
turn out to be needed later on.
This, at least, seems to be reproducible standalone on my machine, as well
as on a fast sparc box. Using bash to run configure makes it work as
expected, as does running on a slow x86 box.
If you want to reproduce this, get the rtorrent-0.8.2.tar.gz from
libtorrent.rakshasa.no (md5sum = a2456182e1767e5aed7341dbbd058f60) and run
env - PATH=/usr/bin:/usr/gnu/bin CXXFLAGS="-I/usr/include/ncurses" \
LDFLAGS="-L/usr/gnu/lib -R/usr/gnu/lib" ksh93 configure
cc -> gcc should be in /usr/gnu/bin (put /usr/sfw/bin in PATH if not on
OpenSolaris), and ncurses should be installed). Look for the line near the
end that should say
checking for library containing wbkgdset... -lncurses
but says -lcurses instead.
Danek