Date: Mon, 1 Jul 2002 01:06:24 -0700 (PDT) From: Jens Rehsack <rehsack@liwing.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/40069: mod_php4 doesn't compile with apache2 (& threads?) Message-ID: <200207010806.g6186OXo069768@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 40069 >Category: ports >Synopsis: mod_php4 doesn't compile with apache2 (& threads?) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 01 01:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jens Rehsack >Release: 4.6-STABLE >Organization: LiWing IT-Services >Environment: FreeBSD winnie.muppets.liwing.de 4.6-STABLE FreeBSD 4.6-STABLE #5: Tue Jun 18 01:07:58 GMT 2002 root@winnie.muppets.liwing.de:/usr/obj/usr/src/sys/WINNIE i386 >Description: I try to compile mod_php4 with following options: PHP4_OPTIONS=\"GD2\" \"zlib\" \"bzip2\" \"mcrypt\" \"mhash\" \"pdflib\" \"MySQL\" \"PostgreSQL\" \"OpenLDAP2\" \"XML\" \"XMLRPC\" \"XSLT\" \"gettext\" \"iconv\" \"sockets\" \"sysvsem\" \"sysvshm\" I get everytime the same error message - here the tail of the output: /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/ext/xslt -I/usr/ports/www/mod_php4/work/php-4.2.1/main -I/usr/ports/www/mod_php4/work/php-4.2.1 -I/usr/local/include/apache2 -I/usr/ports/www/mod_php4/work/php-4.2.1/Zend -I/usr/local/include/freetype2/freetype -I/usr/local/include -I/usr/local/include/mysql -I/usr/ports/www/mod_php4/work/php-4.2.1/ext/xmlrpc/libxmlrpc -D_REENTRANT -D_THREAD_SAFE -I/usr/ports/www/mod_php4/work/php-4.2.1/TSRM -I/usr/local/include/pth -O2 -pipe -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -mcpu=pentiumpro -march=pentiumpro -I/usr/local/include -I/usr/local/include/pgsql -pthread -DZTS -prefer-pic -c sablot.c sablot.c:121: warning: initialization from incompatible pointer type sablot.c:122: warning: initialization from incompatible pointer type sablot.c:123: warning: initialization from incompatible pointer type sablot.c:124: warning: initialization from incompatible pointer type sablot.c:125: warning: initialization from incompatible pointer type sablot.c:126: warning: initialization from incompatible pointer type sablot.c:127: warning: initialization from incompatible pointer type sablot.c:128: warning: initialization from incompatible pointer type sablot.c:130: warning: initialization from incompatible pointer type /bin/sh /usr/ports/www/mod_php4/work/php-4.2.1/libtool --silent --mode=link cc -I. -I/usr/ports/www/mod_php4/work/php-4.2.1/ext/xslt -I/usr/ports/www/mod_php4/work/php-4.2.1/main -I/usr/ports/www/mod_php4/work/php-4.2.1 -I/usr/local/include/apache2 -I/usr/ports/www/mod_php4/work/php-4.2.1/Zend -I/usr/local/include/freetype2/freetype -I/usr/local/include -I/usr/local/include/mysql -I/usr/ports/www/mod_php4/work/php-4.2.1/ext/xmlrpc/libxmlrpc -D_REENTRANT -D_THREAD_SAFE -I/usr/ports/www/mod_php4/work/php-4.2.1/TSRM -I/usr/local/include/pth -O2 -pipe -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -mcpu=pentiumpro -march=pentiumpro -I/usr/local/include -I/usr/local/include/pgsql -pthread -DZTS -prefer-pic -o libxslt.la xslt.lo sablot.lo 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/apache2filter -I/usr/ports/www/mod_php4/work/php-4.2.1/main -I/usr/ports/www/mod_php4/work/php-4.2.1 -I/usr/local/include/apache2 -I/usr/ports/www/mod_php4/work/php-4.2.1/Zend -I/usr/local/include/freetype2/freetype -I/usr/local/include -I/usr/local/include/mysql -I/usr/ports/www/mod_php4/work/php-4.2.1/ext/xmlrpc/libxmlrpc -D_REENTRANT -D_THREAD_SAFE -I/usr/ports/www/mod_php4/work/php-4.2.1/TSRM -I/usr/local/include/pth -O2 -pipe -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -mcpu=pentiumpro -march=pentiumpro -I/usr/local/include -I/usr/local/include/pgsql -pthread -DZTS -prefer-pic -c sapi_apache2.c In file included from /usr/local/include/apache2/apr_portable.h:90, 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/pthread.h:507: warning: `waitpid' redefined /usr/local/include/pth/pth.h:508: warning: this is the location of the previous definition /usr/local/include/pth/pthread.h:508: warning: `connect' redefined /usr/local/include/pth/pth.h:515: warning: this is the location of the previous definition /usr/local/include/pth/pthread.h:509: warning: `accept' redefined /usr/local/include/pth/pth.h:516: warning: this is the location of the previous definition /usr/local/include/pth/pthread.h:510: warning: `select' redefined /usr/local/include/pth/pth.h:513: warning: this is the location of the previous definition /usr/local/include/pth/pthread.h:511: warning: `poll' redefined /usr/local/include/pth/pth.h:514: warning: this is the location of the previous definition /usr/local/include/pth/pthread.h:512: warning: `read' redefined /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/pthread.h:517: warning: `send' redefined /usr/local/include/pth/pth.h:522: warning: this is the location of the previous definition /usr/local/include/pth/pthread.h:518: warning: `recvfrom' redefined /usr/local/include/pth/pth.h:523: warning: this is the location of the previous definition /usr/local/include/pth/pthread.h:519: warning: `sendto' redefined /usr/local/include/pth/pth.h:524: warning: this is the location of the previous definition /usr/local/include/pth/pthread.h:520: warning: `pread' redefined /usr/local/include/pth/pth.h:525: warning: this is the location of the previous definition /usr/local/include/pth/pthread.h:521: warning: `pwrite' redefined /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:90, 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 Script done on Sun Jun 30 14:46:29 2002 I have the most current ports installed (all required - f.e. apache2 - updated) >How-To-Repeat: echo PHP4_OPTIONS=\"GD2\" \"zlib\" \"bzip2\" \"mcrypt\" \"mhash\" \"pdflib\" \"MySQL\" \"PostgreSQL\" \"OpenLDAP2\" \"XML\" \"XMLRPC\" \"XSLT\" \"gettext\" \"iconv\" \"sockets\" \"sysvsem\" \"sysvshm\" >>/etc/make.conf cd /usr/ports/www/mod_php4 BATCH=yes WITH=APACHE2=yes make all install clean >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207010806.g6186OXo069768>