Re: Cabal sqlite3 installation problems

25 May
2010
25 May
'10
3:05 p.m.
i have this exact problem, on linux x86_64, as well. b Hok Shun Poon fushunpoon at googlemail.com Sun May 23 19:51:20 EDT 2010 Previous message: memory useage of data types in the time package Next message: Text.Regex library with bytestrings? Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] 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

25 May
25 May
4:54 p.m.
New subject: Cabal sqlite3 installation problems
Hi Hok, I know the problem and the only solution I found to work is using an older version of "cabal.exe". I still have one lying around for these cases, in my Path called "cabalOld.exe" and use it only in situations like these. Lemme know if I should send it to you. Günther Am 25.05.10 21:05, schrieb Ben: > i have this exact problem, on linux x86_64, as well. > > b > > Hok Shun Poon fushunpoon at googlemail.com > Sun May 23 19:51:20 EDT 2010 > Previous message: memory useage of data types in the time package > Next message: Text.Regex library with bytestrings? > Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > 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
5475
Age (days ago)
5475
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ben
-
Günther Schmidt