Re: Pear Installer on Windows
| From: | Pfeiffer-Koberstein Immobilien GbR - Ralf Pfeiffer | Date: | Thu, 27 Mar 2003 19:14:01 +0000 |
| Subject: | Re: Pear Installer on Windows | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4465@lists.php.net to get a copy of this message | ||
Hello Pascal,
I followed your mails,
in what directory is the pear.bat?
I put this file in the following dirctory (as you proposed, I renamed pear
to pear_scripts):
C:\php\pear_dir\scripts
Do anybody know, what informations are minimum necessary in this pear.bat to
run pear or where I can find more information about this file
in my file is written:
set PHP_PATH=c:\Apache\php
se PEAR_PATH=c:\php\pear_dir
set PEAR_INSTALL_DIR=c:\php\pear_dir
set PEAR_EXTENSION_DIR=c:\php\extensions
set PEAR_DOC_DIR=c:\php\pear_dir\docs
REM -------------------
set DIRECTORY_SEPARATOR=\
%PHP_PATH%\php.exe -q %PEAR_INSTALL_DIR%\scripts\pear.in %1 %2 %3 %4 %5 %6
%7 %8 %9
@ECHO ON
Thanks
Ralf
----- Original Message -----
From: Pascal S. <pascal@onepost.net>
To: <pear-general@lists.php.net>
Sent: Thursday, March 27, 2003 11:08 AM
Subject: Re: [PEAR] Pear Installer on Windows
> Thanks,
>
> I actually found out about the name conflict and restarted the
installation
> of the the pear installer while changing the name of the pear directory to
> 'pear_dir' so that the pear file could be written. That solved my issue.
>
> I can now run the pear.bat, but there is one more error:
>
> Console_Getopt: Could not read cmd args (register_argc_argv=Off?)
>
> The rest comes up just fine but no command will work because of the above
> error. Any idea?
>
> C:\PHP>pear help
> Console_Getopt: Could not read cmd args (register_argc_argv=Off?)
> Usage: [options] command [command-options] <parameters>
> Type " help options" to list all options.
> Type " help <command>" to get the help for the specified command.
> Commands:
> build Build an Extension From C Source
> clear-cache Clear XML-RPC Cache
> config-get Show One Setting
> config-help Show Information About Setting
> config-set Change Setting
> config-show Show All Settings
> cvsdiff Run a "cvs diff" for all files in a package
> cvstag Set CVS Release Tag
> download Download Package
> info Display information about a package
> install Install Package
> list List Installed Packages
> list-all List All Packages
> list-upgrades List Available Upgrades
> login Connects and authenticates to remote server
> logout Logs out from the remote server
> makerpm Builds an RPM spec file from a PEAR package
> package Build Package
> package-dependencies Show package dependencies
> package-validate Validate Package Consistency
> remote-info Information About Remote Packages
> remote-list List Remote Packages
> run-tests Run Regression Tests
> search Search remote package database
> shell-test Shell Script Test
> sign Sign a package distribution file
> uninstall Un-install Package
> upgrade Upgrade Package
> upgrade-all Upgrade All Packages
>
>
> "Martin Jansen" <mj@php.net> wrote in message
> news:1048757840.7401.45.camel@trior.martinjansen.com...
> > On Thu, 2003-03-27 at 10:31, Pascal S. wrote:
> > > My guess is:
> > > set PHP_BIN= c:\php\phe.exe
> > > set BIN_DIR= ??
> >
> > set BIN_DIR=c:\php\
> >
> > should work.
> >
> > - Martin
>
>
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>