can't compile apache 1.3.6 with B3 on solaris

From: Date: Tue, 30 Nov 1999 22:11:28 +0000
Subject: can't compile apache 1.3.6 with B3 on solaris
Groups: php.version4 
Request: Send a blank email to php-version4+get-7123@lists.php.net to get a copy of this message
Howdy folks, I've been working with B2 for a while, and decided to upgrade to B3. I'm using Apache 1.3.6 on a solaris box. However, I can't get apache to compile properly once it enters the src/modules/php4 dir. I don't have any problems with the same Apache tree with B2. Here is my information B3 configure line ./configure --with-oracle=$ORACLE_HOME --with-oci8=$ORACLE_HOME --with-system-regex --with-apache=$RC_PROJ_ROOT/apache_1.3.6 B2 configure line ./configure --with-oracle=$ORACLE_HOME --with-oci8=$ORACLE_HOME --with-system-regex --with-apache=$RC_PROJ_ROOT/apache_1.3.6 apache 1.3.6 configure ./configure --prefix=$RC_PROJ_ROOT/apache_1.3.6 --activate-module=src/modules/php4/libphp4.a Output from apache from a B3 lib ===> src/modules/php4 gcc -c -I../../os/unix -I../../include -I/export/home/waltb/rocketcash/openssl-0.9.2b/include -DSOLARIS2=260 -DTARGET=\"httpsd\" -I/export/home/waltb/rocketcash/php-4.0b3 -I/export/home/waltb/rocketcash/php-4.0b3/libzend -I/export/home/waltb/rocketcash/php-4.0b3/libzend -I/export/home/waltb/rocketcash/php-4.0b3 -DUSE_HSREGEX -DAPACHE_SSL ../../apaci mod_php4.c In file included from ../../include/ap_config.h:1021, from /export/home/waltb/rocketcash/php-4.0b3/php.h:179, from mod_php4.c:23: ../../include/hsregex.h:41: warning: `REG_EXTENDED' redefined /usr/include/regex.h:28: warning: this is the location of the previous definition ../../include/hsregex.h:42: warning: `REG_ICASE' redefined /usr/include/regex.h:30: warning: this is the location of the previous definition ../../include/hsregex.h:43: warning: `REG_NOSUB' redefined /usr/include/regex.h:31: warning: this is the location of the previous definition ../../include/hsregex.h:44: warning: `REG_NEWLINE' redefined /usr/include/regex.h:29: warning: this is the location of the previous definition ../../include/hsregex.h:52: warning: `REG_BADPAT' redefined /usr/include/regex.h:64: warning: this is the location of the previous definition ../../include/hsregex.h:53: warning: `REG_ECOLLATE' redefined /usr/include/regex.h:52: warning: this is the location of the previous definition ../../include/hsregex.h:54: warning: `REG_ECTYPE' redefined /usr/include/regex.h:63: warning: this is the location of the previous definition ../../include/hsregex.h:55: warning: `REG_EESCAPE' redefined /usr/include/regex.h:53: warning: this is the location of the previous definition ../../include/hsregex.h:60: warning: `REG_BADBR' redefined /usr/include/regex.h:65: warning: this is the location of the previous definition ../../include/hsregex.h:61: warning: `REG_ERANGE' redefined /usr/include/regex.h:60: warning: this is the location of the previous definition ../../include/hsregex.h:62: warning: `REG_ESPACE' redefined /usr/include/regex.h:61: warning: this is the location of the previous definition ../../include/hsregex.h:63: warning: `REG_BADRPT' redefined /usr/include/regex.h:62: warning: this is the location of the previous definition ../../include/hsregex.h:74: warning: `REG_NOTBOL' redefined /usr/include/regex.h:45: warning: this is the location of the previous definition ../../include/hsregex.h:75: warning: `REG_NOTEOL' redefined /usr/include/regex.h:46: warning: this is the location of the previous definition In file included from ../../include/ap_config.h:1021, from /export/home/waltb/rocketcash/php-4.0b3/php.h:179, from mod_php4.c:23: ../../include/hsregex.h:25: conflicting types for `regoff_t' /usr/include/regex.h:23: previous declaration of `regoff_t' ../../include/hsregex.h:31: conflicting types for `regex_t' /usr/include/regex.h:96: previous declaration of `regex_t' ../../include/hsregex.h:35: conflicting types for `regmatch_t' /usr/include/regex.h:104: previous declaration of `regmatch_t' ../../include/hsregex.h:39: conflicting types for `regcomp' /usr/include/regex.h:127: previous declaration of `regcomp' ../../include/hsregex.h:69: conflicting types for `regerror' /usr/include/regex.h:129: previous declaration of `regerror' ../../include/hsregex.h:73: conflicting types for `regexec' /usr/include/regex.h:128: previous declaration of `regexec' ../../include/hsregex.h:83: conflicting types for `regfree' /usr/include/regex.h:130: previous declaration of `regfree' make[4]: *** [mod_php4.o] Error 1 make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/export/home/waltb/rocketcash/apache_1.3.6/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/export/home/waltb/rocketcash/apache_1.3.6' make: *** [build] Error 2

« previous php.version4 (#7123) next »