pcre build problems

php.internals

Chris Malton

19 years ago
Hello, In current CVS (check out about 30 mins ago) there is an error with pcre. When linking PHP, there is an error with unresolved external symbols. Here is the error log: ext/pcre/pcrelib/pcre_compile.o: In function `check_auto_possessive': /root/php6/ext/pcre/pcrelib/pcre_compile.c:1795: undefined reference to `_pcre_is_newline' /root/php6/ext/pcre/pcrelib/pcre_compile.c:1832: undefined reference to `_pcre_is_newline' ext/pcre/pcrelib/pcre_compile.o: In function `compile_branch': /root/php6/ext/pcre/pcrelib/pcre_compile.c:2209: undefined reference to `_pcre_is_newline' ext/pcre/pcrelib/pcre_exec.o: In function `match': /root/php6/ext/pcre/pcrelib/pcre_exec.c:1209: undefined reference to `_pcre_was_newline' /root/php6/ext/pcre/pcrelib/pcre_exec.c:1268: undefined reference to `_pcre_is_newline' /root/php6/ext/pcre/pcrelib/pcre_exec.c:2722: undefined reference to `_pcre_is_newline' /root/php6/ext/pcre/pcrelib/pcre_exec.c:1238: undefined reference to `_pcre_is_newline' /root/php6/ext/pcre/pcrelib/pcre_exec.c:1325: undefined reference to `_pcre_is_newline' /root/php6/ext/pcre/pcrelib/pcre_exec.c:2834: undefined reference to `_pcre_is_newline' ext/pcre/pcrelib/pcre_exec.o:/root/php6/ext/pcre/pcrelib/pcre_exec.c:3027: more undefined references to `_pcre_is_newline' follow ext/pcre/pcrelib/pcre_exec.o: In function `php_pcre_exec': /root/php6/ext/pcre/pcrelib/pcre_exec.c:3993: undefined reference to `_pcre_was_newline' collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 Build platform: Ubuntu Server x64 6.10 Chris

Hannes Magnusson

19 years ago
Did you "./cvsclean" prior to building? -Hannes On 2/20/07, Chris Malton <chrism@cjsoftuk.dyndns.org> wrote:

Chris Malton

19 years ago
Oops, No I'm not used to building php from CVS. I'll create a shell script that calls the following in the right order for me: cvs update ./cvsclean ./configure --my-options make make test Then we'll see what happens! Rebuilding with ./cvsclean run! Chris Hannes Magnusson wrote:

Antony Dovgal

19 years ago
On 02/20/2007 11:49 PM, Chris Malton wrote:
> Oops, No > > I'm not used to building php from CVS. > > I'll create a shell script that calls the following in the right order > for me: > > cvs update > ./cvsclean
insert "./buildconf" here
> ./configure --my-options > make > make test > > Then we'll see what happens! > > Rebuilding with ./cvsclean run!
-- Wbr, Antony Dovgal

Chris Malton

19 years ago
OK, there are still some problems with PHP6, as indicated by my make test command. The script has posted my results to the server. I await the message's arrival on php.qa Chris Chris Malton wrote:

Antony Dovgal

19 years ago
On 02/21/2007 12:17 AM, Chris Malton wrote:
> OK, there are still some problems with PHP6, as indicated by my make > test command. The script has posted my results to the server. I await > the message's arrival on php.qa
Did you really expect a pre-alpha PHP6 to be free of problems? Of course there are a lot of problems, but PHP6 is still under development (and you are encouraged to help us).
-- Wbr, Antony Dovgal

Antony Dovgal

19 years ago
On 02/21/2007 12:17 AM, Chris Malton wrote:
> OK, there are still some problems with PHP6, as indicated by my make > test command. The script has posted my results to the server. I await > the message's arrival on php.qa
Btw, it won't appear on php.qa. Only test results for current releases and RCs appear there.
-- Wbr, Antony Dovgal

Hannes Magnusson

19 years ago
On 2/20/07, Chris Malton <chrism@cjsoftuk.dyndns.org> wrote:
> OK, there are still some problems with PHP6, as indicated by my make > test command. The script has posted my results to the server. I await > the message's arrival on php.qa
PHP QA only accepts test results from the current test or stable releases, that is; In RC phase: only test results from that RC get accepted. No RC out yet: Only latest release gets accepted. Meaning: currently PHP QA only accepts tests from PHP4.4.5 & 5.2.1. -Hannes