|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Pear Installation difficultiesI 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 . . . |
|
|
Re: Pear Installation difficultiesAntoni Kowalczewski wrote:
> > > I am trying to install pear on an installation of Instant Rails. Please report this to the maintainers of InstantRails, they are distributing a non-standard go-pear. You can replace the one they distributed with http://pear.php.net/go-pear and try again. Once the installation works, simply run "pear install MDB2" and you should be in business. Also note that you will need to at least install a driver for the database, MDB2_Driver_mysql for the mysql extension, MDB2_Driver_mysqli for the mysqli extension, etc. Good luck, Greg -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
RE: Pear Installation difficultiesThe errors I am getting are with the go-pear from
http://pear.php.net/go-pear You are right though the one before had other issues. Antoni Kowalczewski Angeltear Web Development ------------------------- T: 780.887.9214 E: antoni@... -----Original Message----- From: Gregory Beaver [mailto:greg@...] Sent: Monday, January 22, 2007 10:20 PM To: Antoni Kowalczewski Cc: pear-general@... Subject: Re: Pear Installation difficulties Antoni Kowalczewski wrote: > > > I am trying to install pear on an installation of Instant Rails. Please report this to the maintainers of InstantRails, they are distributing a non-standard go-pear. You can replace the one they distributed with http://pear.php.net/go-pear and try again. Once the installation works, simply run "pear install MDB2" and you should be in business. Also note that you will need to at least install a driver for the database, MDB2_Driver_mysql for the mysql extension, MDB2_Driver_mysqli for the mysqli extension, etc. Good luck, Greg -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
Installation difficulties with pear-1.5.4.tgz Win2k;IIS;PHP522Forgive me for boring you all about installation problems,
My system is Win2k SP4// 2gigRAM// PHP 522 with php-cgi.exe installed//MS IIS//MySQL 5037 Server;5111 Client// Pear directory is....C:\php\pear\ The most luck I've had is while in Command Prompt at Pear directory I typed in... php-cgi go-pear.php install pear-1.5.4.tgz <cr> the window goes crazy for about 5-7 seconds of scrolling activity, then ends with two warnings that say I cannot write to $pathIni, but I successfully created a php.ini under <$prefix/php.ini-gopear>. "so on and on" When I run the command with the go-pear.bat it just says 'pause' and then says error in my_thread_global_end(): 1 threads didn't exit I'm not sure what this means except the install is not correct. Please let me know what I need to do. Blessings, Chetanji |
|
|
Re: Installation difficulties with pear-1.5.4.tgz Win2k;IIS;PHP522> My system is Win2k SP4// 2gigRAM// PHP 522 with php-cgi.exe installed//MS
> IIS//MySQL 5037 Server;5111 Client// > > Pear directory is....C:\php\pear\ You do need php-cli, cgi version won't work. -- Regards, Christian Weiske -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
Re: Installation difficulties with pear-1.5.4.tgz Win2k;IIS;PHP522Christian Weiske schrieb:
> Chetanji schrieb: > > error in my_thread_global_end(): 1 threads didn't exit > > > You do need php-cli, cgi version won't work. Just to clarify that: The main problem is not the "php-cgi.exe", it is the MySQL extension (together with the cgi) which is loaded in "php.ini". The installer and the PEAR command shell works well with the cgi binary. Regards, Carsten -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
| Free embeddable forum powered by Nabble | Forum Help |