Re: [Haskell-cafe] Where can I get GHC for Solaris?

Hi Aycan,
This is the version of make I am using:
joky@sun05:~ $ make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for sparc-sun-solaris2.9
joky@sun05:~ $ uname -a
SunOS sun05 5.9 Generic_118558-30 sun4u sparc SUNW,Sun-Fire-280R
Thanks,
-John
On Wed, Jul 8, 2009 at 4:48 PM, Aycan iRiCAN
Hi,
I had a go with the binary dist, and got this error message on the make install:
/home/a-m/joky/.tools/ghc-6.8.2/lib/ghc-6.8.2"' -DPKG_DATADIR='"/export/home/a-m/joky/.tools/ghc-6.8.2/share/ghc-6.8.2"'
Çar, 2009-07-08 tarihinde 09:55 +1000 saatinde, John Ky yazdı: package.conf.in \
| grep -v '^#pragma GCC' \ | sed -e 's/""//g' -e 's/:[ ]*,/: /g' \
| /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 Killed make[1]: *** [install] Error 137 make[1]: Leaving directory `/export/home/a-m/joky/ghc-6.8.2/rts' make: *** [install] Error 2
Are you using gmake?
-- aycan

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
participants (2)
-
Brandon S. Allbery KF8NH
-
John Ky