I've just been fooling with AOLserver 4.0 beta 2, and my first impression is that many subtle things about the build process have changed since the 3.0 - 3.4 days, and it would be REALLY helpful if someone who fully understands it could write some docs on it all.
Some things I've noticed: - Seems that if you ever rename the directory you keep your AOLserver sources in, you have to re-run ./configure and re-build from scratch, as the configure hard codes the some paths to things in your source directory. It definitely does so for "install-sh", maybe other stuff too, I dunno. Documenting this would be nice. - It appears that you MUST install AOLserver 4.0 before building other modules, like nsoracle, as the new 4.0 Makefile.global or something is making the nsoracle build look for header files in the install directory, rather than the source directory. If you DON'T install AOLserver first, the compile will fail with lots of horrid errors like this: ora8.c:138: ns.h: No such file or directory ora8.c:141: nsdb.h: No such file or directory ora8.c:142: nstcl.h: No such file or directory I'm not sure if this is proper behavior on the part of the nsoracle build or not. If AOLserver must first be installed, that should be documented, and we should also have docs explaining just how the build process for add-on modules like nsoracle is SUPPOSED to work, how to do it, etc. - Even after the above fix, nsoracle still seems completely broken. It has lots of what look like totally bogus compile errors, e.g.: ora8.c:219: parse error before `Ns_DbHandle' ora8.c:219: warning: no semicolon at end of struct or union ora8.c:243: parse error before `}' ora8.c:258: parse error before `*' ora8.c:259: parse error before `*' Once I remove all the bogus DOS line endings in ora8.c, it seems to build fine for AOLserver 3.x, just not for 4.0. What's going on here? Is nsoracle just not compatible with 4.0 at call, or what? Any ideas? - nsopenssl head doesn't seem to compile, I didn't really try to figure out why. Even after tweaking the Makefile for my Solaris system (same as I did before), it's still very broken. Lots and lots of errors, e.g.: nsopenssl.c: In function `NsOpenSSLDriverCreate': nsopenssl.c:262: warning: implicit declaration of function `ConfigGetIntDefault' nsopenssl.c:263: `CONFIG_SERVER_SOCKTIMEOUT' undeclared (first use in this function) What version of nsopenssl should I be using with 4.0? - nscache head and nsxml v1_5 both seem to build ok. I haven't tried nspostgres yet. And tips, advice, or fixes would of course be much appreciated. :) -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com
