From: Paul Moore [mailto:[EMAIL PROTECTED]
runhaskell db.hs
can't load .so/.DLL for: sqlite3 (addDLL: unknown error)
This seems odd, as I'm not (intending to be) using sqlite here. If I
copy a sqlite3.dll onto my PATH (just to get by, it's quite possible
sqlite isn't set up right but I
On 12/13/06, Bayley, Alistair [EMAIL PROTECTED] wrote:
From: Paul Moore [mailto:[EMAIL PROTECTED]
This appears to be caused by ghci/runhaskell wanting to link the entire
library at once, rather than just the modules you're using. I don't know
if this is a bug or a feaure with ghci; anybody else
Having said that, I now get
ghc --make db.hs -o db
[1 of 1] Compiling Main ( db.hs, db.o )
Linking db.exe ...
D:\Apps\GHC\gcc-lib\ld.exe: cannot find -lsqlite3
collect2: ld returned 1 exit status
This may be because I have a sqlite3.dll in my PATH, but no
development libs.
main :: IO ()
main = do
withSession (connect USER PASSWORD DB) $ do
-- simple query, returning reversed list of rows.
r - doQuery (sql select username from all_users)
query1Iteratee []
liftIO $ putStrLn $ show r
The error I'm getting is
db.hs:10:64:
Couldn't
On 12/12/06, Bayley, Alistair [EMAIL PROTECTED] wrote:
($) doesn't handle higher-ranked types, and overusing it can lead to
these kinds of errors.
Thanks - not something I'd have ever found on my own.
Next one:
runhaskell db.hs
can't load .so/.DLL for: sqlite3 (addDLL: unknown error)
This
On 12/12/06, Paul Moore [EMAIL PROTECTED] wrote:
Can I somehow force PostgreSQL to be disabled? If I need to rebuild to
do so (grumble) then how do I uninstall the current version of takusen
(it's not in Add/Remove programs and runhaskell Setup.hs doesn't
seem to offer an uninstall option...
On 12/12/06, Taral [EMAIL PROTECTED] wrote:
On 12/12/06, Paul Moore [EMAIL PROTECTED] wrote:
Can I somehow force PostgreSQL to be disabled? If I need to rebuild to
do so (grumble) then how do I uninstall the current version of takusen
(it's not in Add/Remove programs and runhaskell Setup.hs