Zeev Suraski wrote: > Finally, it's out. > www.php.net/~zeev/php-4.0.7RC3.tar.gz >
RC3 seems to have the same problem as 4.0.8-dev. I can't compile with mhash some configure option(s). ./configure \ --with-apxs \ --disable-short-tags \ --without-mysql \ --enable-bcmath \ --enable-ftp \ --enable-shmop \ --enable-sysvsem \ --enable-sysvshm \ --enable-sockets \ --enable-mbstring \ --enable-mbstr-enc-trans \ --enable-memory-limit \ --enable-wddx \ --with-bz2 \ --with-curl \ --with-ftp \ --with-iconv \ --with-mhash \ --with-mcrypt \ --with-openssl \ --with-pgsql \ --with-regex=system \ --with-zlib \ --with-gd=/usr \ --enable-gd-native-ttf \ --with-freetype-dir=/usr/local \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-xpm-dir=/usr/X11R6 \ /bin/sh /home/yohgaki/cvs/php/dist/php-4.0.7RC3/libtool --silent --mode=compile gcc -I. -I/home/yohgaki/cvs/php/dist/php-4.0.7RC3/ext/mhash -I/home/yohgaki/cvs/php/dist/php-4.0.7RC3/main -I/home/yohgaki/cvs/php/dist/php-4.0.7RC3 -I/usr/include/apache -I/home/yohgaki/cvs/php/dist/php-4.0.7RC3/Zend -I/usr/local/include -I/usr/include/freetype2/freetype -I/home/yohgaki/cvs/php/dist/php-4.0.7RC3/ext/xml/expat -DLINUX=22 -DMOD_SSL=208104 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I/home/yohgaki/cvs/php/dist/php-4.0.7RC3/TSRM -g -O2 -prefer-pic -c mhash.c In file included from mhash.c:32: /usr/local/include/mhash.h:31: parse error before `MHash' <= C++ CLASS *SNIP useless errors/warnings* make[3]: *** [mhash.lo] Error 1 make[3]: Leaving directory `/home/yohgaki/cvs/php/dist/php-4.0.7RC3/ext/mhash' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/yohgaki/cvs/php/dist/php-4.0.7RC3/ext/mhash' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/yohgaki/cvs/php/dist/php-4.0.7RC3/ext' make: *** [all-recursive] Error 1 OS: Linux 2.4.4/glibc 2.2.2 gcc: 2.96 (This should be mostly the same as gcc comes with RedHat7.1) Apache: 1.3.20/mod-ssl 2.8.4 mhash: 0.8.3 With much simpler config, it compiles. This configure works for me. ./configure --with-apxs --disable-short-tags --without-mysql --with-mhash (Sorry, I haven't test other combinations) -- Yasuo Ohgaki -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]