From: [EMAIL PROTECTED] Operating system: FreeBSD 4.6-RC PHP version: 4.2.1 PHP Bug Type: Compile Failure Bug description: port www/mod_php4 fails compile with apache2
I just set up a test machine using apache2 and php4.2.1. After I compiled successfully apache2 and the standalone version of php4, I tried to compile the mod_php4-port. Following errors encountered: BATCH=yes WITH_APACHE2=yes make install clean ===> Building for mod_php4-4.2.1_1 Making all in Zend Making all in main Making all in ext Making all in zlib Making all in bz2 Making all in ctype Making all in gd Making all in gettext Making all in iconv Making all in ldap Making all in mcrypt Making all in mhash Making all in mysql Making all in pcre Making all in pcrelib Making all in pdf Making all in pgsql Making all in posix Making all in session Making all in sockets Making all in standard Making all in sysvsem Making all in sysvshm Making all in xml Making all in xmlrpc Making all in libxmlrpc Making all in xslt Making all in sapi Making all in apache2filter /bin/sh /usr/ports/www/mod_php4/work/php-4.2.1/libtool --silent --mode=compile cc -I. -I/usr/ports/www/mod_php4/work/php-4.2.1/sapi In file included from /usr/local/include/apache2/apr_portable.h:89, from /usr/local/include/apache2/http_protocol.h:64, from sapi_apache2.c:38: /usr/local/include/pth/pthread.h:504: warning: `fork' redefined /usr/local/include/pth/pth.h:507: warning: this is the location of the previous definition /usr/local/include/pth/pthread.h:505: warning: `sleep' redefined /usr/local/include/pth/pth.h:510: warning: this is the location of the previous definition /usr/local/include/pth/pthread.h:506: warning: `sigwait' redefined /usr/local/include/pth/pth.h:512: warning: this is the location of the previous definition /usr/local/include/pth/pth.h:517: warning: this is the location of the previous definition /usr/local/include/pth/pthread.h:513: warning: `write' redefined /usr/local/include/pth/pth.h:518: warning: this is the location of the previous definition /usr/local/include/pth/pthread.h:514: warning: `readv' redefined /usr/local/include/pth/pth.h:519: warning: this is the location of the previous definition /usr/local/include/pth/pthread.h:515: warning: `writev' redefined /usr/local/include/pth/pth.h:520: warning: this is the location of the previous definition /usr/local/include/pth/pthread.h:516: warning: `recv' redefined /usr/local/include/pth/pth.h:521: warning: this is the location of the previous definition /usr/local/include/pth/pth.h:526: warning: this is the location of the previous definition In file included from /usr/local/include/apache2/apr_portable.h:89, from /usr/local/include/apache2/http_protocol.h:64, from sapi_apache2.c:38: /usr/local/include/pth/pthread.h:186: redefinition of `nfds_t' /usr/local/include/pth/pth.h:56: `nfds_t' previously declared here sapi_apache2.c: In function `php_input_filter': sapi_apache2.c:287: structure has no member named `__pthread_read' *** Error code 1 Stop in /usr/ports/www/mod_php4/work/php-4.2.1/sapi/apache2filter. *** Error code 1 Stop in /usr/ports/www/mod_php4/work/php-4.2.1/sapi/apache2filter. *** Error code 1 Stop in /usr/ports/www/mod_php4/work/php-4.2.1/sapi. *** Error code 1 Stop in /usr/ports/www/mod_php4/work/php-4.2.1. *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. bash-2.05a# exit As you can see I use many options - if want to know which I can append them. Jens -- Edit bug report at http://bugs.php.net/?id=17534&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17534&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17534&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17534&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17534&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17534&r=support Expected behavior: http://bugs.php.net/fix.php?id=17534&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17534&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17534&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17534&r=globals