Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Haskell
Cabal
Commits
c5568e76
Commit
c5568e76
authored
19 years ago
by
Isaac Potoczny-Jones
Browse files
Options
Downloads
Patches
Plain Diff
updated README with suggestions from simon and some clarification
parent
8d7d0ff6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README
+32
-15
32 additions, 15 deletions
README
TODO
+3
-2
3 additions, 2 deletions
TODO
with
35 additions
and
17 deletions
README
+
32
−
15
View file @
c5568e76
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 =-
* "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"
* 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.
* 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
...
...
@@ -26,9 +32,16 @@ http://www.haskell.org/cabal
This is the recommended method of installing Cabal.
If you have an older version of Cabal installed, in order to use the
new one after installation you may have to specify which version you
want when you run ghci. For instance:
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
...
...
...
@@ -37,18 +50,22 @@ want when you run ghci. For instance:
...
(OK)
If you want to avoid this situation, you can remove the older version
with:
* 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:
$ ghc-pkg unregister Cabal-1.0
1) Cabal is installed in the global package file (use ghc-pkg -l to see)
or
2) You don't have root access
$ ghc-pkg unregister Cabal-1.0 --user
3) You need to install a newer version of Cabal in your user directory,
If you don't have root access, and you need to install a newer version
of Cabal in your user directory, then this formula may help to hide
the global version:
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
...
...
@@ -87,7 +104,7 @@ Cabal Coders:
- Martin Sjögren
- Malcolm Wallace (via hmake)
Cabal
proposal
:
Cabal
spec
:
- Isaac Jones
- Simon Marlow
- Ross Patterson
...
...
This diff is collapsed.
Click to expand it.
TODO
+
3
−
2
View file @
c5568e76
------------------------------------------------------------
-= 1.2 =-
* Move Distribution and everything into a subdirectory, so we can
build the Setup file with the normal invocation of cabal.
* MOVED FOR DARCS BUT NOT CVS. Move Distribution and everything
into a subdirectory, so we can build the Setup file with the normal
invocation of cabal.
* Clean up readme according to Simon's suggestions
- to install globally / with root access: should "just work"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment