Changes between Version 22 and Version 23 of Building/Prerequisites


Ignore:
Timestamp:
Dec 22, 2008 10:03:48 AM (6 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Prerequisites

    v22 v23  
    11 
     2[[PageOutline]] 
    23 
    3 == Prerequisites for Buiding GHC == 
     4== Preparing a Linux system == 
     5 
     6If you're on a recent Linux system, then you should be able to get a working build environment by installing the following packages using your system's package manager: 
     7 
     8 * glibc-devel 
     9 * libedit-devel 
     10 * ncurses-devel 
     11 * gmp-devel 
     12 * autoconf 
     13 * automake 
     14 * gcc 
     15 * make 
     16 * perl 
     17 * python 
     18 * ghc 
     19 * happy 
     20 * alex 
     21 * haddock 
     22 
     23'''Note:''' currently you'll also need to install an older version of [http://www.haskell.org/haddock Haddock] (0.9) manually, because the version of Haddock you'll get by default is 2.0.0.0 which doesn't work with GHC's build system yet. 
     24 
     25To be able to build the documentation (User's Guide): 
     26 
     27 * docbook-utils 
     28 * docbook-utils-pdf 
     29 * docbook-style-xsl 
     30 
     31other packages that are useful for development: 
     32 
     33 * strace 
     34 * patch 
     35 * libcurl-devel and zlib-devel (for building darcs) 
     36 
     37== Preparing a Windows system == 
     38 
     39See [wiki:Building/Windows].  ToDo: move the relevant parts of the docs here. 
     40 
     41== Preparing a MacOS X system == 
     42 
     43See [wiki:Building/MacOSX].  ToDo: move the relevant parts of the docs here. 
     44 
     45== Other systems == 
    446 
    547Here are the gory details about some utility programs you may need. 
     
    139181  [[br]][[br]] If your installation does not have libedit by default, you may either download and build it yourself from the link above, or else install your distro's relevant package (sometimes called "libedit-devel" or "libedit-dev"). 
    140182 [[br]][[br]]GHC does not use libedit on Windows; instead, it uses the console's default line editor. 
    141 == Preparing a Linux system == 
    142  
    143 If you're on a recent Linux system, then you should be able to get a working build environment by installing the following packages using your system's package manager: 
    144  
    145  * glibc-devel 
    146  * libedit-devel 
    147  * ncurses-devel 
    148  * gmp-devel 
    149  * autoconf 
    150  * automake 
    151  * gcc 
    152  * make 
    153  * perl 
    154  * python 
    155  * ghc 
    156  * happy 
    157  * alex 
    158  * haddock 
    159  
    160 '''Note:''' currently you'll also need to install an older version of [http://www.haskell.org/haddock Haddock] (0.9) manually, because the version of Haddock you'll get by default is 2.0.0.0 which doesn't work with GHC's build system yet. 
    161  
    162 To be able to build the documentation (User's Guide): 
    163  
    164  * docbook-utils 
    165  * docbook-utils-pdf 
    166  * docbook-style-xsl 
    167  
    168 other packages that are useful for development: 
    169  
    170  * strace 
    171  * patch 
    172  * libcurl-devel and zlib-devel (for building darcs) 
    173