#21619 [Ctl]: go-pear fails to install "pear/scripts" directory
| From: | michele dot manzato at verona dot miz dot it | Date: | Tue, 25 Mar 2003 15:52:07 +0000 |
| Subject: | #21619 [Ctl]: go-pear fails to install "pear/scripts" directory | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-14611@lists.php.net to get a copy of this message | ||
ID: 21619
User updated by: michele dot manzato at verona dot miz dot it
Reported By: michele dot manzato at verona dot miz dot it
Status: Critical
Bug Type: PEAR related
Operating System: Win32
PHP Version: 4.3.2Rc1
New Comment:
It doesn't work for me (PHP 4.3.1). Problems:
1) bootstrap command should terminate in ';':
cli\php -n -r "include 'http://pear.php.net/~mj/go-pear';"
2) go-pear default installation prefix is empty. Should be 'c:\php' (at
least).
3) go-pear complains about include_path being '.;c:\php4\includes'. I
think it's because of the leading '-n' in the go-pear bootstrap command
that force ignore of 'php.ini'. BTW php folks should fix this weird
setting sometime... (http://bugs.php.net/bug.php?id=21609)
4) 'c:\php\pear\scripts' was still not installed.
5) Running pear.bat as it is installed cause silent failure (no
output).
6) the installed pear.bat contained:
set PHP_BIN=c:\php\php.exe
set BIN_DIR=c:\php
set PEAR_PATH=.;c:\php4\pear
%PHP_BIN% -C -d output_buffering=1 -d include_path=%PEAR_PATH% -f
%BIN_DIR%\pear -- %1 %2 %3 %4 %5 %6 %7 %8 %9
The parameter to -f is meaningless according to the installation.
Hope this helps
Michele
Previous Comments:
------------------------------------------------------------------------
[2003-03-25 09:47:32] edink@php.net
Nope. Still no sign og pear.bat. And the packages get installed in
c:\php4 instead of c:\php4\pear. Another side-effect is that package
.tgz files get left in the c:\php4 dir.
------------------------------------------------------------------------
[2003-03-25 08:34:39] mj@php.net
Could you please test http://pear.php.net/~mj/go-pear
(cli\php -n -r
"include 'http://pear.php.net/~mj/go-pear'")?
This version works for me on Windows 2000.
------------------------------------------------------------------------
[2003-03-21 22:45:36] alan at akbkhome dot com
Workaround.
ignore the comment about pearwin.php - it's an old file?
put this in the php4 directory
http://cvs.php.net/co.php/php4/pear/scripts/pear.in?login=2&r=1.67
modify the pear.bat to point to it.
modify the pear.in file and change the @include_path@ etc. to
the correct locations.
------------------------------------------------------------------------
[2003-03-21 22:18:10] alan at akbkhome dot com
workaround download
http://cvs.php.net/co.php/php4/pear/scripts/pearwin.php?login=2&r=1.10
put it in the php4 directory
and modify the pear.bat script (in wordpad - save as dos file)
to point to it.
------------------------------------------------------------------------
[2003-03-21 22:16:43] alan_k@php.net
confirmed - this is release critical for pear.
totaly clean install:
cd C:/php4
go-pear
.... start process - gets to installing packages..
.. stops failing to make directory c://php4// (something)
go-pear (again)
goes all the way through.
- failed to install pearwin.php
- pear.bat has unix line breaks - rendering it impossible to run
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/21619
--
Edit this bug report at http://bugs.php.net/?id=21619&edit=1