The winsock2 headers need to be in the same path as the other NWSDK headers. In other words, they should be found within the path:
Set NWSDKDIR=c:\novell\ndk\nwsdk For SED, I am doing the same thing that you are which is using the cygwin tools Set GNUTOOLS=c:\prg\tools\cygwin which works just fine. Brad >>> NormW <[EMAIL PROTECTED]> Tuesday, May 17, 2005 2:31:32 AM >>> Good evening,... ..and apologies if this is wearing thin, but after updating the local trunk copy of Apache 1.3, I still see the following error: > C:\Projects\svn\apache-1.3>make -f NWGNUmakefile > Building C:/Projects/svn/apache-1.3/src > Generating Release\cc.opt > Creating dependancy list for main_nlm.c > Building C:/Projects/svn/apache-1.3/src/ap > Generating Release\cc.opt > Creating dependancy list for ap_base64.c > ### mwccnlm Compiler: > # In: C:\novell\ndk\nwsdk\include\nlm\ws2nlm.h > # From: ap_base64.c > # -------------------- > # 116: # include <winsock2.h> > # Error: ^ > # the file 'winsock2.h' cannot be opened > # (included from: > # os.h:41 > # ap_config.h:73 > # ap_base64.c:24) There is only one location where I can find the 'missing' header and that isn't on the Include list... And unless there was a recent update, the apachetools.zip from last year didn't have SED in it and the developer page suggests it is the same. Set NWSDKDIR=c:\novell\ndk\nwsdk Set LDAPSDK=c:\novell\ndk\cldapsdk Set AP_WORK=c:\projects\svn\apache-1.3 Set GNUTOOLS=c:\prg\tools\cygwin Set MULTIPROC=1 Set WS295SDK=c:\novell\ws295sdk <= found winsock2.h in here; Regards, Norm Brad Nicholes wrote: > The documentation has just been updated. Apache 1.3 for NetWare is a CLib > application rather than LibC. It was incorrectly referencing the wrong SDK. > You should be downloading and using the CLib SDK from > http://developer.novell.com/ndk/clib.htm As far as SED goes, I don't know > why the 4.1.4 version wouldn't work. Once you get the right CLib SDK loaded, > I think everything else will come together. > > Brad > > >>>>[EMAIL PROTECTED] Sunday, May 15, 2005 3:09:08 AM >>> > > Greetings All, > Had a need to build a local copy of Apache 1.3.33 (source) and after > setting the env vars as described for NetWare, got the following: > > "Unable to locate winsock2.h" > > A search found this in \Novell\ws295sdk\include, so I added that to the > Include path list (solved that), but now get a problem with the sed > tool not liking the CL format, the leading ' around the substitute (s) > command being an unaccepted element. I'm currently using the GnuWin32 > 4.1.4 version of sed, after upgrading from 3.02, also without success. > > Is the build process described in the 1.3 docs complete(?) and what > version of sed is used to build the nlm binaries for apache.org ? > > TIA, > Regards, > Norm > > > > > . >
