X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=distrib%2FINSTALL;h=679c62124ef4353a384fa32c7832f4cc533549b1;hb=f00d3e897b912eddc24ba62970a1504c656f0404;hp=c37e8824821b827b6eddd94e36525b0f84841cbc;hpb=0268d6925e117661769fbe1ed823cbef7e4da8e3;p=ghc-hetmet.git diff --git a/distrib/INSTALL b/distrib/INSTALL index c37e882..679c621 100644 --- a/distrib/INSTALL +++ b/distrib/INSTALL @@ -1,7 +1,36 @@ -This is the INSTALL instructions for a binary bundle of the -Glorious Glasgow Haskell Compilation System. For more details -on what on earth this package is up to, please consult the README -and ANNOUNCE. + +-------------------------------------------------------------------- + +The short story (if you are installing GHC from a binary dist): + +- Decide where you want to install it. +- Do ./configure --prefix=where-i-want-to-install-it +- Do make install + +That installs everything - the compiler, interactive system, +libraries, and documentation. At the end of 'make install' you will +be informed of what you need to add to your PATH, and also the +location of the documentation. + +Linux users: GHCi-5.00 needs libreadline.so.3. Newer Linuxes (SuSE +7.1, possibly RH 7.X, possibly Mandrake 8.X) only come with +libreadline.so.4. If you need libreadline.so.3 and only have the .4 +version, you might be able to get things working by making a symbolic +link from libreadline.so.4 to libreadline.so.3. We tried this on a +SuSE 7.1 box and it seemed to work. + +If something doesn't work as it should, please contact us at +glasgow-haskell-bugs@haskell.org. + +JRS, 10 April 2001. + +-------------------------------------------------------------------- + +The Long Story + +This is the INSTALL instructions for a binary distribution of one of +the fptools projects. For more details on what on earth this package +is up to, please consult the README and ANNOUNCE. To start using the bundle, you can either: @@ -31,50 +60,24 @@ tests should you decide to re-run the script.) ] Have a look at the Makefile to see if you agree with the information -therein. If you want to use the bundle in-place, now run `make in-place'. -If you're installing, `make install' (`make show-install-setup' prints -the details of where the different pieces of the bundle are heading when --- possibly helpful). +therein. If you want to use the bundle in-place, now run: -For more information, please consult the installation guide in -{html,dvi,info}/ghc-/installing{.dvi,.info,_toc.html}. - -Bug reports/suggestions for improvement to the installation procedure/setup -(as well as other GHC related troubles you're experiencing, of course), -gratefully received at glasgow-haskell-bugs@dcs.gla.ac.uk - -Enjoy. + make in-place +If you're installing, run --------Win32 users only---------------------------------------- -NOTE to Win32 users: to enjoy any sort of happiness with the GHC -tools, you will have to install the cygwin toolchain, which dresses -up the Win32 environment into something more UNIX-like (which -this initial port of ghc relies on being the case). The cygwin tools -are available from + make install - http://sourceware.cygnus.com/cygwin/ +(`make show-install-setup' prints the details of where the different +pieces of the bundle are heading when -- possibly helpful). -GHC was built with beta20.1 of the cygwin tools and depends on it -to work. +GHC's installation instructions have more information, check out +http://www.haskell.org/ghc/documentation.html. -Install cygwin before continuing. Couple of things to remember -doing while installing these two: - - - Create a toplevel /bin directory, and copy bash.exe into it - as sh.exe (we'll need this for running the configure script.) - Add /bin to your PATH. - - Create a toplevel /tmp directory. - -Additionally, ghc requires perl to operate, so included in the -binary distribution is a perl binary, (perl.exe in the toplevel -directory.) Install (as in copy :-) this somewhere along your -PATH too (/bin is a good choice.) +Bug reports/suggestions for improvement to the installation procedure/setup +(as well as other GHC related troubles you're experiencing, of course), +gratefully received at glasgow-haskell-bugs@haskell.org -This is hardly beatiful, but it avoids having to download and install -yet another package, including piles of (useful) perl libraries that the -ghc perl code does not require to operate. Besides which, there's a -dearth of readily useable perl distributions 'out there' that contain -cygwin-compiled binaries, something we really do depend on. +Enjoy. --------Win32 users only---------------------------------------- +--------------------------------------------------------------------