Skip to content

phase C pre-processor' failed - on doing runhaskell Examples.hs` #11

@ghost

Description

Commands on ubuntu 14 m/c:
cabal install postgresql-orm -- success
ghc-pkg list | grep postgresql-orm -- shows postgresql-orm-0.3.2
git clone https://github.com/alevy/postgresql-orm.git && cd postgresql-orm
runhaskell Examples.hs

It throws error as,

Database/PostgreSQL/Escape.hs:61:0:
     error: missing binary operator before token "("
     #if MIN_VERSION_bytestring(0,10,6)
     ^
phase `C pre-processor' failed (exitcode = 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions