Compiling regex-posix on Windows

Chris Kuklewicz haskell at list.mightyreason.com
Mon Mar 29 05:26:40 EDT 2010


I was too busy this weekend and I did not notice this thread until now.

I don't run Windows so I never maintained that build support for the new
regex-posix version.  If someone has it working then I would love to
take a darcs patch.

In order to unblock the Platform release I will try and setup ghc
development on a Virtualbox'd Windows 7, on top of "OS X".

-- 
Chris

On 26/03/2010 12:47, Simon Marlow wrote:
> On 26/03/2010 12:37, Mikhail Glushenkov wrote:
>> Hi,
>>
>> 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.
> 
> Cheers,
>     Simon
> 



More information about the Libraries mailing list