[If this isn't a "bug" by definition of the *-bugs list, where should I ask?]

I'm trying to install the 2.02 binary release of the Glasgow Haskell Compiler
for Solaris 2.x (from
ftp://www.dcs.gla.ac.uk/pub/haskell/glasgow/ghc-2.02-sparc-sun-solaris2.tar.gz).
The compiler proper (hsc) fails to execute, with ld.so (the runtime linker)
complaining that it can't find the symbol "getrusage" in the attached dynamic
libraries. This also happens to the binary distribution for version 0.29.
I am using a fairly standard Solaris version 2.4.

"Getrusage" is indeed not in Solaris's libc; it's a part of the BSD compatibility
world (/usr/ucblib/libucb), which hsc claims it doesn't need (that is,
libucb is NOT in its dynamic library dependency list, as shown by "ldd").
Without relinking the hsc program, I can't add it.

I assume your Solaris 2 distribution is not just broken, so what obvious(?)
change to my environment am I required to make to get hsc to run? I'm planning
to build my own 2.04 compiler from sources, but right now I need a running
compiler to bootstrap from.

By the way, I'd be perfectly happy to build my own version from the .hc files,
but the installation manual (part 8) cheerfully refers me to you for an update
on how to do that. (As in, "this part hasn't been done yet, and won't ever be
done unless somebody asks for it." Consider yourselves asked.)

Cheers, and any help is appreciated.
  -- perry
---------------------------------------------------------------------------
Perry The Cynic                                             [EMAIL PROTECTED]
To a blind optimist, an optimistic realist must seem like an Accursed Cynic.
---------------------------------------------------------------------------

Reply via email to