Compiling regex-posix on Windows
marlowsd at gmail.com
Fri Mar 26 08:47:48 EDT 2010
On 26/03/2010 12:37, Mikhail Glushenkov wrote:
> On Fri, Mar 26, 2010 at 1:20 PM, Simon Marlow<marlowsd at gmail.com> wrote:
>>> Preprocessing library regex-posix-0.94.0...
>>> Text\Regex\Posix\Wrap.hsc:105:19: regex.h: No such file or directory
>> Looks like the configure script didn't run, or something of that kind.
>> Perhaps you need to put
>> build-type: Configure
>> in regex-posix.cabal.
> The configure script did run, and changing build-type from Custom to
> Configure doesn't help. Looking at zlib's .cabal file, it seems like
> the key to fixing this is modifying the c-sources field.
There is supposed to be a regex-posix.buildinfo.in file that is modified
by the configure script, and contains the necessary c-sources field.
That file was present in regex-posix-0.72.0.3, but is apparently missing
in the most recent darcs sources.
More information about the Libraries