Subject: 64bit perl (5.8.2)? On solaris?
To: None <tech-pkg@NetBSD.org>
From: Chuck Yerkes <chuck+nbsd@2004.snew.com>
List: tech-pkg
Date: 02/06/2004 19:54:06
No problems without pkgsrc,but trying it through pkgsrc, I'm
pulling hair out (lotta hair, so I have time)....

How does one properly make a 64bit perl for solaris via pkgsrc?
(I need it as 255 file descriptors/sockets is not enough).

Put this in mk.conf:

LDFLAGS=-m64
CFLAGS=-mcpu=v9 -m64


This is usually enough when compiling a package.  Added 
CONFIGURE_ARGS+=        -Duse64bitall
CONFIGURE_ARGS+=        -Dldflags="-m64"

to the Makefile...

The objects are 64bit, the links aren't (thus they conflict :)


Anyone done this or should I keep slogging through by hand?