ghc for hp-ux 11.11...

amyhr at spymac.com amyhr at spymac.com
Tue Dec 21 12:24:09 EST 2004


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 at 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




More information about the Glasgow-haskell-users mailing list