Cabal sqlite3 installation problems

23 May
2010
23 May
'10
7:51 p.m.
Hello, 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. I've already followed steps on http://wiki.github.com/jgoerzen/hdbc/frequentlyaskedquestions to place the .dll and the .h files in the correct places; it's just that cabal never seems to find it, despite being given --extra-lib-dirs= and --extra-include-dirs= directives. The message is as follows: > 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. Hok
5477
Age (days ago)
5477
Last active (days ago)
0 comments
1 participants
participants (1)
-
Hok Shun Poon