[Haskell-cafe] Building fastcgi from hackage on windows.

Edward Ing edward.ing at gmail.com
Thu Aug 7 21:10:28 EDT 2008

Oh yes. I should mention that I am building this on Windows XP. I
build Network.FastCGI on Ubuntu and it worked because I was able to
install  the libfcgi-dev (which had the libraries and the headers.)

My guess is that WIndows XP is the problem, and that the task of
building on XP is quite different. Where are include headers and
libraries found in Windows XP system? What fastcgi implementation
would you need for a Windows XP? These are the probably the important

Edward Ing

On Thu, Aug 7, 2008 at 7:54 PM, Iain Barnett <iainspeed at gmail.com> wrote:
> On 7 Aug 2008, at 8:58 pm, Edward Ing wrote:
>> I am using the cabal system to build the hackage version of fastcgi.
>> I get the below messages with the "runghc Setup.lhs build" command.
>> Network\FastCGI.hsc:59:21:  fcgiapp.h: No such file or directory
>> Network\FastCGI.hsc: In function `main':
>> Network\FastCGI.hsc:200:0:
>>     error: `FCGX_Request' undeclared (first use in this function)
>> It looks like I need the fastcgi sources. Where does this source come
>> from? I didn't get any dependency messages when I did the setup
>> config.
>> Edward Ing
> I had a similar problem about a month ago, but I can't remember *exactly*
> what I did to fix it. I think I made sure the following were installed (I'm
> pretty sure I ran cabal installs for all of them regardless of what ghc-pkg
> told me, and it worked)
> network-2.0
> alex-2.2
> HTTP-3001.0.4
> cgi-3001.1.6.0
> From my cabal build-log:

More information about the Haskell-Cafe mailing list