[Haskell-cafe] Re: need help for cabal-install

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Mon Jan 21 18:35:32 EST 2008

On Mon, 2008-01-21 at 10:15 -0500, Steve Lihn wrote:
> Duncan,
> I got the latest cabal. The stack overflow is fixed. But the install
> command still does not work (on a very simple package). Attached is
> the verbose output. It does not like to proceed somewhere between
> configure and build. But the verbose is not telling why!
> I also attached my cabal dance with exactly the same configure options.
> ----
> /home2/ecoin/garden> cabal install -v HTTP-Simple
> /home2/ecoin/ghc/bin/ghc --numeric-version
> looking for package tool: ghc-pkg near compiler in /home2/ecoin/ghc/bin
> found package tool in /home2/ecoin/ghc/bin/ghc-pkg
> /home2/ecoin/ghc/bin/ghc-pkg --version
> /home2/ecoin/ghc/bin/ghc -c /tmp/tmp26702.c -o /tmp/tmp26702.o
> /usr/bin/ld -x -r /tmp/tmp26702.o -o /tmp/tmp26703.o
> Reading installed packages...
> /home2/ecoin/ghc/bin/ghc-pkg list --global --user
> 'HTTP-Simple-0.1' is cached.
> Extracting /home2/ecoin/.cabal/packages/hackage.haskell.org/HTTP-Simple/0.1/HTTP
>  -Simple-0.1.tar.gz to /tmp/TMPHTTP-Simple-0.1...
> Creating dist/setup (and its parents)
> /home2/ecoin/ghc/bin/ghc --make Setup.lhs -o dist/setup/setup -odir
> dist/setup -  hidir dist/setup
> [1 of 1] Compiling Main             ( Setup.lhs, dist/setup/Main.o )
> Linking dist/setup/setup ...
> dist/setup/setup configure --verbose=2 --ghc --prefix=/home2/ecoin/htools --user

So at this point configuring the HTTP-Simple package is failing without
any error message. That's not so good. :-)

> cabal: Error: some packages failed to install:
>   HTTP-Simple-0.1

So, for debugging, try configuring that package manually and see if the
behaviour is the same and if so what the exit code is.


More information about the Haskell-Cafe mailing list