On Jul 8, 2009, at 03:32 , John Ky wrote:
> | /export/home/a-m/joky/ghc-6.8.2/utils/ghc-pkg/ghc-pkg.bin
> --global-conf /export/home/a-m/joky/.tools/ghc-6.8.2/lib/ghc-6.8.2/package.conf update - --force
> ld.so.1: ghc-pkg.bin: fatal: libm.so.2: version `SUNW_1.2' not found
> (required by
> file /export/home/a-m/joky/ghc-6.8.2/utils/ghc-pkg/ghc-pkg.bin)
> ld.so.1: ghc-pkg.bin: fatal: libm.so.2: open failed: No such file or
> directory

gmake isn't the problem here.  The problem was that the binary was built on a system with the C99 patches installed (ghc pretty much requires them) but there aren't that many Solaris 9 systems with the C99 patches and the patches themselves seem to be impossible to find.

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH