Red Hat
you need more configure options on Red Hat because it keeps things in different places. This is what I use -- but that ophilo stuff has an 'o' just to indicate that it's me (same with authuser-group):
./configure --with-web-path=/var/www/html/ophilo --with-web-url=/ophilo --with-cgi-path=/var/www/cgi-bin/ophilo --with-cgi-url=/cgi-bin/ophilo --with-authuser-group=orion --localstatedir=$HOME
Red Hat and its derivatives (which YDL still is, right?) can be picky about some things, permission-wise. I don't know to what extent any of these might be the problem, but:
Ensure that the path to your installation and to your source texts is world-readable all the way down. Home directories seem not to be the best installation target: they're generally not world-readable, and in my experience, recent (Fedora 1, the first Red Hat I've used in a while) versions of Red Hat won't let you read files if their path isn't readable by you all the way down -- i.e. if /home/markw is rwx------ and /home/markw/OtaShk is rwxr-xr-x, it still won't let you read OtaShk if you're not the owner of /home/markw/. And the apache user or the philologic "nobody" user is obviously not the owner of that directory. So philologic, your source texts, and all parent directories must be rwxrwxr-x.
Ensure that the OtaShk database image's "crapser" is executable.
Verify that nserver is running (ps -e | grep nserv).
Solaris
Solaris almost certainly still has some problems, but I've solved every problem I had on my Solaris machine, so I need others to test it. You'll need to install GNU ld and sort (in the GNU binutils and coreutils/textutils packages, respectively) and make sure they're first in your $PATH
You might get some failures because you lack libraries/includes that I didn't expect people to lack and so didn't make them fatal ./configure errors. Let me know!
GNU ld is a dependancy. It's in the "binutils" package at http://www.gnu.org/software/binutils/ or already-compiled at ftp://ftp.sunfreeware.com/pub/freeware/sparc/8/binutils-2.11.2-sol8-sparc-local.gz (that's for Solaris 8/Sparc; I don't see a Solaris 9 version but I've yet to have difficulty installing sunfreeware binaries for other revisions of Solaris -- but then again I have yet to installl anything on Solaris 9).
If you already have it installed, you need to put its location at the head of your PATH or define LD=/some/other/location/ld at the beinning of your ./configure line.
Running philoload on Solaris, I got this error:
ld.so.1: p-t1: fatal: libgdbm.so.3: open failed: No such file or directory
Killed
make[1]: *** [gdbm.t1] Error 137
I fixed it by setting my shell's $LD_LIBRARY_PATH to /usr/local/lib/, which is where pkgadd put libgdbm
But I think the canonical way to fix it is to run ./configure specifying some CFLAGS:
$ CFLAGS="-L/usr/local/lib -I/usr/local/include" ./configure --with-blahblahblah
Mac OS X
The OS X configure line:
CFLAGS="-I/sw/include -L/sw/lib" ./configure --with-cgi-path=/Library/WebServer/CGI-Executables/philologic --with-cgi-url=/cgi-bin/philologic --with-web-path=/Library/WebServer/Documents/philologic --with-web-url=/philologic --with-authuser-group=admin --with-init-d=$HOME --with-boot-init-d=$HOME