Re: "make install" on PHP_5_1 does not work with PEAR
| From: | Wez Furlong | Date: | Sun, 11 Sep 2005 05:51:48 +0000 |
| Subject: | Re: "make install" on PHP_5_1 does not work with PEAR | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18766@lists.php.net to get a copy of this message | ||
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.
On 9/9/05, Greg Beaver <cellog@php.net> wrote:
> Greg Donald wrote:
> > On 9/9/05, Sebastian Bergmann <sb@sebastian-bergmann.de> 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 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
> >
> >
> >
> > Same 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
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>