RE: [PEAR-DEV] pear install - proxy setting?

From: Date: Mon, 27 May 2002 21:21:15 +0000
Subject: RE: [PEAR-DEV] pear install - proxy setting?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6493@lists.php.net to get a copy of this message
dear stig thanx for the lynx thing *g well, i indeed used an old set of pear install scripts. so sorry for that. inbetween i managed quite well to install some packages on windows. unfortunately the distro on snaps.php.net had no pear included and i did not check verify the pear directory to be overwritten. but now i have a new php4 checkout and some lines for some other windows-pear-install-newbies ;) *** *** ********************************************************* **** **** C:\php\pear\scripts>pear -h C:\php\pear\scripts>pear config-help C:\php\pear\scripts>pear config-get php_dir php_dir = c:\php4\pear C:\php\pear\scripts>pear config-set php_dir c:\php\pear C:\php\pear\scripts>pear config-set doc_dir c:\php\doc\pear C:\php\pear\scripts>pear config-set ext_dir c:\php\extensions C:\php\pear\scripts>pear install http://pear.php.net/get/Cache Warning: utime failed: Invalid argument in C:\php\pear\PEAR\Registry.php on line 223 install ok: Cache 1.4 C:\php\pear\scripts>pear install http://pear.php.net/get/DB install ok: DB 1.2 C:\php\pear\scripts>pear install http://pear.php.net/get/HTML_QuickForm install ok: HTML_QuickForm 2.1 C:\php\pear\scripts>pear install http://pear.php.net/get/Auth warning : you are using an archive with an old format install ok: Auth 1.0.1 C:\php\pear\scripts>pear config-show CONFIGURATION: ============== bin_dir c:\php doc_dir c:\php\doc\pear ext_dir c:\php\extensions http_proxy <not set> master_server pear.php.net password <not set> php_dir c:\php\pear preferred_state stable umask 000 username <not set> verbose 1 *** *** ********************************************************* **** **** i also tried the lynx-installer: 1) executable name C:\>lynx -source http://pear.php.net/go-pear | sh ... Which filename do you want to use for the 'pear' executable? [/cygdrive/c/php/php/bin/pear] : pear.in ... [/cygdrive/c/php/php/lib/php] : /cygdrive/c/php/pear ... then i get finally: *** *** *** U php4/pear/tests/user.input U php4/pear/tests/user2.input done! Warning: main("PEAR.php") - No such file or directory in pear.bat on line 64 Fatal error: Failed opening required 'PEAR.php' (include_path='/tmp/1022533211/php4/pear') in pear.bat on line 64 Warning: main("PEAR.php") - No such file or directory in pear.bat on line 64 Fatal error: Failed opening required 'PEAR.php' (include_path='/tmp/1022533211/php4/pear') in pear.bat on line 64 Warning: main("PEAR.php") - No such file or directory in pear.bat on line 64 Fatal error: Failed opening required 'PEAR.php' (include_path='/tmp/1022533211/php4/pear') in pear.bat on line 64 Warning: main("PEAR.php") - No such file or directory in pear.bat on line 64 Fatal error: Failed opening required 'PEAR.php' (include_path='/tmp/1022533211/php4/pear') in pear.bat on line 64 Warning: main("PEAR.php") - No such file or directory in pear.bat on line 64 Fatal error: Failed opening required 'PEAR.php' (include_path='/tmp/1022533211/php4/pear') in pear.bat on line 64 Warning: main("PEAR.php") - No such file or directory in pear.bat on line 64 Fatal error: Failed opening required 'PEAR.php' (include_path='/tmp/1022533211/php4/pear') in pear.bat on line 64 The 'pear' command has been successfully installed under pear.in try it by typing 'pear.in' for help C:\> *** *** *** and the pear.bat will not be written. i then tried to give the full path to pear.bat at the same location as the pear installation (/cygdrive/c/php/pear.in). this worked. i copied the pear.bat windows wrapper into c:\php and run pear.bat successfully. could you add some command line info, that - at least for windows - one should place the "executable" also somewhere within the include_path? at least this worked for me, as you see above. thanx, urs > -----Original Message----- > From: Stig S. Bakken [mailto:ssb@fast.no] > Sent: Monday, May 27, 2002 10:42 PM > To: urs@circle.ch > Cc: Martin Jansen; pear-dev@lists.php.net > Subject: Re: [PEAR-DEV] pear install - proxy setting? > > > You have a way old version of the installer :-) > > You can use "go-pear" to update to a newer version (well, CVS HEAD > actually): > > lynx -source http://pear.php.net/go-pear | sh > > - Stig > > On Mon, 2002-05-27 at 16:40, urs@circle.ch wrote: > > hello martin > > > > > "pear config-set http_proxy proxy.somewhere.com" > > > > that is what i got.... > > > > *** > > C:\PHP\pear\scripts>pear config-set http_proxy proxy.some_server.ch > > Usage: pear [-v n] [-h] [-p <dir>] [-e <dir>] [-d <dir>] > command <parameters> > > Options: > > -v set verbosity level to <n> (0-2, default 1) > > -p <dir> set script install dir (absolute path) > > -e <dir> set extension install dir (absolute path) > > -d <dir> set documentation dest dir (absolute path) > > -h, -? display help/usage (this message) > > Commands: > > install <package file> > > package [package info file] > > > > > > C:\PHP\pear\scripts>pear install > > http://pear.php.net/get/Cache > > downloading http://pear.php.net/get/Cache ... > > http://pear.php.net/get/Cache: failed to download () > > install failed > > > > C:\PHP\pear\scripts> > > **** > > > > the result of the first command (config-set) seems a bit > strange, while coming > > up with the -h feature. > > > > -urs > > > > > > > > -- > > PEAR Development Mailing List (http://pear.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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