Hi,
I'm new to GHC (and Haskell).
I have tried to install the newest available binary distribution of GHC for AIX which is GHC version 6.8.2.
Unfortunately, it didn't work properly. Following the trivial installation steps as described
in INSTALL file I executed the following commands:
1) ./configure --prefix=/home/nik/local
2) gmake install
But I got the following error message:
------------------------------
--------------------------------------------------------------------------------------------------------
....
Reading package info from stdin ... done.
warning: can't find GHCi lib HSrts.o
Saving old package config file... done.
Writing new package config file... done.
/tmp/ghc-6.8.2/utils/mkdirhier/mkdirhier /home/nik/local/ghc-6.8.2/lib/ghc-6.8.2
for i in libHSrts*.a ; do \
case $i in \
*.a) \
/tmp/ghc-6.8.2/install-sh -c -m 644 $i /home/nik/local/ghc-6.8.2/lib/ghc-6.8.2; \
: /home/nik/local/ghc-6.8.2/lib/ghc-6.8.2/`basename $i` ;; \
*.dll) \
/tmp/ghc-6.8.2/install-sh -c -m 644 -s $i /home/nik/local/ghc-6.8.2/lib/ghc-6.8.2 ;; \
*.so) \
/tmp/ghc-6.8.2/install-sh -c -m 755 $i /home/nik/local/ghc-6.8.2/lib/ghc-6.8.2 ;; \
*.dylib) \
/tmp/ghc-6.8.2/install-sh -c -m 755 $i /home/nik/local/ghc-6.8.2/lib/ghc-6.8.2; \
install_name_tool -id /home/nik/local/ghc-6.8.2/lib/ghc-6.8.2/`basename $i` /home/nik/local/ghc-6.8.2/lib/ghc-6.8.2/`basename $i` ;; \
*) \
/tmp/ghc-6.8.2/install-sh -c -m 644 $i /home/nik/local/ghc-6.8.2/lib/ghc-6.8.2; \
esac; \
done
gmake[1]: Leaving directory `/tmp/ghc-6.8.2/rts'
gmake -C libraries install DOING_BIN_DIST=YES
gmake[1]: Entering directory `/tmp/ghc-6.8.2/libraries'
if ifBuildable/ifBuildable base; then \
cd base && \
../installPackage/installPackage '/tmp/ghc-6.8.2/utils/ghc-pkg/ghc-pkg.bin' '/home/nik/local/ghc-6.8.2/lib/ghc-6.8.2/package.conf' '/home/nik/local/ghc-6.8.2' '/home/nik/local/ghc-6.8.2' '/home/nik/local/ghc-6.8.2/bin' '/home/nik/local/ghc-6.8.2/lib/ghc-6.8.2/lib' '/home/nik/local/ghc-6.8.2/lib/ghc-6.8.2/lib' '/home/nik/local/ghc-6.8.2/share/ghc-6.8.2' '/home/nik/local/ghc-6.8.2/share/doc/ghc/libraries/$pkg' '/home/nik/local/ghc-6.8.2/share/doc/ghc/libraries/$pkg' '/home/nik/local/ghc-6.8.2/share/doc/ghc/libraries/$pkg' ; \
fi
Installing: /home/nik/local/ghc-6.8.2/lib/ghc-6.8.2/lib/base-3.0.1.0
gmake[1]: *** [install.library.base] Error 127
gmake[1]: Leaving directory `/tmp/ghc-6.8.2/libraries'
gmake: *** [install] Error 2
--------------------------------------------------------------------------------------------------------------------------------------
Am I missing something?
Any help is very much appreciated!
Regards
Nik
PS: I have originally posted to Haskell-cafe mailing list that was obviousely not
the right place for my question!!