[Haskell-cafe] cabal install of HDBC-odbc fails on ghc 6.7,
-I flag causes problems
thomas.hartman at db.com
Wed Aug 29 10:05:03 EDT 2007
Ah ok, so I did
echo ":main build -v3" | /usr/local/bin/ghci-6.7.20070816 Setup.hs
and this does indeed seem more informative. advice?
[1 of 1] Compiling Main ( Setup.hs, interpreted )
ghc-6.6.1: unrecognised flags: -I
Usage: For basic information, try the `--help' option.
compiling dist/build/Database/HDBC/ODBC/Connection_hsc_make.c failed
command was: ghc -c -I dist/build/Database/HDBC/ODBC/Connection_hsc_make.c
GHCi, version 6.7.20070816: http://www.haskell.org/ghc/ :? for help
Loading package base ... linking ... done.
Ok, modules loaded: Main.
*Main> Loading package array-0.1 ... linking ... done.
Loading package containers-0.1 ... linking ... done.
Loading package old-locale-1.0 ... linking ... done.
Loading package old-time-1.0 ... linking ... done.
Loading package filepath-1.0 ... linking ... done.
Loading package directory-1.0 ... linking ... done.
Loading package unix-2.0 ... linking ... done.
Loading package process-1.0 ... linking ... done.
Loading package pretty-1.0 ... linking ... done.
Loading package Cabal-1.1.7 ... linking ... done.
Reading parameters from
Creating dist/build (and its parents)
Creating dist/build/autogen (and its parents)
Preprocessing library HDBC-odbc-126.96.36.199...
Creating dist/build/Database/HDBC/ODBC (and its parents)
*** Exception: exit: ExitFailure 1
*Main> Leaving GHCi.
Duncan Coutts <duncan.coutts at worc.ox.ac.uk>
08/28/2007 08:08 PM
Thomas Hartman/ext/dbcom at DBAmericas
haskell-cafe at haskell.org
Re: [Haskell-cafe] cabal install of HDBC-odbc fails on ghc 6.7, -I flag
On Tue, 2007-08-28 at 18:19 -0400, Thomas Hartman wrote:
> Well, I built with -v3 as suggested, but the ouptut doesn't seem that
> helpful to me. ghc compile commands, at any rate, do not appear to be
Sorry, I meant to pass -v3 to cabal, not to ghc compiling/running
> $ echo ":main build" | /usr/local/bin/ghci-6.7.20070816 -v3 Setup.hs
> 1>build.out 2>build.err
runghc Setup.hs build -v3
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe