Re: Building mod_fastcgi as a DSO on Windows
Will Hawes <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
2009/8/7 Will Hawes <[email protected]>: > Having had various issues with binary releases of mod_fastcgi.dll, I > thought I'd have a go at building my own from source to see if that > makes any difference. I'm trying to build mod_fastcgi for Apache 2.2 > on Windows. Following on from my last message, I found http://www.fastcgi.com/mod_fastcgi/INSTALL and noticed that it mentions building mod_fastcgi from the command line. I did the following: 1) Downloaded the Win32 source for Apache 2.2 from http://apache.mirror.rbftpnetworks.com/httpd/httpd-2.2.12-win32-src.zip. 2) Extracted it to C:\work\httpd-2.2.12 3) Edited APACHE_SRC_DIR in Makefile.nt to point to C:\work\httpd-2.2.12. 4) Ran "nmake -f Makefile.nt CFG=release". I got the following output: C:\work\mod_fastcgi-SNAP-0811090952\Win32>nmake -f Makefile.nt CFG=release Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. Makefile.nt(71) : fatal error U1088: invalid separator '::' on inference rule Stop. There are several instances of "::" in Makefile.nt. I tried altering these to a single ":" instead on the offchance it would make a difference, after which I got the following: C:\work\mod_fastcgi-SNAP-0811090952\Win32>nmake -f Makefile.nt CFG=release Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. Warning: cannot find "mod_fastcgi.dep" cl.exe /nologo /MT /W3 /GX /O2 /I "C:\work\httpd-2.2.12\include" /I "C:\ work\httpd-2.2.12\os\win32" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp".\Release\mod_fastcgi.pch" /YX /Fo".\Release\\" /Fd".\Release\\" /FD /c ..\fcgi_buf.c cl : Command line warning D9035 : option 'GX' has been deprecated and will be removed in a future release cl : Command line warning D9036 : use 'EHsc' instead of 'GX' cl : Command line warning D9002 : ignoring unknown option '/YX' fcgi_buf.c c:\work\httpd-2.2.12\include\ap_config.h(25) : fatal error C1083: Cannot open include file: 'apr.h': No such file or directory NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2' Stop. The only similarly-named files in my Apache source dir are apr.h.in and apr.hw under C:\work\httpd-2.2.12\srclib\apr\include, not sure if those are relevant somehow?