[Haskell-cafe] HaskellDB-HDBC-PostgreSQL installation problem

2013-01-09 Thread Johannes . Reiher
Hello Community, I have a problem installing the HaskellDB-HDBC-PostgreSQL package with cabal. I'm using Haskell Platform in Windows and I tried to install this package, but there was the error could not find pq library. So I tried to install libpq wich includes pq but there was another error:

Re: [Haskell-cafe] HaskellDB-HDBC-PostgreSQL installation problem

2013-01-09 Thread Christopher Done
Tricky. For what it's worth, if you can't figure this out in the end, you could perhaps use my pgsql-simple which is implemented in pure haskell: https://github.com/chrisdone/pgsql-simple It's been in use on hpaste.org for about 2 years. On 9 January 2013 14:44, Johannes.Reiher

Re: [Haskell-cafe] HaskellDB-HDBC-PostgreSQL installation problem

2013-01-09 Thread Alexander Alexeev
Try Persistent package. It doesn't depends on libpq and has many useful features (see http://www.yesodweb.com/book/persistent for details) On 01/09/2013 05:50 PM, Christopher Done wrote: Tricky. For what it's worth, if you can't figure this out in the end, you could perhaps use my pgsql-simple

Re: [Haskell-cafe] HaskellDB-HDBC-PostgreSQL installation problem

2013-01-09 Thread Felipe Almeida Lessa
AFAIK, persistent's PostgreSQL support does depend on libpq via postgresql-libpq. On Wed, Jan 9, 2013 at 12:39 PM, Alexander Alexeev m...@eax.me wrote: Try Persistent package. It doesn't depends on libpq and has many useful features (see http://www.yesodweb.com/book/persistent for details)

Re: [Haskell-cafe] HaskellDB-HDBC-PostgreSQL installation problem

2013-01-09 Thread erik flister
there was another error: this package needs a unix installation. you need to use MinGW, but it still fails because of a GHC bug http://hackage.haskell.org/trac/ghc/ticket/7103 https://github.com/lpsmith/postgresql-libpq/issues/7 -e ___ Haskell-Cafe