This is a question about how cabal-install finds 'installed foreign libraries' when trying to satisfy dependencies for packages like hdbc-sqlite3 on Windows.
Sadly, the current setup means that I must use Windows 7 to develop code.
> cabal install hdbc-sqlite3 --extra-lib-dirs=D:\dev\libs\database\sqlite
Resolving dependencies...
Configuring HDBC-sqlite3-2.3.0.0...
cabal: Missing dependency on a foreign library:
* Missing C library: sqlite3
This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is.
cabal: Error: some packages failed to install:
HDBC-sqlite3-2.3.0.0 failed during the configure step. The exception was:
ExitFailure 1
The strangest thing is, I've successfully made cabal build this package before (with a different version of Haskell Platform)... what's going on?
I'm using cabal-install version 0.8.2 and Cabal library version 1.8.0.2.