[project @ 2001-05-16 09:55:27 by rrt]
[ghc-hetmet.git] / distrib / INSTALL
index 53b9449..679c621 100644 (file)
@@ -1,13 +1,42 @@
-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:
 
 * use it in-place, i.e., don't go ahead with a
   full install, but just set it up to use the unpacked
-  distribution from where it was unpacked.
+  distribution in-situ.
 
 * get it over with, and do the full install (details of how are ahead).
 
@@ -18,55 +47,37 @@ the script with --help to see what options it supports).
 
 This will figure out what platform you're running on, and a couple of other
 interesting pieces of trivia, which it will then fill in the Makefile.in
-template to give you a real Makefile.
+template to give you a real Makefile. 
 
-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).
+[Win32 users: don't be alarmed if you should encounter the following
+ message from the configure script:
+  
+      not updating unwritable cache ./config.cache
 
-For more information, please consult the installation guide in
-{html,dvi,info}/ghc-2.02/installing{.dvi,.info,_toc.html}.
+This is a known problem of generated autoconf configure scripts running
+on cygwin, but harmless (it only means you get to re-do all the configure
+tests should you decide to re-run the script.)
+]
 
-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.
-
-
--------Win32 users only----------------------------------------
-NOTE to Win32 users: to enjoy any sort of happiness with the GHC
-tools, you will have to install the cygwin32 toolchain, which dresses
-up the Win32 environment into something more UNIX-like (which
-this initial port of ghc relies on being the case). The cygwin32 tools
-are available from
+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:
 
-    ftp://ftp.cygnus.com/pub/gnu-win32/gnu-win32-b17.1/   
-       (Cygnus Solutions; Mt. View, CA.)
-    ftp://sunsite.doc.ic.ac.uk/pub/gnu/cygnus/gnu-win32/
-        (Sunsite Northern Europe; Imperial College, London)
-    ftp://ftp.crl.go.jp/pub/GNU/cygnus/gnu-win32/
-       (CRL, Ministry of Posts and Telecom., Japan)
+       make in-place
 
-GHC was built with beta17 - you *might* get away with beta16 if you've already got it
-installed...not tested this though.
+If you're installing,  run
 
-The GHC tools are also quite picky about Perl, the commonly-used
-Hip/ActiveWare Win32 port of perl5 just ain't Cool Enough (main reason: 
-GHC scripts assume they are talking to an underlying UNIX command
-shell). A port of perl5.003 done on top of cygwin32-b17 is just
-the ticket though, it is available from 
+       make install 
 
-   http://www.edv.agrar.tu-muenchen.de/~syring/gnu-win32/
+(`make show-install-setup' prints the details of where the different
+pieces of the bundle are heading when -- possibly helpful).
 
-this port is not complete - but the binaries available from there
-are sufficiently wonderful.
+GHC's installation instructions have more information, check out
+http://www.haskell.org/ghc/documentation.html.
 
-Install both cygwin32&perl5 before continuing.
+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
 
-Future releases of GHC for Win32 may very well avoid relying on
-cygwin32 to operate, for various reasons..
+Enjoy.
 
--------Win32 users only----------------------------------------
+--------------------------------------------------------------------