Subject: Re: pkgsrc bootstrap kit for Solaris 10?
To: None <>
From: Malcolm Herbert <>
List: tech-pkg
Date: 08/21/2006 17:14:43
On Thu, Aug 17, 2006 at 10:17:25AM -0400, Jan Schaumann wrote:
|Raymond Meyer <> wrote:
|> If you want to use pkgsrc for building sofware on Solaris (i.e.
|> not just installing pre-built binary packages), then your quick
|> description is missing a lot of details.
|Hmm. Well, it's been working just fine for me so far. I've installed
|about 30 packages so far.

I seem to be having issues compiling perl on this machine - I have made
sure I don't have gcc anywhere on the system by removing SUNWgcc et al
and am definately using the Sun Studio 11 compiler (which is installed
as SUNWpro but is masquerading, as far as I can tell)

Made the boottrap stuff fine, but when perl is working it out the
capabilities of the system, it gets to the point where it prints out
details of whether tr can use [:upper:] and [:lower:] and then just ...

after some digging around, the wrapper for cc is being invoked to
compile try.c (which is part of the config tool, I think) however it's
just stopping - truss of the process after some time yields:

|bosko-3[...lang/perl5/work.sparc] 415v>: ps -ef | grep cc
|    mjch 27855 12575   0 16:00:10 pts/2       0:00 grep cc
|    mjch 27236 27235   0 15:58:10 pts/1       0:01 /bin/sh ./Configure -sde -Darchname=sparc-solaris -Dcc=gcc -Doptimize=-O -I/usr
|    mjch 27763 27236   0 15:58:19 pts/1       0:00 /usr/xpg4/bin/sh /usr/pkgbuild/lang/perl5/work.sparc/.wrapper/bin/gcc -o try tr
|    mjch 27805 27763   0 15:58:20 pts/1       0:00 /opt/SUNWspro/bin/cc -o try try.c -I/usr/pkgbuild/lang/perl5/work.sparc/.buildl
|bosko-3[...lang/perl5/work.sparc] 416v>: truss -p 27805
|waitid(P_ALL, 0, 0xFFBFEA80, WEXITED|WTRAPPED) (sleeping...)

... yet if I try running the cc line above to compile try.c with the
same arguments from the same directory it completes immediately (the
file itself is merely a main() skeleton ... )

Does anyone have any ideas about this?


Malcolm Herbert                                This brain intentionally                                                left blank