rse 99/08/12 02:02:36
Added: mpm README.rse Log: Hell, I'm really productive today and couldn't resist to get also Apache/mpm finally running. So here it comes: Ralf's second writeup, this time for Apache/mpm and with infos how one gets running FooBar/OS+prefork-MPM, FooBar/OS+dexter-MPM+GNU/Pth and FooBar/OS+dexter-MPM+FreeBSD/uthread. Now the Apache/mpm stuff makes me a little bit more happier, but I've to admit that IMHO the stuff is still a greater mess than Apache/pthread. And I've to conclude that _neither_ Apache/pthread _nor_ Apache/mpm should be directly used as the basis source tree for Apache 2.0. I go with Roy's opinion here... Revision Changes Path 1.1 apache-2.0/mpm/README.rse Index: README.rse =================================================================== Get the Apache/mpm beast running Ralf S. Engelschall, 12-Aug-1999 ------------------------------------ These are my instructions for getting Apache/mpm running under various platforms. For some background details see apache-apr/pthread/README.rse, too. o FooBar/OS + prefork MPM [the portable preforking process model] $ cd <ROOT>/apache-mpm/mpm/ $ ./configure \ --with-layout=GNU \ --target=apache \ --prefix=/tmp/apache-mpm \ --set-rule=MPM_METHOD:prefork \ --disable-module=status \ --disable-module=include \ --disable-module=cgi $ make $ make install o FooBar/OS + Ralf S. Engelschall's GNU Pth + dexter MPM [the portable hybrid (preforking+prethreading) process model] $ cd <ROOT>/apache-mpm $ lynx ftp://alpha.gnu.org/gnu/pth/pth-1.1b3.tar.gz [You can use also any later Pth version, of course. ] [Especially release versions >= 1.1.0 from ftp://ftp.gnu.org/gnu/pth/] $ gunzip <pth-1.1b3.tar.gz | tar xvf - $ cd pth-1.1b3 $ ./configure \ --disable-shared \ --enable-pthread \ --enable-syscall-soft $ make $ make test $ cd <ROOT>/apache-mpm/mpm $ CFLAGS='-I\$(SRCDIR)/../pth-1.1b3 -DPTHREAD_EVERYWHERE -DNO_SERIALIZED_ACCEPT' \ LDFLAGS='-L\$(SRCDIR)/../pth-1.1b3/.libs' \ LIBS="-lpthread" \ ./configure \ --with-layout=GNU \ --target=apache \ --prefix=/tmp/apache-mpm --set-rule=MPM_METHOD:dexter \ --disable-module=status \ --disable-module=include \ --disable-module=cgi $ make $ make install o FreeBSD 3.1 + John Birrell's uthread + dexter MPM [the FreeBSD specific hybrid (preforking+prethreading) process model] $ cd <ROOT>/apache-apr/poll $ ./configure $ make $ cd <ROOT>/apache-mpm/mpm $ CC='cc' \ OPTIM='-O2' \ CFLAGS='-pthread -I\$(SRCDIR)/../../../apache-apr/poll -DNO_SERIALIZED_ACCEPT' \ LDFLAGS='-pthread -L\$(SRCDIR)/../../../apache-apr/poll' \ LIBS='-lpoll' \ ./configure \ --with-layout=GNU \ --target=apache \ --prefix=/tmp/apache-mpm \ --set-rule=MPM_METHOD:dexter \ --disable-module=status \ --disable-module=include \ --disable-module=cgi $ make $ make install