setup.exe: Bad header file: curl/curl.h haskell

122 views Asked by At

I am trying to install Darcs using cabal and runhaskell and I keep coming across the error

setup.exe: Bad header file: curl/curl.h

EDIT Thank you for the suggestions, I used the -f-curl and it worked

2

There are 2 answers

0
Ganesh Sittampalam On BEST ANSWER

One workaround if you have problems getting cURL to work on your platform is to use the -f-curl flag to cabal to build darcs using the slower HTTP library instead. This is particularly useful on Windows where installing C libraries is a nuisance.

0
kowey On

Would a binary work for you?

We also have instructions for building darcs under windows but it's been a while since they've been tested