Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Spence, Ian (ELS-CAM) <I.Spence@Elsevier.com> - 2005-03-03 17:06:35
A colleague of mine has tried to build the dev1.9 source but is seeing the
following error. I know you have said other people have warned of
mod_security not building on Windows. Is getpwuid the wrong method call for
windows, can we simply replace this with an alternative method? Can you
suggest any solution?
From: Graham, Phillip (ELS)
Sent: 03 March 2005 15:58
To: Spence, Ian (ELS-CAM)
after much trying and searching for an answer it would seem that 1.9 does
not build on windows (it uses getpwuid - which is a function not provided on
Win32). I've posted a question on the newsgroup - and then spotted a reply
to a message from you - which says 1.9 does not compile on windows.
From: Ivan Ristic <ivanr@we...> - 2005-03-03 17:50:09
Spence, Ian (ELS-CAM) wrote:
> A colleague of mine has tried to build the dev1.9 source but is seeing the
> following error. I know you have said other people have warned of
> mod_security not building on Windows. Is getpwuid the wrong method call for
> windows, can we simply replace this with an alternative method? Can you
> suggest any solution?
If that's the only problem then simply comment out the offending
parts. The getpwuid call only makes sense on Unix platforms anyway.
Or surround the code with #if !(defined(WIN32)) and #endif
Apache Security (O'Reilly) - http://www.apachesecurity.net
Open source web application firewall - http://www.modsecurity.org