Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2002 10:24:15 -0400
From:      Vladimir Savichev <vlad@ariel.phys.wesleyan.edu>
To:        freebsd-ports@freebsd.org
Cc:        dirk@FreeBSD.org
Subject:   mod_php4 WITH_APACHE2  won't compile 
Message-ID:  <20020510142415.GA39201@ariel.phys.wesleyan.edu>

next in thread | raw e-mail | index | archive | help
Trying to compile in ports  mod_php4 WITH_APACHE2 ( apache2 compiled WITH_THREADS) 
results in 

Making all in apache2filter
/bin/sh /usr/ports/www/mod_php4/work/php-4.2.0/libtool --silent --mode=compile cc  -I. -I/us               r/ports/www/mod_php4/work/php-4.2.0/sapi/apache2filter -I/usr/ports/www/mod_php4/work/php-4.               2.0/main -I/usr/ports/www/mod_php4/work/php-4.2.0 -I/usr/local/include/apache2 -I/usr/ports/               www/mod_php4/work/php-4.2.0/Zend -I/usr/local/include/mysql -I/usr/ports/www/mod_php4/work/p               hp-4.2.0/ext/xml/expat  -D_REENTRANT -D_THREAD_SAFE -I/usr/ports/www/mod_php4/work/php-4.2.0               /TSRM -I/usr/local/include/pth -O -pipe -I/usr/local/include -pthread -DZTS -prefer-pic  -c                sapi_apache2.c
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
.....skip hell lot of other redefinitions 

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.0/sapi/apache2filter.
*** Error code 1

sorry for the long listing. Something wrong with pthread... 
Several people on the list reported success  compiling mod_php4
with apache2 doing it off the ports. So I assume it should work.

Thanks, 
Vlad
-- 

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?20020510142415.GA39201>