From owner-freebsd-ports Thu Jul 11 19:36:55 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57EF537B400; Thu, 11 Jul 2002 19:36:50 -0700 (PDT) Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 706A243E84; Thu, 11 Jul 2002 19:36:49 -0700 (PDT) (envelope-from corecode@corecode.ath.cx) Received: from fwd10.sul.t-online.de by mailout02.sul.t-online.com with smtp id 17SqIa-00020b-00; Fri, 12 Jul 2002 04:36:48 +0200 Received: from spirit.zuhause.stoert.net (320050403952-0001@[217.224.167.144]) by fmrl10.sul.t-online.com with esmtp id 17SqIL-0RGagKC; Fri, 12 Jul 2002 04:36:33 +0200 Received: from terrorfish.uni.stoert.net (terrorfish.uni.stoert.net [10.150.180.178]) by spirit.zuhause.stoert.net (8.11.6/8.11.6) with ESMTP id g6C2aXQ06373; Fri, 12 Jul 2002 04:36:33 +0200 (CEST) (envelope-from corecode@corecode.ath.cx) Received: from terrorfish.uni.stoert.net (localhost [127.0.0.1]) by terrorfish.uni.stoert.net (8.12.5/8.12.4) with ESMTP id g6C2ZWBA078959; Fri, 12 Jul 2002 04:35:32 +0200 (CEST) (envelope-from corecode@terrorfish.uni.stoert.net) Received: (from corecode@localhost) by terrorfish.uni.stoert.net (8.12.5/8.12.4/Submit) id g6C2ZW9Z078958; Fri, 12 Jul 2002 04:35:32 +0200 (CEST) Date: Fri, 12 Jul 2002 04:35:22 +0200 From: "Simon 'corecode' Schubert" To: dirk@freebsd.org Cc: ports@freebsd.org, current@freebsd.org Subject: php4 -DWITH_APACHE2 breaks on -current Message-Id: <20020712043522.2e38dbf2.corecode@corecode.ath.cx> X-Mailer: Sylpheed version 0.7.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=.T'Jui,//lSWy4a" X-Sender: 320050403952-0001@t-dialin.net Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=.T'Jui,//lSWy4a Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 --=.T'Jui,//lSWy4a Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9LkB0r5S+dk6z85oRAo0aAKDmXeEiiBdbDmykU0NqL6iIv3+yEwCgzil/ AagUvVIHJ4/FEgtSvtDgiro= =ujPF -----END PGP SIGNATURE----- --=.T'Jui,//lSWy4a-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message