File: README

package info (click to toggle)
hugs98 98.200609.21-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 41,884 kB
  • ctags: 8,913
  • sloc: haskell: 118,978; xml: 61,802; ansic: 46,695; sh: 8,750; cpp: 6,033; makefile: 2,661; yacc: 1,111; cs: 883; sed: 10
file content (116 lines) | stat: -rw-r--r-- 3,464 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
Cabal home page:
http://www.haskell.org/cabal

WARNING If you already have Cabal installed, including GHC 6.4 users,
read "Working with older versions of Cabal" for information first!  If
you do this out of order, stuff might get screwy.  If stuff gets
screwy, post to libraries@haskell.org for help.

-= Quirky things about the build system =-

* If you don't already have Cabal installed: "make install" as root,
  then try "ghci -package Cabal" to test it.  If you get an error
  about multiple versions of Cabal, read the section below "Working
  with older versions of Cabal" You were supposed to read this first.

* The cabal should build just like any other Cabal-ized package.  If
  you're using windows or have another means of building cabal
  packages, you might want to ignore the GNUmakefile
  altogether.

* GNUmakefile is the one you're probably interested in.  If you see
  Makefile, it is probably from the fptools build tree, and it won't
  work on its own.

* The GNUmakefile wraps the standard Cabal setup script; the
  GNUmakefile is a convinience for bootstrapping the system. "sudo
  make install" should handle HUnit, generate the setup script,
  configure, build, install, and register it in a standard location.

* HUnit is included both as a test case for Cabal, and because Cabal
  uses HUnit for testing.  Don't panic.

-= Working with older versions of Cabal =-

* Installing as root / Administrator (GHC's global package file)

This is the recommended method of installing Cabal.

If you have an older version of Cabal installed, you probably just
want to remove it:

  $ ghc-pkg unregister Cabal


If you don't want to remove it, and want both the old and new versions
installed, that's fine... In order to use the new one after
installation you may have to specify which version you want when you
run ghci.  For instance:

  $ ghci -package Cabal
    ...
    ghc-6.4: Error; multiple packages match Cabal: Cabal-1.0, Cabal-1.1.3
  $ ghci -package Cabal-1.1.3
    ...
    (OK)

* Installing as a user (no root or administer access)

If you have cabal installed already, you can this command to remove
it:

  $ ghc-pkg unregister Cabal --user

If:

1) Cabal is installed in the global package file (use ghc-pkg -l to see)

2) You don't have root access

3) You need to install a newer version of Cabal in your user directory, 

then this formula may help to hide the global version:

  $ ghc-pkg describe Cabal-1.0 | ghc-pkg --user register -
  $ ghc-pkg --user hide Cabal-1.0

-= Your Help =-

Portability is one of the most important things about this project.
We don't expect the early releases to work on every system, but it
should work on YOUR system!  If it doesn't please help us figure out
why, and write a patch and test case to fix the problem, if you can!
The codebase is a very manageable size.

-= Code =-

You can get the code from the web page; the version control system we
use is very open and welcoming to new developers.

-= Debian Templates =-

Build a Debian source tree with:

dh_make -d -t /full/path/to/debiantemplates

After, you just need to edit the copyright, description, and
dependencies...

-= Credits (in alphabetical order) =-

Cabal Coders:
- Krasimir Angelov
- Bjorn Bringert
- Isaac Jones
- David Himmelstrup (Lemmih)
- Simon Marlow
- Ross Patterson
- Martin Sjögren
- Malcolm Wallace (via hmake)

Cabal spec:
- Isaac Jones
- Simon Marlow
- Ross Patterson
- Simon Peyton Jones
- Malcolm Wallace