Apache 2.0.35 + PHP 4.1.2 -> Error

From: Felix Zorn <Wavy(at)gmx.de>
Date: Sat, 13 Apr 2002 21:30:56 +0200

Hallo,

ich habe einen Apache 2.0.35 am rennen, funktioniert einwandfrei. Nun
wollte ich noch PHP4 aus den Ports (dazu)installieren
(/usr/ports/www/mod_php4) was mit folgender Fehlermeldung schon beim
Compilen (make) beendet wurde:

================================================================================
In file included from /usr/local/include/apache2/httpd.h:85,
                 from sapi_apache.c:32:
/usr/local/include/apache2/pcreposix.h:26: warning: `REG_ICASE' redefined
/usr/include/regex.h:63: warning: this is the location of the previous definition
/usr/local/include/apache2/pcreposix.h:27: warning: `REG_NEWLINE' redefined
/usr/include/regex.h:65: warning: this is the location of the previous definition
/usr/local/include/apache2/pcreposix.h:28: warning: `REG_NOTBOL' redefined
/usr/include/regex.h:91: warning: this is the location of the previous definition
/usr/local/include/apache2/pcreposix.h:29: warning: `REG_NOTEOL' redefined
/usr/include/regex.h:92: warning: this is the location of the previous definition
/usr/local/include/apache2/pcreposix.h:34: warning: `REG_EXTENDED' redefined
/usr/include/regex.h:62: warning: this is the location of the previous definition
/usr/local/include/apache2/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/apache2/httpd.h:85,
                 from sapi_apache.c:32:
/usr/local/include/apache2/pcreposix.h:40: syntax error before `15'
/usr/local/include/apache2/pcreposix.h:53: syntax error before `12'
/usr/local/include/apache2/pcreposix.h:66: conflicting types for `regex_t'
/usr/include/regex.h:53: previous declaration of `regex_t'
/usr/local/include/apache2/pcreposix.h:70: conflicting types for `regoff_t'
/usr/include/regex.h:46: previous declaration of `regoff_t'
/usr/local/include/apache2/pcreposix.h:75: conflicting types for `regmatch_t'
/usr/include/regex.h:58: previous declaration of `regmatch_t'
/usr/local/include/apache2/pcreposix.h:79: conflicting types for `regcomp'
/usr/include/regex.h:99: previous declaration of `regcomp'
/usr/local/include/apache2/pcreposix.h:80: conflicting types for `regexec'
/usr/include/regex.h:102: previous declaration of `regexec'
/usr/local/include/apache2/pcreposix.h:81: conflicting types for `regerror'
/usr/include/regex.h:100: previous declaration of `regerror'
/usr/local/include/apache2/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 /usr/ports-work/usr/ports/www/mod_php4/work/php-4.1.2/sapi/apache.
*** Error code 1

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

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

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

Stop in /usr/ports/www/mod_php4.
*** Error code 1

Stop in /usr/ports/www/mod_php4.
================================================================================

Vielleicht weiss jmd. eine Lösung, wäre super.

Gruss
Felix

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sat 13 Apr 2002 - 21:31:32 CEST

search this site