Okay, I was able to figured out how to get PHP to use java classes. I was able to get rpm to build all the packages. Now, I'm trying to enable servlets. The only difference is I've added --with-servlet to the list of arguments to pass to the configure script. I get the following compile error, that wasn't present when it was just --with-java.
make[3]: Entering directory `/usr/src/redhat/BUILD/php-4.1.2/ext/session' /bin/sh /usr/src/redhat/BUILD/php-4.1.2/libtool --silent --mode=compile /usr/src/redhat/BUILD/php-4.1.2/meta_ccld -I. -I/usr/src/redhat/BUILD/php-4.1.2/ext/session -I/usr/src/redhat/BUILD/php-4.1.2/main -I/usr/src/redhat/BUILD/php-4.1.2 -I/usr/src/redhat/BUILD/php-4.1.2/Zend -I/usr/include/libxml2 -I/usr/include/freetype2/freetype -I/usr/include/imap -I/usr/include/mysql -I/usr/local/include -I/usr/include/pspell -I/usr/include/ucd-snmp -D_REENTRANT -I/usr/src/redhat/BUILD/php-4.1.2/TSRM -O2 -march=i386 -mcpu=i686 -fPIC -pthread -DZTS -prefer-pic -c mod_mm.c mod_mm.c:37:3: #error mm is not thread-safe make[3]: *** [mod_mm.lo] Error 1 I found one useful reference to this error dated 2001. The bug was closed out saying that the mm module can't be used in a threading web server like Apache 2, which I'm NOT using. Thanks for any help. -- Jiann-Ming Su [EMAIL PROTECTED] 404-712-2603 Development Team Systems Administrator General Libraries Systems Division -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php