php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3823 Trying to rebuild apache but continue to get this error.
Submitted: 2000-03-14 00:08 UTC Modified: 2000-03-14 10:03 UTC
From: bug at the-ads dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0.15 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bug at the-ads dot com
New email:
PHP Version: OS:

 

 [2000-03-14 00:08 UTC] bug at the-ads dot com
I have the latest Stronghold/Apache web server. I am trying to reconfigure the server for the latest php4-beta I can not get past this error. Any idea how to fix?

In file included from /usr/include/regex.h:1,
                 from ../../../include/ap_config.h:1013,
                 from ../../../include/httpd.h:71,
                 from php.h:94,
                 from parse.c:126:
/usr/include/rx.h:1507: warning: `REG_EXTENDED' redefined
../../../include/hsregex.h:41: warning: this is the location of the previous definition
/usr/include/rx.h:1511: warning: `REG_ICASE' redefined
../../../include/hsregex.h:42: warning: this is the location of the previous definition
/usr/include/rx.h:1516: warning: `REG_NEWLINE' redefined
../../../include/hsregex.h:44: warning: this is the location of the previous definition
/usr/include/rx.h:1520: warning: `REG_NOSUB' redefined
../../../include/hsregex.h:43: warning: this is the location of the previous definition
/usr/include/rx.h:1530: warning: `REG_NOTBOL' redefined
../../../include/hsregex.h:74: warning: this is the location of the previous definition
/usr/include/rx.h:1533: warning: `REG_NOTEOL' redefined
../../../include/hsregex.h:75: warning: this is the location of the previous definition
In file included from /usr/include/regex.h:1,
                 from ../../../include/ap_config.h:1013,
                 from ../../../include/httpd.h:71,
                 from php.h:94,
                 from parse.c:126:
/usr/include/rx.h:1152: parse error before `1'
In file included from /usr/include/regex.h:1,
                 from ../../../include/ap_config.h:1013,
                 from ../../../include/httpd.h:71,
                 from php.h:94,
                 from parse.c:126:
/usr/include/rx.h:1293: conflicting types for `regoff_t'
../../../include/hsregex.h:25: previous declaration of `regoff_t'
/usr/include/rx.h:1304: conflicting types for `regex_t'
../../../include/hsregex.h:31: previous declaration of `regex_t'
/usr/include/rx.h:1313: conflicting types for `regmatch_t'
../../../include/hsregex.h:35: previous declaration of `regmatch_t'
/usr/include/rx.h:1741: conflicting types for `regcomp'
../../../include/hsregex.h:39: previous declaration of `regcomp'
/usr/include/rx.h:1744: conflicting types for `regexec'
../../../include/hsregex.h:73: previous declaration of `regexec'
/usr/include/rx.h:1746: conflicting types for `regerror'
../../../include/hsregex.h:69: previous declaration of `regerror'
/usr/include/rx.h:1747: conflicting types for `regfree'
../../../include/hsregex.h:83: previous declaration of `regfree'
make[1]: *** [parse.o] Error 1
make[1]: Leaving directory `/usr/local/apache/strong/src/modules/php-2.0/src'
make: *** [subdirs] Error 2

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-14 00:16 UTC] joey at cvs dot php dot net
What is your configure line?
You most likely need to switch which regex package you are using...
 [2000-03-14 10:03 UTC] joey at cvs dot php dot net
Use
  --with-regex=TYPE       regex library type: system, apache, php
in configure of php.
one of these should work for you. If you still cannot get things to work with
one of these, plz open a new bug report. Thanks!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 16:01:29 2024 UTC