From owner-freebsd-current Thu Jul 11 20:58:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB66237B400; Thu, 11 Jul 2002 20:58:45 -0700 (PDT) Received: from encontacto.net (adsl-64-173-182-158.dsl.mtry01.pacbell.net [64.173.182.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E28F43E58; Thu, 11 Jul 2002 20:58:44 -0700 (PDT) (envelope-from eculp@encontacto.net) Received: from localhost (localhost [127.0.0.1]) (uid 80) by encontacto.net with local; Thu, 11 Jul 2002 20:58:44 -0700 Received: from adsl-64-173-182-155.dsl.mtry01.pacbell.net (adsl-64-173-182-155.dsl.mtry01.pacbell.net [64.173.182.155]) as user eculp@encontacto.net@encontacto.net by Mail.EnContacto.Net with HTTP; Thu, 11 Jul 2002 20:58:43 -0700 Message-ID: <1026446323.3d2e53f401966@Mail.EnContacto.Net> Date: Thu, 11 Jul 2002 20:58:44 -0700 From: Edwin Culp To: Simon 'corecode' Schubert Cc: "dirk@freebsd.org" , "ports@freebsd.org" , "current@freebsd.org" Subject: Re: php4 -DWITH_APACHE2 breaks on -current References: <20020712043522.2e38dbf2.corecode@corecode.ath.cx> In-Reply-To: <20020712043522.2e38dbf2.corecode@corecode.ath.cx> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Priority: 3 (Normal) X-Originating-IP: 64.173.182.155 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Simon, Alex Dupre submitted mod_php-dev with PR ports/39623 on July 7 that I have been using and works great There is/was a copy of the port at: http://www.gufi.org/~alex/php-dev.tar.gz Alex has done a several updates on this and I think it has never been committed. I have used every version with no problems. It has always worked as expected with both apache2 and apache13. It uses a snapshot of php 4.3.0 w/PEAR. Hopefully it will be committed soon. ed Quoting Simon 'corecode' Schubert : | hello, | | just wanted to note that php4 breaks with -DWITH_APACHE2 on latest | -CURRENT: | | [...] | Making all in apache2filter | /bin/sh /usr/obj/k7/usr/ports/www/mod_php4/work/php-4.2.1/libtool --silent | --mode=compile cc -I. | -I/usr/obj/k7/usr/ports/www/mod_php4/work/php-4.2.1/sapi/apache2filter | -I/usr/obj/k7/usr/ports/www/mod_php4/work/php-4.2.1/main | -I/usr/obj/k7/usr/ports/www/mod_php4/work/php-4.2.1 | -I/usr/local/include/apache2 | -I/usr/obj/k7/usr/ports/www/mod_php4/work/php-4.2.1/Zend | -I/usr/obj/k7/usr/ports/www/mod_php4/work/php-4.2.1/ext/xml/expat | -D_REENTRANT -D_THREAD_SAFE | -I/usr/obj/k7/usr/ports/www/mod_php4/work/php-4.2.1/TSRM | -I/usr/local/include/pth -O -pipe -march=athlon -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:1: warning: "fork" redefined | In file included from | /usr/obj/k7/usr/ports/www/mod_php4/work/php-4.2.1/TSRM/TSRM.h:40, | from | /usr/obj/k7/usr/ports/www/mod_php4/work/php-4.2.1/Zend/zend_alloc.h:26, | from | /usr/obj/k7/usr/ports/www/mod_php4/work/php-4.2.1/Zend/zend.h:154, | from | /usr/obj/k7/usr/ports/www/mod_php4/work/php-4.2.1/main/php.h:34, | from sapi_apache2.c:23: | /usr/local/include/pth/pth.h:507:1: 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:521:1: warning: "pwrite" redefined | In file included from | /usr/obj/k7/usr/ports/www/mod_php4/work/php-4.2.1/TSRM/TSRM.h:40, | from | /usr/obj/k7/usr/ports/www/mod_php4/work/php-4.2.1/Zend/zend_alloc.h:26, | from | /usr/obj/k7/usr/ports/www/mod_php4/work/php-4.2.1/Zend/zend.h:154, | from | /usr/obj/k7/usr/ports/www/mod_php4/work/php-4.2.1/main/php.h:34, | from sapi_apache2.c:23: | /usr/local/include/pth/pth.h:526:1: warning: this is the location of the | previous definition | sapi_apache2.c: In function `php_input_filter': | sapi_apache2.c:287: structure has no member named `__pthread_read' | *** Error code 1 | | this is because pth's pthread.h re#defines several funtions to | __pthread_funtions but apache's bucket stuff uses a struct with a member | variable called ``read''. so this gets replaced and boom. | | cheers | simon | | -- | /"\ http://corecode.ath.cx/#donate | \ / | \ ASCII Ribbon Campaign | / \ Against HTML Mail and News -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message