<br><font size=2 face="sans-serif">Ah ok, so I did </font>
<br>
<br><tt><font size=2>echo &quot;:main build -v3&quot; | /usr/local/bin/ghci-6.7.20070816
Setup.hs 1&gt;build.out 2&gt;build.err </font></tt>
<br>
<br><font size=2 face="sans-serif">and this does indeed seem more informative.
advice?</font>
<br>
<br><font size=2 face="sans-serif">build.err: </font>
<br>
<br><font size=2 face="Courier New">[1 of 1] Compiling Main &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; ( Setup.hs, interpreted )</font>
<br><font size=2 face="Courier New">ghc-6.6.1: unrecognised flags: -I</font>
<br><font size=2 face="Courier New">Usage: For basic information, try the
`--help' option.</font>
<br><font size=2 face="Courier New">compiling dist/build/Database/HDBC/ODBC/Connection_hsc_make.c
failed</font>
<br><font size=2 face="Courier New">command was: ghc -c -I dist/build/Database/HDBC/ODBC/Connection_hsc_make.c
-o dist/build/Database/HDBC/ODBC/Connection_hsc_make.o</font>
<br>
<br><font size=2 face="sans-serif">build.out: </font>
<br>
<br><font size=2 face="Courier New">GHCi, version 6.7.20070816: http://www.haskell.org/ghc/
&nbsp;:? for help</font>
<br><font size=2 face="Courier New">Loading package base ... linking ...
done.</font>
<br><font size=2 face="Courier New">Ok, modules loaded: Main.</font>
<br><font size=2 face="Courier New">*Main&gt; Loading package array-0.1
... linking ... done.</font>
<br><font size=2 face="Courier New">Loading package containers-0.1 ...
linking ... done.</font>
<br><font size=2 face="Courier New">Loading package old-locale-1.0 ...
linking ... done.</font>
<br><font size=2 face="Courier New">Loading package old-time-1.0 ... linking
... done.</font>
<br><font size=2 face="Courier New">Loading package filepath-1.0 ... linking
... done.</font>
<br><font size=2 face="Courier New">Loading package directory-1.0 ... linking
... done.</font>
<br><font size=2 face="Courier New">Loading package unix-2.0 ... linking
... done.</font>
<br><font size=2 face="Courier New">Loading package process-1.0 ... linking
... done.</font>
<br><font size=2 face="Courier New">Loading package pretty-1.0 ... linking
... done.</font>
<br><font size=2 face="Courier New">Loading package Cabal-1.1.7 ... linking
... done.</font>
<br><font size=2 face="Courier New">Reading parameters from /home/hartthoma/installs/HDBC-odbc-1.0.1.0/HDBC-odbc.buildinfo</font>
<br><font size=2 face="Courier New">Creating dist/build (and its parents)</font>
<br><font size=2 face="Courier New">Creating dist/build/autogen (and its
parents)</font>
<br><font size=2 face="Courier New">Preprocessing library HDBC-odbc-1.0.1.0...</font>
<br><font size=2 face="Courier New">Creating dist/build/Database/HDBC/ODBC
(and its parents)</font>
<br><font size=2 face="Courier New">(&quot;/usr/local/bin/hsc2hs&quot;,[&quot;-D__GLASGOW_HASKELL__=606&quot;,&quot;--cflag=-I&quot;,&quot;--lflag=-lodbc&quot;,&quot;-o&quot;,&quot;dist/build/Database/HDBC/ODBC/Connection.hs&quot;,&quot;Database/HDBC/ODBC/Connection.hsc&quot;])</font>
<br><font size=2 face="Courier New">*** Exception: exit: ExitFailure 1</font>
<br><font size=2 face="Courier New">*Main&gt; Leaving GHCi.</font>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Duncan Coutts &lt;duncan.coutts@worc.ox.ac.uk&gt;</b>
</font>
<p><font size=1 face="sans-serif">08/28/2007 08:08 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Thomas Hartman/ext/dbcom@DBAmericas</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">haskell-cafe@haskell.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Haskell-cafe] cabal install of
HDBC-odbc fails on ghc 6.7, &nbsp; &nbsp; &nbsp; &nbsp;-I &nbsp;
&nbsp; &nbsp; &nbsp;flag causes problems</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>On Tue, 2007-08-28 at 18:19 -0400, Thomas Hartman
wrote:<br>
&gt; <br>
&gt; Well, I built with -v3 as suggested, but the ouptut doesn't seem that<br>
&gt; helpful to me. ghc compile commands, at any rate, do not appear to
be<br>
&gt; outputted <br>
<br>
Sorry, I meant to pass -v3 to cabal, not to ghc compiling/running<br>
Setup.hs<br>
<br>
&gt; $ echo &quot;:main build&quot; | /usr/local/bin/ghci-6.7.20070816
-v3 Setup.hs<br>
&gt; 1&gt;build.out 2&gt;build.err <br>
<br>
like:<br>
<br>
runghc Setup.hs build -v3<br>
<br>
<br>
Duncan<br>
<br>
</font></tt>
<br>
<br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">---</span><br>
<br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">This e-mail may contain confidential and/or privileged information. If you </span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">are not the intended recipient (or have received this e-mail in error) </span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">please notify the sender immediately and destroy this e-mail. Any </span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">unauthorized copying, disclosure or distribution of the material in this </span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">e-mail is strictly forbidden.</span><br>