GHC 5.02.3 binaries for OpenBSD i386

I'm pleased make available GHC 5.02.3 binaries for OpenBSD i386.
Also available is a ports tree 'port' if you want to build from source.
The binary package (15M) is available from:
ftp://ftp.cse.unsw.edu.au/pub/users/dons/ghc/ghc-5.02.3.tgz
And can be installed with (as root):
pkg_add ghc-5.02.3
It can be removed with (as root):
pkg_delete ghc-5.02.3
If you like building from source the ports tree 'port' that built the
binary package is available from:
ftp://ftp.cse.unsw.edu.au/pub/users/dons/ghc/ghc-5.02.3-port.tgz
To build the port you first need a GHC binary on the system. The 5.02.3
binary package can be used, or you could build 4.08.2 from .hc source
and use that. There is a port to do this at the above URL. You will also
need the Happy parser, which you can get from:
ftp://ftp.cse.unsw.edu.au/pub/users/dons/happy/happy-1.11.tgz
Once you have a GHC and Happy, untar the port and as root:
make && make fake
At this point the compiler is built, but you must remove the old GHC
before you can install the new one. So:
pkg_delete ghc-4.08.2 # or whatever version of GHC you used
make install
This takes around 170 minutes on my P3 700.
Once again, any bug reports or suggestions would be welcome. You can
reach me at

I'm pleased make available GHC 5.02.3 binaries for OpenBSD i386. Also available is a ports tree 'port' if you want to build from source.
The binary package (15M) is available from:
ftp://ftp.cse.unsw.edu.au/pub/users/dons/ghc/ghc-5.02.3.tgz
And can be installed with (as root):
pkg_add ghc-5.02.3
It can be removed with (as root):
pkg_delete ghc-5.02.3
In response to public demand (hi Feliks :) there is now available a script for installing the 5.02.3 binary package somewhere other than /usr/local/. Use this if you aren't root on your system. The script doesn't use the pkg_{add,delete} mechanism so you will have to uninstall by hand, sorry. To use this script, download: ftp://ftp.cse.unsw.edu.au/pub/users/dons/ghc/user_install.sh and chmod 700 user_install.sh then, making sure you've already got the ghc-5.02.3.tgz binary package somewhere on the system, type, for examaple: ./user_install.sh /home/dons/ ghc-5.02.3.tgz and that should do it. Bug reports and suggestions are welcome. Don

I've recompiled the OpenBSD port of ghc-5.02.3 against OpenBSD 3.1, for those who need it. The binary package (15M) is available from: ftp://ftp.cse.unsw.edu.au/pub/users/dons/ghc/ghc-5.02.3.tgz There is a readme with full install instructions. Cheers, Don
participants (1)
-
dons@cse.unsw.edu.au