Sun May 31 09:12:42 BST 2009  dominic@steinitz.org
  * FAQ cabal installs --user by default but runghc Setup installs global
  by default and this gets asked often enough.

New patches:

[FAQ cabal installs --user by default but runghc Setup installs global
dominic@steinitz.org**20090531081242
 Ignore-this: 37fcff8e75daf9c66094912f6676881a
 by default and this gets asked often enough.
] {
hunk ./FAQ.markdown 42
 :    I just used cabal to install parsec. Why did it give me version 2 rather
      than 3?
 
+[runghc Setup Complains of Missing Packages](#runghc-setup-complains-of-missing-packages)
+:    I just used runghc Setup.hs install but if failed telling me it's
+     missing a package I know I installed.
+
 [Cabal goes into an infinite loop / runs out of memory](#cabal-goes-into-an-infinite-loop--runs-out-of-memory)
 :    I just upgraded to ghc-6.10 and now cabal runs out of memory when I try to
      install something
hunk ./FAQ.markdown 210
 there is almost always an actual error message further up in the build log. Try
 scrolling up to the bit where it was trying to build that package.
 
+runghc Setup Complains of Missing Packages
+---------------------------------------------
+
+> I get
+>
+>     $ runghc Setup.hs configure
+>     Configuring PER-0.0.20...
+>     Setup.hs: At least the following dependencies are missing:
+>     time -any && -any
+> 
+> But I already have that package installed.
+> 
+>     ghc-pkg list | grep time
+>     old-locale-1.0.0.1, old-time-1.0.0.2, packedstring-0.1.0.1,
+
+The default for "runghc Setup.hs configure" is --global, but the default
+for "cabal configure" is --user. So if you're using the "cabal" program
+to install packages, then you can also us it to configure other
+packages. If for you need to use the runghc Setup.hs interface (e.g. in
+some system build scripts) and you want it to pick up packages from the
+user package db then use the --user flag. If you're constantly having to
+use the runghc Setup.hs interface and doing per-user installs is a pain
+then you can set the default for the cabal program to be global installs
+in the cabal config file (~/.cabal/config).
+
 Parsec 2 vs 3
 -------------
 
}

Context:

[Add FAQ link to the front page
 Duncan Coutts <duncan@haskell.org>**20090416083827] 
[Add more detail to the FAQ about process dep conflicts
Duncan Coutts <duncan@haskell.org>**20090321202429] 
[Add generated FAQ.html
Duncan Coutts <duncan@haskell.org>**20090321201231] 
[Impove FAQ, fix up css for blockquotes
Duncan Coutts <duncan@haskell.org>**20090321190059] 
[Add initial markdown for FAQ page
Duncan Coutts <duncan@haskell.org>**20090321173937
 Incomplete but it's a start.
] 
[Add redirect for libraries -> API docs
Duncan Coutts <duncan@haskell.org>**20090311123017
 Fixes Cabal ticket #381.
] 
[Also remove old release notes that are not linked to
Duncan Coutts <duncan@haskell.org>**20090306152916] 
[Remove and redirect old files
Duncan Coutts <duncan@haskell.org>**20090306152251] 
[Remove old css file
Duncan Coutts <duncan@haskell.org>**20090306151753] 
[Update recommended link for "How to make a Cabal package"
Duncan Coutts <duncan@haskell.org>**20090306123618
 The one on the haskell wiki is much better and more up to date.
] 
[Fix links to latest docs
Duncan Coutts <duncan@haskell.org>**20090306111440] 
[Fix latest redirect
Duncan Coutts <duncan@haskell.org>**20090306111131] 
[Add releate .htaccess file
Duncan Coutts <duncan@haskell.org>**20090306105856] 
[Fix html errors spotted by the w3c validator
Duncan Coutts <duncan@haskell.org>**20090305185730] 
[Fix css errors spotted by the w3c css validator
Duncan Coutts <duncan@haskell.org>**20090305185653] 
[Specifying the html dtd http url is unnecessary
Duncan Coutts <duncan@haskell.org>**20090305185615
 The public identifier is sufficient
] 
[Limit overall page width
Duncan Coutts <duncan@haskell.org>**20090305185846] 
[Clean up the old stuff page
Duncan Coutts <duncan@haskell.org>**20090305185646] 
[Move the DistUtils.tgz under old/
Duncan Coutts <duncan@haskell.org>**20090305184131] 
[Add old HIM2003Talk and add redirect
Duncan Coutts <duncan@haskell.org>**20090305180924] 
[Add missing proposal Makefiles
Duncan Coutts <duncan@haskell.org>**20090305180846] 
[Add all the versions of the proposal
Duncan Coutts <duncan@haskell.org>**20090305175816] 
[Put the current Cabal website under revision control
Duncan Coutts <duncan@haskell.org>**20090305175730] 
Patch bundle hash:
7c73debfd7beb18098e5ebea26bdaa8ac4dd8eac
