0

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

Daenyth
  • 35,856
  • 13
  • 85
  • 124

2 Answers2

1

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

kowey
  • 1,211
  • 7
  • 15
1

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.

Ganesh Sittampalam
  • 28,821
  • 4
  • 79
  • 98