Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I've spent much time trying to get this to build on Vista, through cabal and compiling directly.
The error I get is:-
C:\ghc\regex-pcre-builtin-0.94.2.0.7.7>Setup configure --user
regex-pcre needs to compile against the libpcre libary from http://www.pcre.org/
You might also need to edit the end of the regex-pcre.cabal file to point at
the directories where libpcre 'include' and 'lib' have been installed.
Setup: Missing dependency on a foreign library:
* Missing header file: pcre
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
I've installed the pcre libraries and used the --extra-include-dirs, etc, but this made no difference. I even built the matching pcre 7.7 from source with MinGW and MSYS. Still the same error. I narrowed it down to the regex-pcre-builtin.cabal line:-
It will build if I change this line to:-
But I don't think that's right...
Any help would be much appreciated.