ghc-6.6 + cabal-1.6 - can't find header files
Alistair Bayley
alistair at abayley.org
Tue Jan 27 04:08:43 EST 2009
I'm puzzled as to why this build fails (ghc-6.6.1, cabal-1.6 (actually
HEAD, I think, but close enough, and winXP). The sqlite.h header file
is in C:\Progra~1\sqlite3\, which is clearly given with the -I option.
Alistair
c:\ghc\ghc-6.6.1\bin\ghc.exe -package-name Takusen-0.8.4 --make -hide-all-packag
es -no-user-package-conf -i -idist\build -i. -idist\build\autogen -Idist\build\a
utogen -Idist\build -IC:\Progra~1\sqlite3\ -IC:/PROGRA~1/POSTGR~1/8.1/include -I
C:/PROGRA~1/POSTGR~1/8.1/include/server -IC:\Oracle\product\10.2.0\client_1\oci\
include -optP-include -optPdist\build\autogen\cabal_macros.h -odir dist\build -h
idir dist\build -package QuickCheck-1.0.1 -package base-2.1.1 -package mtl-1.0.1
-package time-1.1.1 -O -cpp Database.ODBC.Enumerator Database.ODBC.OdbcFunction
s Database.Oracle.Enumerator Database.Oracle.OCIConstants Database.Oracle.OCIFun
ctions Database.PostgreSQL.Enumerator Database.PostgreSQL.PGFunctions Database.S
qlite.Enumerator Database.Sqlite.SqliteFunctions Database.Enumerator Database.Ut
il Database.Stub.Enumerator Control.Exception.MonadIO Foreign.C.UTF8 Database.In
ternalEnumerator
[ 7 of 15] Compiling Database.Sqlite.SqliteFunctions ( Database/Sqlite/SqliteFun
ctions.lhs, dist\build/Database/Sqlite/SqliteFunctions.o )
C:\DOCUME~1\bayleya\LOCALS~1\Temp\ghc4176_0\ghc4176_0.hc:8:20: sqlite.h: No such
file or directory
.. [many more "implicit declaration of function" warnings follow as a
result of this one]
More information about the cabal-devel
mailing list