Re: Making local installations easier

From: Date: Mon, 29 Sep 2003 18:34:32 +0000
Subject: Re: Making local installations easier
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22178@lists.php.net to get a copy of this message
Monday, September 29, 2003, 5:56:55 PM, Greg Beaver wrote: > Pierre-Alain Joye wrote: >>On Mon, 29 Sep 2003 11:42:50 -0400 >>Greg Beaver <greg@chiaraquartet.net> wrote: >> >> >>>$ pearlocal install Package >>>Create ~/.pearrc? Y >>>[prompts similar to go-pear] >>> >>> >> >>I dot not like the idea of adding a pearlocal command, that sounds a bit >>weird to me (do we have a pear remote?). >> >>We may better to use ENV var and update accordingly pear.bat|sh to use >>them. >> >> > How about changing the error message from: > $ pear install Package > Could not get a lock > to > $ pear install Package > Access to system-wide installation denied - set environment variable > PHP_PEAR_HOME_DIR to the path you wish to install a customized > user-level PEAR installation if you wish to install a custom copy. > I dislike the length of this error message, but if the principle is > good, we can work out the language, make it shorter and clearer. I'm +1 here, I agree we still have some unclear error messages arround the code. Perhaps a link to the documentation would easy the message. Of course I forgot to mention that apart from using a custom config file one could just use ENV vars. The list of them are located at php-src/pear/PEAR/Registry.php -- Tomas V.V.Cox mailto:cox@idecnet.com

« previous php.pear.dev (#22178) next »