Question

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

Was it helpful?

Solution

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.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top