Hazem Essam
Hazem Essam

Reputation: 1

I can't install postgresql-simple on haskell

When I write this command: cabal install postgres-simple or cabal install postgresql-simple

This error appears:

cabal: Error: some packages failed to install: postgresql-libpg-0.9.4.2 failed during the configure step. The exception was: ExitFailure 1 postgresql-simple-0.6.2 depends on postgresql-libpg-0.9.4.2 which failed to install.

I tried on windows and Ubuntu, the same error appears.

Upvotes: 0

Views: 369

Answers (1)

sclv
sclv

Reputation: 38893

As the comment notes, you need to have postgres already installed on your system.

Upvotes: 0

Related Questions