chetant / LibClang

Haskell FFI to libclang
Other
58 stars 10 forks source link

libClang requires ffi #6

Closed develhevel closed 13 years ago

develhevel commented 13 years ago

Hi there, I'm using Linux Mint (Ubuntu derivat) and want to install libClang with Cabal.

The problem is, that I always get the message: "requires ffi" and then it stops.

I have installed on my system:

what is missing?

chetant commented 13 years ago

Could you attach the actual command you run to install libClang along with the exact output? Thanks

On Fri, May 13, 2011 at 3:43 AM, develhevel reply@reply.github.com wrote:

Hi there, I'm using Linux Mint (Ubuntu derivat) and want to install libClang with Cabal.

The problem is, that I always get the message: "requires ffi" and then it stops.

I have installed on my system:

  • Haskel-Platform 2010.1.0.0.1
  • libffi5
  • libffi-dev

what is missing?

Reply to this email directly or view it on GitHub: https://github.com/chetant/LibClang/issues/6

develhevel commented 13 years ago

just fixed it, it was because fedora core dont had ffi in the haskell platform, i now build it by myselve ant the problem was solved.

Shimuuar commented 13 years ago

Same thing here

$ cabal install LibClang Resolving dependencies... cabal: cannot configure LibClang-0.0.9. It requires ffi -any There is no available version of ffi that satisfies -any

ffi is not shipped with GHC nor is available via hackage. I'm using GHC7.0.3 as packaged by debian

chetant commented 13 years ago

ffi is a built in module with ghc, so it should be there. Its odd that these binary packages wouldn't have ffi built in. I've always built ghc from source, so never dealt with this issue. You could bring it up with debian/fedora if you can't find any. Do post your findings here, so others can helped! Thanks

On Fri, May 13, 2011 at 1:37 PM, Shimuuar reply@reply.github.com wrote:

Same thing here

$ cabal install LibClang Resolving dependencies... cabal: cannot configure LibClang-0.0.9. It requires ffi -any There is no available version of ffi that satisfies -any

ffi is not shipped with GHC nor is available via hackage. I'm using GHC7.0.3 as packaged by debian

Reply to this email directly or view it on GitHub: https://github.com/chetant/LibClang/issues/6#comment_1155023

chetant commented 13 years ago

Ok Don just emailed me about this, ghc6 does not have ffi package explicitly mentioned, so causes an error. Will fix this and upload to hackage. in the meantime if you'd like, you can remove that dependency from cabal file and try again.

chetant commented 13 years ago

Fixed this issue in master and on hackage (v0.1.0)