From owner-freebsd-ports Sat Feb 9 5:29:24 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mcb.kj.uib.no (mcb.kj.uib.no [129.177.52.152]) by hub.freebsd.org (Postfix) with ESMTP id 676EF37B41F for ; Sat, 9 Feb 2002 05:29:19 -0800 (PST) Received: from localhost (mcb@localhost) by mcb.kj.uib.no (8.11.4/8.9.3) with ESMTP id g19DTLo91932 for ; Sat, 9 Feb 2002 14:29:21 +0100 (CET) (envelope-from freebsd-ports@mortencb.cx) Date: Sat, 9 Feb 2002 14:29:21 +0100 (CET) From: Morten-Christian Bernson X-Sender: Reply-To: Morten-Christian Bernson To: Subject: mod_php4 fails Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 I am trying to do a make install in /usr/ports/www/mod_php4/ on a newly installed FreeBSD 4.5 machine. I choose these options: gd, zlib, mcrypt, mhash, mysql, postgresql, snmp, xml, ftp, gettext, iconv, ming, mcal, sockets, transsid. All dependencies are installed as they should but when it comes to php itself, it fails after a while with this as the last lines: ---- Making all in sapi Making all in apache /bin/sh /disk2/usr/ports/www/mod_php4/work/php-4.1.1/libtool --silent --mode=compile cc -I. -I/disk2/usr/ports/www/mod_php4/work/php-4.1.1/sapi/apache -I/disk2/usr/ports/www/mod_php4/work/php-4.1.1/main -I/disk2/usr/ports/www/mod_php4/work/php-4.1.1 -I/usr/local/include/apache -I/disk2/usr/ports/www/mod_php4/work/php-4.1.1/Zend -I/usr/local/include/freetype2/freetype -I/usr/local/include/gd -I/usr/local/include -I/usr/local/include/mcal -I/usr/local/include/mysql -I/usr/local/include/ucd-snmp -I/disk2/usr/ports/www/mod_php4/work/php-4.1.1/TSRM -O -pipe -I/usr/local/include -I/usr/local/include/pgsql -prefer-pic -c sapi_apache.c In file included from /usr/local/include/apache/httpd.h:84, from sapi_apache.c:32: /usr/local/include/apache/pcreposix.h:26: warning: `REG_ICASE' redefined /usr/include/regex.h:63: warning: this is the location of the previous definition /usr/local/include/apache/pcreposix.h:27: warning: `REG_NEWLINE' redefined /usr/include/regex.h:65: warning: this is the location of the previous definition /usr/local/include/apache/pcreposix.h:28: warning: `REG_NOTBOL' redefined /usr/include/regex.h:91: warning: this is the location of the previous definition /usr/local/include/apache/pcreposix.h:29: warning: `REG_NOTEOL' redefined /usr/include/regex.h:92: warning: this is the location of the previous definition /usr/local/include/apache/pcreposix.h:34: warning: `REG_EXTENDED' redefined /usr/include/regex.h:62: warning: this is the location of the previous definition /usr/local/include/apache/pcreposix.h:35: warning: `REG_NOSUB' redefined /usr/include/regex.h:64: warning: this is the location of the previous definition In file included from /usr/local/include/apache/httpd.h:84, from sapi_apache.c:32: /usr/local/include/apache/pcreposix.h:40: syntax error before `15' /usr/local/include/apache/pcreposix.h:53: syntax error before `12' /usr/local/include/apache/pcreposix.h:66: conflicting types for `regex_t' /usr/include/regex.h:53: previous declaration of `regex_t' /usr/local/include/apache/pcreposix.h:70: conflicting types for `regoff_t' /usr/include/regex.h:46: previous declaration of `regoff_t' /usr/local/include/apache/pcreposix.h:75: conflicting types for `regmatch_t' /usr/include/regex.h:58: previous declaration of `regmatch_t' /usr/local/include/apache/pcreposix.h:79: conflicting types for `regcomp' /usr/include/regex.h:99: previous declaration of `regcomp' /usr/local/include/apache/pcreposix.h:80: conflicting types for `regexec' /usr/include/regex.h:102: previous declaration of `regexec' /usr/local/include/apache/pcreposix.h:81: conflicting types for `regerror' /usr/include/regex.h:100: previous declaration of `regerror' /usr/local/include/apache/pcreposix.h:82: conflicting types for `regfree' /usr/include/regex.h:103: previous declaration of `regfree' sapi_apache.c: In function `apache_php_module_main': sapi_apache.c:81: `NOT_FOUND' undeclared (first use in this function) sapi_apache.c:81: (Each undeclared identifier is reported only once sapi_apache.c:81: for each function it appears in.) *** Error code 1 Stop in /disk2/usr/ports/www/mod_php4/work/php-4.1.1/sapi/apache. *** Error code 1 Stop in /disk2/usr/ports/www/mod_php4/work/php-4.1.1/sapi/apache. *** Error code 1 Stop in /disk2/usr/ports/www/mod_php4/work/php-4.1.1/sapi. *** Error code 1 Stop in /disk2/usr/ports/www/mod_php4/work/php-4.1.1. *** Error code 1 Stop in /disk2/usr/ports/www/mod_php4. *** Error code 1 Stop in /disk2/usr/ports/www/mod_php4. *** Error code 1 Stop in /disk2/usr/ports/www/mod_php4. *** Error code 1 Stop in /disk2/usr/ports/www/mod_php4. ---- Here is the uname -a on the machine: FreeBSD greg.MYDOMAIN 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 Any suggestions on how to get it to work? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message