There was some discussion on the version (2.13 vs newer) of autoconf
to use for trunk but I'm not sure whether there was any consensus.
It looks like autoconf2.13 can't be used with trunk and therefore the
autoconf version check inside build/buildcheck.sh needs to be updated.
I get the following error when I try to configure trunk with autoconf
2.13 (this is on Ubuntu [Hardy]). autoconf2.61 works fine.
Checked out revision 291346.
% ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
rebuilding aclocal.m4
rebuilding configure
rebuilding acconfig.h
rebuilding main/php_config.h.in
% ./configure --prefix=/home/arvi/php-src-build --enable-debug
(stuff deleted)
checking whether to enable UCD SNMP hack... no
checking whether to enable SOAP support... no
checking whether to enable sockets support... no
checking whether zend_object_value is packed... yes
checking for sqlite support... yes
checking whether to disable UTF-8 support in libsqlite (charset
changes to ISO-8859-1)... yes
checking for PDO includes... (cached) /home/arvi/php-scratch/ext
checking for lemon... no
configure: warning: lemon versions supported for regeneration of
libsqlite parsers: 1.0 (found: none).
checking size of char *... 4
checking for usleep... (cached) yes
checking for nanosleep... (cached) yes
checking for time.h... (cached) yes
./configure: line 81214: syntax error at line 81217: `fi' unexpected
It works fine as soon as I find the typo Rasmus has done with his fixes
for autoconf > 2.13..
--Jani
There was some discussion on the version (2.13 vs newer) of autoconf
to use for trunk but I'm not sure whether there was any consensus.It looks like autoconf2.13 can't be used with trunk and therefore the
autoconf version check inside build/buildcheck.sh needs to be updated.I get the following error when I try to configure trunk with autoconf
2.13 (this is on Ubuntu [Hardy]). autoconf2.61 works fine.Checked out revision 291346.
% ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
rebuilding aclocal.m4
rebuilding configure
rebuilding acconfig.h
rebuilding main/php_config.h.in% ./configure --prefix=/home/arvi/php-src-build --enable-debug
(stuff deleted)
checking whether to enable UCD SNMP hack... no
checking whether to enable SOAP support... no
checking whether to enable sockets support... no
checking whether zend_object_value is packed... yes
checking for sqlite support... yes
checking whether to disable UTF-8 support in libsqlite (charset
changes to ISO-8859-1)... yes
checking for PDO includes... (cached) /home/arvi/php-scratch/ext
checking for lemon... no
configure: warning: lemon versions supported for regeneration of
libsqlite parsers: 1.0 (found: none).
checking size of char *... 4
checking for usleep... (cached) yes
checking for nanosleep... (cached) yes
checking for time.h... (cached) yes
/configure: line 81214: syntax error at line 81217: `fi' unexpected
Make that me. It's either my upgrade of libtool or combined changes by
me and Rasmus. And it affects ALL branches.. :(
I'm investigating this bug atm, stay tuned.
--Jani
It works fine as soon as I find the typo Rasmus has done with his fixes
for autoconf > 2.13..--Jani
There was some discussion on the version (2.13 vs newer) of autoconf
to use for trunk but I'm not sure whether there was any consensus.It looks like autoconf2.13 can't be used with trunk and therefore the
autoconf version check inside build/buildcheck.sh needs to be updated.I get the following error when I try to configure trunk with autoconf
2.13 (this is on Ubuntu [Hardy]). autoconf2.61 works fine.Checked out revision 291346.
% ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
rebuilding aclocal.m4
rebuilding configure
rebuilding acconfig.h
rebuilding main/php_config.h.in% ./configure --prefix=/home/arvi/php-src-build --enable-debug
(stuff deleted)
checking whether to enable UCD SNMP hack... no
checking whether to enable SOAP support... no
checking whether to enable sockets support... no
checking whether zend_object_value is packed... yes
checking for sqlite support... yes
checking whether to disable UTF-8 support in libsqlite (charset
changes to ISO-8859-1)... yes
checking for PDO includes... (cached) /home/arvi/php-scratch/ext
checking for lemon... no
configure: warning: lemon versions supported for regeneration of
libsqlite parsers: 1.0 (found: none).
checking size of char *... 4
checking for usleep... (cached) yes
checking for nanosleep... (cached) yes
checking for time.h... (cached) yes
/configure: line 81214: syntax error at line 81217: `fi' unexpected
This is caused by the divert() patch Rasmus committed. Nice work.
I'll try figure out how to do it properly.
--Jani
Make that me. It's either my upgrade of libtool or combined changes by
me and Rasmus. And it affects ALL branches.. :(I'm investigating this bug atm, stay tuned.
--Jani
It works fine as soon as I find the typo Rasmus has done with his fixes
for autoconf > 2.13..--Jani
There was some discussion on the version (2.13 vs newer) of autoconf
to use for trunk but I'm not sure whether there was any consensus.It looks like autoconf2.13 can't be used with trunk and therefore the
autoconf version check inside build/buildcheck.sh needs to be updated.I get the following error when I try to configure trunk with autoconf
2.13 (this is on Ubuntu [Hardy]). autoconf2.61 works fine.Checked out revision 291346.
% ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
rebuilding aclocal.m4
rebuilding configure
rebuilding acconfig.h
rebuilding main/php_config.h.in% ./configure --prefix=/home/arvi/php-src-build --enable-debug
(stuff deleted)
checking whether to enable UCD SNMP hack... no
checking whether to enable SOAP support... no
checking whether to enable sockets support... no
checking whether zend_object_value is packed... yes
checking for sqlite support... yes
checking whether to disable UTF-8 support in libsqlite (charset
changes to ISO-8859-1)... yes
checking for PDO includes... (cached) /home/arvi/php-scratch/ext
checking for lemon... no
configure: warning: lemon versions supported for regeneration of
libsqlite parsers: 1.0 (found: none).
checking size of char *... 4
checking for usleep... (cached) yes
checking for nanosleep... (cached) yes
checking for time.h... (cached) yes
/configure: line 81214: syntax error at line 81217: `fi' unexpected
Jani Taskinen wrote:
This is caused by the divert() patch Rasmus committed. Nice work.
I'll try figure out how to do it properly.
The easy way would be to get rid of the diverts completely. They don't
do anything in autoconf2.13 anyway, so I don't really see why they were
added in the first place.
-Rasmus
Jani Taskinen wrote:
This is caused by the divert() patch Rasmus committed. Nice work.
I'll try figure out how to do it properly.
Getting rid of just the diverts in ext/standard/config.m4 fixes this for
me. There is still an unrelated libtool/autoconf-2.13 issue related to
finding ld though. Not sure what that is about yet.
-Rasmus
Jani Taskinen wrote:
This is caused by the divert() patch Rasmus committed. Nice work.
I'll try figure out how to do it properly.Getting rid of just the diverts in ext/standard/config.m4 fixes this for
me. There is still an unrelated libtool/autoconf-2.13 issue related to
finding ld though. Not sure what that is about yet.
How about forget about it and stick with autoconf 2.13 which actually
works and does what we need? Try ./configure --help once with the 2.6x
generated one..
--Jani
Rasmus,
Do you think this is an easy fix, or do we need to go back pre-patch code for 5.2.12? The other option is to generate the build on a machine with the later autoconf, 2.59 seems to work fine.
Jani Taskinen wrote:
This is caused by the divert() patch Rasmus committed. Nice work.
I'll try figure out how to do it properly.Getting rid of just the diverts in ext/standard/config.m4 fixes this for
me. There is still an unrelated libtool/autoconf-2.13 issue related to
finding ld though. Not sure what that is about yet.-Rasmus
As I mentioned in IRC, this is now fixed for PHP_5_2.
Rasmus, please don't commit any more "fixes" into that branch.
Experiments should be done in trunk only. :)
--Jani
Rasmus,
Do you think this is an easy fix, or do we need to go back pre-patch code for 5.2.12? The other option is to generate the build on a machine with the later autoconf, 2.59 seems to work fine.
Jani Taskinen wrote:
This is caused by the divert() patch Rasmus committed. Nice work.
I'll try figure out how to do it properly.Getting rid of just the diverts in ext/standard/config.m4 fixes this for
me. There is still an unrelated libtool/autoconf-2.13 issue related to
finding ld though. Not sure what that is about yet.-Rasmus