sb@wopr-mobile php-5.1 % make install
exit 0; /usr/local/src/php/php-5.1/ext/sqlite/libsqlite/src/parse.y
Installing PHP CLI binary: /usr/local/php-5.1/bin/
Installing PHP CLI man page: /usr/local/php-5.1/man/man1/
Installing PEAR environment: /usr/local/php-5.1/lib/php/
Notice: Constant PEAR_VALIDATE_INSTALLING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 25
Notice: Constant PEAR_VALIDATE_UNINSTALLING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 26
Notice: Constant PEAR_VALIDATE_NORMAL already defined in
phar://install-pear.phar/PEAR/Validate.php on line 27
Notice: Constant PEAR_VALIDATE_DOWNLOADING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 28
Notice: Constant PEAR_VALIDATE_PACKAGING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 29
Fatal error: Cannot redeclare class pear_validate in
phar://install-pear.phar/PEAR/Validate.php on line 46
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69
Sebastian Bergmann schrieb:
Fatal error: Cannot redeclare class pear_validate in
No really related, but still: Why is the PEAR_Validate class name
lower-cased?
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69
sb@wopr-mobile php-5.1 % make install
exit 0; /usr/local/src/php/php-5.1/ext/sqlite/libsqlite/src/parse.y
Installing PHP CLI binary: /usr/local/php-5.1/bin/
Installing PHP CLI man page: /usr/local/php-5.1/man/man1/
Installing PEAR environment: /usr/local/php-5.1/lib/php/Notice: Constant PEAR_VALIDATE_INSTALLING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 25Notice: Constant PEAR_VALIDATE_UNINSTALLING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 26Notice: Constant PEAR_VALIDATE_NORMAL already defined in
phar://install-pear.phar/PEAR/Validate.php on line 27Notice: Constant PEAR_VALIDATE_DOWNLOADING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 28Notice: Constant PEAR_VALIDATE_PACKAGING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 29Fatal error: Cannot redeclare class pear_validate in
phar://install-pear.phar/PEAR/Validate.php on line 46
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2
Same errors here.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
Greg Donald wrote:
sb@wopr-mobile php-5.1 % make install
exit 0; /usr/local/src/php/php-5.1/ext/sqlite/libsqlite/src/parse.y
Installing PHP CLI binary: /usr/local/php-5.1/bin/
Installing PHP CLI man page: /usr/local/php-5.1/man/man1/
Installing PEAR environment: /usr/local/php-5.1/lib/php/Notice: Constant PEAR_VALIDATE_INSTALLING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 25Notice: Constant PEAR_VALIDATE_UNINSTALLING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 26Notice: Constant PEAR_VALIDATE_NORMAL already defined in
phar://install-pear.phar/PEAR/Validate.php on line 27Notice: Constant PEAR_VALIDATE_DOWNLOADING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 28Notice: Constant PEAR_VALIDATE_PACKAGING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 29Fatal error: Cannot redeclare class pear_validate in
phar://install-pear.phar/PEAR/Validate.php on line 46
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2Same errors here.
This should be fixed - if someone could confirm, that would be great.
Note that pearweb sync happens once an hour, so this should not be
attempted until about 20:00 GMT (1 PM CST in the USA).
Greg
I get this with the PHP_5_1 branch after downloading the .phar:
Installing PEAR environment: /usr/local/lib/php/
Error: .phar files require PHP 5.1 or newerInstalling build
environment: /usr/local/lib/php/build/
--Wez.
Greg Donald wrote:
sb@wopr-mobile php-5.1 % make install
exit 0; /usr/local/src/php/php-5.1/ext/sqlite/libsqlite/src/parse.y
Installing PHP CLI binary: /usr/local/php-5.1/bin/
Installing PHP CLI man page: /usr/local/php-5.1/man/man1/
Installing PEAR environment: /usr/local/php-5.1/lib/php/Notice: Constant PEAR_VALIDATE_INSTALLING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 25Notice: Constant PEAR_VALIDATE_UNINSTALLING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 26Notice: Constant PEAR_VALIDATE_NORMAL already defined in
phar://install-pear.phar/PEAR/Validate.php on line 27Notice: Constant PEAR_VALIDATE_DOWNLOADING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 28Notice: Constant PEAR_VALIDATE_PACKAGING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 29Fatal error: Cannot redeclare class pear_validate in
phar://install-pear.phar/PEAR/Validate.php on line 46
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2Same errors here.
This should be fixed - if someone could confirm, that would be great.
Note that pearweb sync happens once an hour, so this should not be
attempted until about 20:00 GMT (1 PM CST in the USA).Greg
I get this with the PHP_5_1 branch after downloading the .phar:
Installing PEAR environment: /usr/local/lib/php/
Error: .phar files require PHP 5.1 or newerInstalling build
environment: /usr/local/lib/php/build/
It was due to the bad version used in CVS. version_compare does not manage
it well.
Derick changed the version to 5.1.0RC2-dev, that should solve this problem.
It solved it here at least :)
Regards,
--Pierre
It seems like a good idea to have version_compare()
grok the version string too.
--Wez.
I get this with the PHP_5_1 branch after downloading the .phar:
Installing PEAR environment: /usr/local/lib/php/
Error: .phar files require PHP 5.1 or newerInstalling build
environment: /usr/local/lib/php/build/It was due to the bad version used in CVS. version_compare does not manage
it well.Derick changed the version to 5.1.0RC2-dev, that should solve this problem.
It solved it here at least :)Regards,
--Pierre
It seems like a good idea to have
version_compare()
grok the version string too.
It did understand it, it's just that the comparison (although correct)
was just giving the wrong result because our version numbers where not
in the correct order.
Derick
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
Well in all the years I've rolled releases I have never used RCn-dev.
Seems like this was something only applied to the 4.3 branch.
I'm not opposed to changing that and I'll be happy to do so, but it
would probably make sense to have a more robust comparison,
especially if it's something like "is it a 5.1 release or not". Not
talking about ">5.1.4". And people shouldn't forget, -dev is not
production code and things might break from time to time.
Andi
At 05:54 PM 9/10/2005, Derick Rethans wrote:
It seems like a good idea to have
version_compare()
grok the
version string too.It did understand it, it's just that the comparison (although correct)
was just giving the wrong result because our version numbers where not
in the correct order.Derick
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
Well in all the years I've rolled releases I have never used RCn-dev. Seems
like this was something only applied to the 4.3 branch.
And now to the 5.1 one as well :)
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
It looks like the <configureoptions> handling is broken.
Try this:
$ cd php-src/ext/pdo_odbc
$ pear package
$ sudo pear install PDO_ODBC-1.0RC1.tgz
It doesn't prompt for the configure options anymore.
--Wez.
Greg Donald wrote:
sb@wopr-mobile php-5.1 % make install
exit 0; /usr/local/src/php/php-5.1/ext/sqlite/libsqlite/src/parse.y
Installing PHP CLI binary: /usr/local/php-5.1/bin/
Installing PHP CLI man page: /usr/local/php-5.1/man/man1/
Installing PEAR environment: /usr/local/php-5.1/lib/php/Notice: Constant PEAR_VALIDATE_INSTALLING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 25Notice: Constant PEAR_VALIDATE_UNINSTALLING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 26Notice: Constant PEAR_VALIDATE_NORMAL already defined in
phar://install-pear.phar/PEAR/Validate.php on line 27Notice: Constant PEAR_VALIDATE_DOWNLOADING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 28Notice: Constant PEAR_VALIDATE_PACKAGING already defined in
phar://install-pear.phar/PEAR/Validate.php on line 29Fatal error: Cannot redeclare class pear_validate in
phar://install-pear.phar/PEAR/Validate.php on line 46
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2Same errors here.
This should be fixed - if someone could confirm, that would be great.
Note that pearweb sync happens once an hour, so this should not be
attempted until about 20:00 GMT (1 PM CST in the USA).Greg
It looks like the <configureoptions> handling is broken.
Try this:$ cd php-src/ext/pdo_odbc
$ pear package
$ sudo pear install PDO_ODBC-1.0RC1.tgzIt doesn't prompt for the configure options anymore.
I just commited a fix, if you have some spare time you can try the
fix. You only need to copy these 2 files (see my commit about
configure prompt).
I would like to have a beta2 next week, a last beta. We do not have
met serious problems in the past week. The only one was the old phar.
Then we should be ready to have 1.4.0 in php 5.1 using phar.
Regards,
--Pierre