[Zope] NS-CGI Auth Patch Problem

Duncan Booth duncan@rcp.co.uk
Thu, 7 Oct 1999 09:41:35 +0000


> As far as missing header files, you need to build the module
> with the header files and libraries that come with your netscape 
> server. There is some documentation on the NS site regarding 
> building NS server extensions.
> 
> If someone out there has binaries that they can send you, great -
> but be sure that the binaries are compatible with your particular
> NS server and version. There are enough different NS servers out
> there now that I'm not sure one binary fits all on a given platform.

Ok, thanks for that. The readme file implied to me that the binaries 
should have been included so perhaps it should be revised 
sometime to say you actually have to build them.

For the record, what I needed to do was:
1) Add <server_home>/include to the include path for the build.
2) Add <server_home>/lib to the lib path for the build.
3) Replace the reference to library libhttpd.lib with ns-httpd36.lib
(I made all of these changes in Visual Studio from the Project 
Settings dialog).

and everything now builds. Now all I need to do is find a time when 
our system administrators don't mind too much if I crash the server 
so I can find out if it all works.

-- 
Duncan Booth                                             duncan@dales.rmplc.co.uk
int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3"
"\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?
http://dales.rmplc.co.uk/Duncan