Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2002 23:55:22 +0200 (WET)
From:      Evren Yurtesen <eyurtese@turkuamk.fi>
To:        freebsd-ports@freebsd.org
Subject:   mod_php4 port doesnt compile properly
Message-ID:  <Pine.A41.4.10.10211172354240.15880-100000@bessel.tekniikka.turkuamk.fi>

next in thread | raw e-mail | index | archive | help
Hi,
If I have the apache2 compiled with perchild module and try to install
php4 module with apache2 support I get the following error...

D_THREAD_HACK -D_REENTRANT -D_THREAD_SAFE
-I/usr/ports/www/mod_php4/work/php-4.2.3/TSRM -I/usr/local/include/pth -O2
-pipe -march=pentiumpro -I/usr/local/include -pthread -DZTS -prefer-pic
-o libxml.la  xml.lo  expat/libexpat.la
Making all in sapi
Making all in apache2filter
/bin/sh /usr/ports/www/mod_php4/work/php-4.2.3/libtool --silent
--mode=compile cc  -I.
-I/usr/ports/www/mod_php4/work/php-4.2.3/sapi/apache2filter
-I/usr/ports/www/mod_php4/work/php-4.2.3/main
-I/usr/ports/www/mod_php4/work/php-4.2.3 -I/usr/local/include/apache2
-I/usr/ports/www/mod_php4/work/php-4.2.3/Zend -I/usr/local/include/mysql
-I/usr/ports/www/mod_php4/work/php-4.2.3/ext/xml/expat  -DNO_IDEA
-DFREEBSD_THREAD_HACK -D_REENTRANT -D_THREAD_SAFE
-I/usr/ports/www/mod_php4/work/php-4.2.3/TSRM -I/usr/local/include/pth -O2
-pipe -march=pentiumpro -I/usr/local/include -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:295: structure has no member named `__pthread_read'
*** Error code 1

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

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

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

Stop in /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.




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?Pine.A41.4.10.10211172354240.15880-100000>