Bug 44378

Summary: Can't compile mod_php4 for apache2
Product: Ports & Packages Reporter: Rauf Kuliyev <rauf>
Component: Individual Port(s)Assignee: dirk
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Rauf Kuliyev 2002-10-22 12:20:01 UTC
      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:295: structure has no member named `__pthread_read'
*** Error code 1

Stop in /usr/tmp/usr/ports/www/mod_php4/work/php-4.2.3/sapi/apache2filter.
*** Error code 1

Stop in /usr/tmp/usr/ports/www/mod_php4/work/php-4.2.3/sapi/apache2filter.
*** Error code 1

Stop in /usr/tmp/usr/ports/www/mod_php4/work/php-4.2.3/sapi.
*** Error code 1

Stop in /usr/tmp/usr/ports/www/mod_php4/work/php-4.2.3.
*** Error code 1

Stop in /usr/ports/www/mod_php4.
*** Error code 1

Stop in /usr/ports/www/mod_php4.

How-To-Repeat: cd /usr/ports/www/mod_php4
make WITH_APACHE2=yes
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2002-10-23 13:19:35 UTC
Responsible Changed
From-To: freebsd-ports->dirk

Over to Maintainer
Comment 2 Norikatsu Shigemura freebsd_committer freebsd_triage 2003-05-24 10:13:56 UTC
State Changed
From-To: open->closed

Maybe fixed by updating to 4.3.2RC4.