Re: ghc for hp-ux 11.11...

Okay, I've tried to follow the directions, and ran into a couple minor issues I was able to work through, but I got stuck at the "cd H/libraries && make boot && make" stage. The host system is redhat enterprise linux 3, the target is hp-ux 11.11, the output is below: /var/tmp/work/ghc-6.2.2/libraries 1030 $ make boot && make ------------------------------------------------------------------------ ===fptools== Recursively making `boot' in base haskell98 haskell-src network parsec QuickCheck readline unix ... PWD = /var/tmp/work/ghc-6.2.2/libraries ------------------------------------------------------------------------ ------------------------------------------------------------------------ ==fptools== make boot -r; in /var/tmp/work/ghc-6.2.2/libraries/base ------------------------------------------------------------------------ ../../ghc/utils/hsc2hs/hsc2hs-inplace -Iinclude -I../../ghc/includes -I. System/CPUTime.hsc In file included from /var/tmp/work/ghc-6.2.2/ghc/includes/HsFFI.h:21, from /var/tmp/work/ghc-6.2.2/ghc/utils/hsc2hs/template-hsc.h:4, from System/CPUTime_hsc_make.c:1: /var/tmp/work/ghc-6.2.2/ghc/includes/config.h:12:14: warning: ISO C requires whitespace after the macro name /var/tmp/work/ghc-6.2.2/ghc/includes/config.h:13:14: warning: ISO C requires whitespace after the macro name /var/tmp/work/ghc-6.2.2/ghc/includes/config.h:13:1: warning: "hppa2" redefined /var/tmp/work/ghc-6.2.2/ghc/includes/config.h:12:1: warning: this is the location of the previous definition /var/tmp/work/ghc-6.2.2/ghc/includes/config.h:14:14: warning: ISO C requires whitespace after the macro name /var/tmp/work/ghc-6.2.2/ghc/includes/config.h:14:1: warning: "hppa2" redefined /var/tmp/work/ghc-6.2.2/ghc/includes/config.h:13:1: warning: this is the location of the previous definition In file included from CPUTime.hsc:33: include/HsBase.h:64:26: sys/timers.h: No such file or directory include/HsBase.h:98:1: warning: "HAVE_GETRUSAGE" redefined In file included from /var/tmp/work/ghc-6.2.2/ghc/includes/HsFFI.h:21, from /var/tmp/work/ghc-6.2.2/ghc/utils/hsc2hs/template-hsc.h:4, from System/CPUTime_hsc_make.c:1: /var/tmp/work/ghc-6.2.2/ghc/includes/config.h:494:1: warning: this is the location of the previous definition make[1]: *** [System/CPUTime.hs] Error 1 make: *** [boot] Error 1 On Mon Dec 20 17:38 , dons@cse.unsw.edu.au (Donald Bruce Stewart) sent:
amyhr:
Is it possible? Is there anyone out there who's done it and could provide advice or binaries?
It should be possible. You'll have to follow the instructions from the porting guide: http://www.haskell.org/ghc/docs/latest/html/building/sec-porting-ghc.html
When you run in to problems, ask on #haskell or this list.
Good luck, Don

amyhr@spymac.com wrote:
Okay, I've tried to follow the directions, and ran into a couple minor issues I was able to work through, but I got stuck at the "cd H/libraries && make boot && make" stage. The host system is redhat enterprise linux 3, the target is hp-ux 11.11, the output is below: [...]
It looks like you try to get GHC 6.2.2 up and running. Could you try the GHC from CVS HEAD instead, please? The configuration stuff has changed quite a bit, and I'm reluctant to work on the old STABLE branch. Could you send a log of the configuration/building plus all config.log and config.status files, please? In ancient times, I made GHC run on HP-UX 9, but I guess that things suffer from bit rot... Cheers, S.
participants (2)
-
amyhr@spymac.com
-
Sven Panne