
On Thu, Jan 10, 2013 at 10:34:19AM -0500, HP Wei wrote:
I did the following: download filemanip-0.3.6.2.tar.gz tar xvf ... cd filemanip-0.3.6.2 runhaskell Setup configure --prefix=$HOME/ghc
--> it tells me Setup: At least the following dependencies are missing: mtl -any, unix-compat -any
This is because by default, 'runhaskell Setup configure' tries to install things in the global package DB, and those packages are installed in the local package DB so it cannot use them. One solution is to pass '--user' to runhaskell Setup configure. HOWEVER, these days you should not call Setup directly. Instead, use the cabal-install tool (which comes with the Haskell platform). So you should just be able to say cabal install filemanip instead of downloading it manually and calling Setup. -Brent
So, I did the following: download unix-compat-0.4.1.0.tar.gz tar xvf ... cd unix-compat-0.4.1.0 runhaskell Setup configure --prefix=$HOME/ghc runhaskell Setup build runhaskell Setup install
--> under $HOME/ghc/lib I see unix-compat-0.4.1.0/ that was newly added by the Setup processes.
--> under $HOME/ghc/lib I also see mtl-2.0.1.0/ This was there already before the above operations.
Then, I went back cd filemanip-0.3.6.2 runhaskell Setup configure --prefix=$HOME/ghc
--> it tells me Setup: At least the following dependencies are missing: mtl -any
Question: why can't $HOME/ghc/lib/mtl-2.0.1.0/ be recognized during the above Setup configure ??
What do I need to do ?
thanks HP
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users