I am trying to install pear on an installation of Instant Rails.
The process seems to be going fine until I hit this unexpected roadblock.
ERROR: failed to write C:\InstantRails\php\pear\PEAR\Command\.tmpAuth.xml
I have ample hard drive space. Its windows so permissions shouldn't be an
issue.
I thought pear was having a problem creating a file that starts with a dot
in windows so I created it and let pear overwrite but it was coming up with
the same error.
Google didn't help
I have nowhere else to turn. I hope someone here has an idea on what's going
on.
Although it claims it created a pear.bat .. it doesn't . it also never
creates the PEAR.php files.
Thank you in advance.
Here is the full process:
C:\InstantRails\php>go-pear
Welcome to go-pear!
Go-pear will install the 'pear' command and all the files needed by
it. This command is your tool for PEAR installation and maintenance.
Use 'php PEAR\go-pear.php local' to install a local copy of PEAR.
Go-pear also lets you download and install the PEAR packages bundled
with PHP: MDB2.
If you wish to abort, press Control-C now, or press Enter to continue:
HTTP proxy (
http://user:password@...:port), or Enter for none::
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation prefix : C:\InstantRails\php
2. Binaries directory : $prefix
3. PHP code directory ($php_dir) : $prefix\pear
4. Documentation base directory : $php_dir\docs
5. Data base directory : $php_dir\data
6. Tests base directory : $php_dir\tests
7. Temporary files directory : $prefix\temp
8. php.exe path : C:\InstantRails\php\php.exe
1-8, 'all' or Enter to continue:
The following PEAR packages are bundled with PHP: MDB2.
Would you like to install these as well? [Y/n] : y
Loading zlib: ok
Downloading package: PEAR-stable......ok
Downloading package: Archive_Tar-stable....ok
Downloading package: Console_Getopt-stable....ok
Downloading package: XML_RPC-stable....ok
Bootstrapping: PEAR...................(remote) ok
Bootstrapping: Archive_Tar............(remote) ok
Bootstrapping: Console_Getopt.........(remote) ok
Downloading package: MDB2.............ok
Extracting installer..................ok
pear/PEAR can optionally use package "pear/PEAR_Frontend_Web" (version >=
0.5.0)
pear/PEAR can optionally use package "pear/PEAR_Frontend_Gtk" (version >=
0.4.0)
pear/PEAR can optionally use package "pear/PEAR_Frontend_Gtk2" (version >=
0.1.0
)
ERROR: failed to write C:\InstantRails\php\pear\PEAR\Command\.tmpAuth.xml
install ok: channel://pear.php.net/Archive_Tar-1.3.2
install ok: channel://pear.php.net/Console_Getopt-1.2.1
install ok: channel://pear.php.net/XML_RPC-1.5.1
warning: pear/MDB2 requires package "pear/PEAR" (version >= 1.3.6)
install ok: channel://pear.php.net/MDB2-2.3.0
The 'pear' command is now at your service at c:\instantrails\php\pear.bat
** The 'pear' command is not currently in your PATH, so you need to
** use 'c:\instantrails\php\pear.bat' until you have added
** 'C:\InstantRails\php' to your PATH environment variable.
Run it without parameters to see the available actions, try 'pear list'
to see what packages are installed, or 'pear help' for help.
For more information about PEAR, see:
http://pear.php.net/faq.php http://cvs.php.net/co.php/pearweb/doc/pear_package_manager.txt?p=1 http://pear.php.net/manual/
Thanks for using go-pear!
* WINDOWS ENVIRONMENT VARIABLES *
For convenience, a REG file is available under
C:\InstantRails\php\PEAR_ENV.reg
..
This file creates ENV variables for the current user.
Double-click this file to add it to the current user registry.
Press any key to continue . . .