Re: [PHP4BETA] PHP 4.0b3, second try
| From: | Stig Bakken | Date: | Tue, 09 Nov 1999 12:28:32 +0000 |
| Subject: | Re: [PHP4BETA] PHP 4.0b3, second try | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5992@lists.php.net to get a copy of this message | ||
It looks to me as if your Apache is configured to use HSREGEX, while you
configure PHP not to. You have to use the same regex library for both PHP
and Apache. Removing --with-system-regex should do the trick.
- Stig
On Tue, 9 Nov 1999, Tom Fishwick wrote:
| Just trying out php-4.0b3-RC2
|
| on my redhat 6.1 system
|
| CC=egcs CFLAGS="-s -O2" ./configure --with-system-regex
| --without-pcre-regex --without-gd --with-mysql --enable-track-vars
| --with-imap=../imap-4.7.BETA --with-mcrypt=../mcrypt-2.2.2
| --enable-track-vars --with-apache=../apache_1.3.9
|
| ...
|
| make[3]: Entering directory `/home/zworg/src/php-4.0b3-RC2/ext/apache'
| /bin/sh ../../libtool --silent --mode=compile egcs -DHAVE_CONFIG_H -I.
| -I. -I../.. -I../../libzend -I../../TSRM
| -I/home/zworg/src/php-4.0b3-RC2/../apache_1.3.9/src/include
| -I/home/zworg/src/php-4.0b3-RC2/../apache_1.3.9/src/os/unix
| -I/home/zworg/src/php-4.0b3-RC2/../imap-4.7.BETA/include
| -I/usr/local/include -I/usr/include/mysql -I../.. -I../../libzend
| -s -O2 -g -c -o apache.lo apache.c
| In file included from
| /home/zworg/src/php-4.0b3-RC2/../apache_1.3.9/src/include/ap_config.h:1093,
| from ../../php.h:183,
| from apache.c:22:
| /home/zworg/src/php-4.0b3-RC2/../apache_1.3.9/src/include/hsregex.h:41:
| warning: `REG_EXTENDED' redefined
| /usr/include/regex.h:252: warning: this is the location of the previous
| definition
| /home/zworg/src/php-4.0b3-RC2/../apache_1.3.9/src/include/hsregex.h:42:
| warning: `REG_ICASE' redefined
| /usr/include/regex.h:256: warning: this is the location of the previous
| definition
|
| ...
|
| /usr/include/regex.h:278: warning: this is the location of the previous
| definition
| In file included from
| /home/zworg/src/php-4.0b3-RC2/../apache_1.3.9/src/include/ap_config.h:1093,
| from ../../php.h:183,
| from apache.c:22:
| /home/zworg/src/php-4.0b3-RC2/../apache_1.3.9/src/include/hsregex.h:25:
| conflicting types for `regoff_t'
| /usr/include/regex.h:394: previous declaration of `regoff_t'
| /home/zworg/src/php-4.0b3-RC2/../apache_1.3.9/src/include/hsregex.h:31:
| conflicting types for `regex_t'
| /usr/include/regex.h:391: previous declaration of `regex_t'
|
| ...
|
| /usr/include/regex.h:527: previous declaration of `regfree'
| make[3]: *** [apache.lo] Error 1
| make[3]: Leaving directory `/home/zworg/src/php-4.0b3-RC2/ext/apache'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/home/zworg/src/php-4.0b3-RC2/ext'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/zworg/src/php-4.0b3-RC2'
| make: *** [all-recursive-am] Error 2
|
|
| when I take --with-system-regex out, or apache I get
|
| ...
|
| make[3]: Entering directory `/home/zworg/src/php-4.0b3-RC2/ext/mcrypt'
| /bin/sh ../../libtool --silent --mode=compile egcs -DHAVE_CONFIG_H -I.
| -I. -I../.. -I../../libzend -I../../TSRM
| -I/home/zworg/src/php-4.0b3-RC2/../imap-4.7.BETA/include
| -I/usr/local/include -I/usr/include/mysql -I../.. -I../../libzend
| -s -O2 -g -c -o mcrypt.lo mcrypt.c
| mcrypt.c:163: #error Please update your mcrypt library
| make[3]: *** [mcrypt.lo] Error 1
| make[3]: Leaving directory `/home/zworg/src/php-4.0b3-RC2/ext/mcrypt'
|
| I'm using mcrypt-2.2.2
|
| previous cvs copies worked fine.
|
| Tom
|
|
| Stig Bakken wrote:
| >
| > The second release candidate of 4.0b3 is available at
| > <URL:http://va.php.net/~ssb/php-4.0b3-RC2.tar.gz>.
Please report
| > successes and failures to this list.
| >
| > - Stig
| >
| > --
| > PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
| > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
| > For additional commands, e-mail: php4beta-help@lists.php.net
| > To contact the list administrators, e-mail: php4beta-admin@lists.php.net
|
|