Fwd: Re: [PEAR] Re: installed pear on LAMP hosting account fine - can not install package
| From: | Stowe Spivey | Date: | Tue, 12 Oct 2004 12:30:44 +0000 |
| Subject: | Fwd: Re: [PEAR] Re: installed pear on LAMP hosting account fine - can not install package | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14872@lists.php.net to get a copy of this message | ||
--- Klaus Guenther <klaus@capitalfocus.org> wrote:
> Date: Tue, 12 Oct 2004 14:13:15 +0200
> From: Klaus Guenther <klaus@capitalfocus.org>
> To: spiveyspivey@yahoo.com
> CC: pear-general@lists.php.net, cellog@php.net
> Subject: Re: [PEAR] Re: installed pear on LAMP hosting account fine
> - can
> not install package
>
> Stowe Spivey wrote:
> > --- Greg Beaver <cellog@php.net> wrote:
> >
> >
> >>Stowe Spivey wrote:
> >>
> >>>I installed it successfully several weeks ago and verified it
> >>
> >>does work. I can reference it in my php code and it works.
> >>
> >>>Now I want to add some packages and I can't execute the pear
> >>
> >>command from anywhere in the directory structure.
> >>
> >>>The structure is something like this, /usr/local/other/pear/.
> >>>
> >>>Under /pear I found a file called, ".registry". Does that mean
> >>
> >>it think it installed it on a windows machine?
> >>
> >>no
> >>
> >>
> >>>What do I do to get to a point where I can install additional
> >>>packages?
> >>
> >>$ pear
> >>
> >>when you run the above command, what do you see? The pear
> command
> >>should be in your path. If not, type in the full path
> >>
> >>$ /usr/local/pear
> >>
> >>Or wherever it is installed.
> >>
> >>Greg
> >>
> >
> >
> >
> > Here's what it looks like when I try:
> >
> > $ pear
> > /usr/local/bin/pear: /usr/local/bin/php: No such file or
> directory
> > /usr/local/bin/pear: exec: /usr/local/bin/php: cannot execute: No
> > such file or directory
> > $ /usr/local/other/pear
> > sh: /usr/local/other/pear: is a directory
> > $ usr/local/other/pear/bin/pear
> > sh: usr/local/other/pear/bin/pear: No such file or directory
>
> $ find /usr |grep pear |less
>
> That way you may find it if it was installed in an odd location.
>
> hth
>
> Klaus
>
Here's what it showed - what particular file am I looking for?
/usr/local/bin/pear
/usr/local/other/pear
/usr/local/other/pear/docs
/usr/local/other/pear/docs/Archive_Tar
/usr/local/other/pear/docs/Archive_Tar/docs
/usr/local/other/pear/docs/Archive_Tar/docs/Archive_Tar.txt
/usr/local/other/pear/docs/DB
/usr/local/other/pear/docs/DB/doc
/usr/local/other/pear/docs/DB/doc/MAINTAINERS
/usr/local/other/pear/docs/DB/doc/STATUS
/usr/local/other/pear/docs/DB/doc/TESTERS
/usr/local/other/pear/docs/DB/doc/IDEAS
/usr/local/other/pear/docs/Net_SMTP
/usr/local/other/pear/docs/Net_SMTP/docs
/usr/local/other/pear/docs/Net_SMTP/docs/examples
/usr/local/other/pear/docs/Net_SMTP/docs/examples/basic.php
/usr/local/other/pear/docs/Net_SMTP/docs/guide.txt
/usr/local/other/pear/docs/XML_Parser
/usr/local/other/pear/docs/XML_Parser/examples
/usr/local/other/pear/docs/XML_Parser/examples/xml_parser_file.xml
/usr/local/other/pear/docs/XML_Parser/examples/xml_parser_handler.php
/usr/local/other/pear/docs/XML_Parser/examples/xml_parser_simple1.php
/usr/local/other/pear/docs/XML_Parser/examples/xml_parser_simple1.xml
/usr/local/other/pear/docs/XML_Parser/examples/xml_parser_simple2.php
/usr/local/other/pear/docs/XML_Parser/examples/xml_parser_simple2.xml
/usr/local/other/pear/docs/XML_Parser/examples/xml_parser_simple_handler.php
/usr/local/other/pear/docs/XML_Parser/examples/xml_parser_file.php
/usr/local/other/pear/data
/usr/local/other/pear/data/PEAR
/usr/local/other/pear/data/PEAR/template.spec
/usr/local/other/pear/data/PEAR/package.dtd
/usr/local/other/pear/tests
/usr/local/other/pear/tests/DB
/usr/local/other/pear/tests/DB/tests
/usr/local/other/pear/tests/DB/tests/driver
/usr/local/other/pear/tests/DB/tests/driver/02fetch.phpt
/usr/local/other/pear/tests/DB/tests/driver/03simplequery.phpt
/usr/local/other/pear/tests/DB/tests/driver/04numcols.phpt
/usr/local/other/pear/tests/DB/tests/driver/05sequences.phpt
/usr/local/other/pear/tests/DB/tests/driver/06prepexec.phpt
/usr/local/other/pear/tests/DB/tests/driver/08affectedrows.phpt
/usr/local/other/pear/tests/DB/tests/driver/09numrows.phpt
/usr/local/other/pear/tests/DB/tests/driver/10errormap.phpt
/usr/local/other/pear/tests/DB/tests/driver/11transactions.phpt
/usr/local/other/pear/tests/DB/tests/driver/13limit.phpt
/usr/local/other/pear/tests/DB/tests/driver/14fetchmode_object.phpt
/usr/local/other/pear/tests/DB/tests/driver/15quote.phpt
/usr/local/other/pear/tests/DB/tests/driver/16tableinfo.phpt
/usr/local/other/pear/tests/DB/tests/driver/17query.phpt
/usr/local/other/pear/tests/DB/tests/driver/18get.phpt
/usr/local/other/pear/tests/DB/tests/driver/bug22328.phpt
/usr/local/other/pear/tests/DB/tests/driver/connect.inc
/usr/local/other/pear/tests/DB/tests/driver/mktable.inc
/usr/local/other/pear/tests/DB/tests/driver/run.cvs
/usr/local/other/pear/tests/DB/tests/driver/setup.inc.cvs
/usr/local/other/pear/tests/DB/tests/driver/skipif.inc
/usr/local/other/pear/tests/DB/tests/driver/01connect.phpt
/usr/local/other/pear/tests/DB/tests/db_parsedsn.phpt
/usr/local/other/pear/tests/DB/tests/db_factory.phpt
/usr/local/other/pear/tests/DB/tests/db_ismanip.phpt
/usr/local/other/pear/tests/DB/tests/db_error2.phpt
/usr/local/other/pear/tests/DB/tests/errors.inc
/usr/local/other/pear/tests/DB/tests/fetchmode_object.inc
/usr/local/other/pear/tests/DB/tests/fetchmodes.inc
/usr/local/other/pear/tests/DB/tests/include.inc
/usr/local/other/pear/tests/DB/tests/limit.inc
/usr/local/other/pear/tests/DB/tests/numcols.inc
/usr/local/other/pear/tests/DB/tests/numrows.inc
/usr/local/other/pear/tests/DB/tests/prepexe.inc
/usr/local/other/pear/tests/DB/tests/run.cvs
/usr/local/other/pear/tests/DB/tests/sequences.inc
/usr/local/other/pear/tests/DB/tests/simplequery.inc
/usr/local/other/pear/tests/DB/tests/transactions.inc
/usr/local/other/pear/tests/DB/tests/skipif.inc
/usr/local/other/pear/tests/DB/tests/db_error.phpt
/usr/local/other/pear/tests/Net_SMTP
/usr/local/other/pear/tests/Net_SMTP/tests
/usr/local/other/pear/tests/Net_SMTP/tests/basic.phpt
/usr/local/other/pear/tests/Net_SMTP/tests/config.php.dist
/usr/local/other/pear/tests/Net_SMTP/tests/auth.phpt
/usr/local/other/pear/tests/XML_Parser
/usr/local/other/pear/tests/XML_Parser/tests
/usr/local/other/pear/tests/XML_Parser/tests/002.phpt
/usr/local/other/pear/tests/XML_Parser/tests/003.phpt
/usr/local/other/pear/tests/XML_Parser/tests/004.phpt
/usr/local/other/pear/tests/XML_Parser/tests/005.phpt
/usr/local/other/pear/tests/XML_Parser/tests/test2.xml
/usr/local/other/pear/tests/XML_Parser/tests/test3.xml
/usr/local/other/pear/tests/XML_Parser/tests/001.phpt
/usr/local/other/pear/.registry
/usr/local/other/pear/.registry/pear.reg
/usr/local/other/pear/.registry/archive_tar.reg
/usr/local/other/pear/.registry/console_getopt.reg
/usr/local/other/pear/.registry/xml_rpc.reg
/usr/local/other/pear/.registry/db.reg
/usr/local/other/pear/.registry/net_socket.reg
/usr/local/other/pear/.registry/net_smtp.reg
/usr/local/other/pear/.registry/mail.reg
/usr/local/other/pear/.registry/xml_parser.reg
/usr/local/other/pear/.registry/phpunit.reg
/usr/local/other/pear/PEAR
/usr/local/other/pear/PEAR/Command
/usr/local/other/pear/PEAR/Command/Build.php
/usr/local/other/pear/PEAR/Command/Common.php
/usr/local/other/pear/PEAR/Command/Config.php
/usr/local/other/pear/PEAR/Command/Install.php
/usr/local/other/pear/PEAR/Command/Package.php
/usr/local/other/pear/PEAR/Command/Registry.php
/usr/local/other/pear/PEAR/Command/Remote.php
/usr/local/other/pear/PEAR/Command/Mirror.php
/usr/local/other/pear/PEAR/Command/Auth.php
/usr/local/other/pear/PEAR/Frontend
/usr/local/other/pear/PEAR/Frontend/CLI.php
/usr/local/other/pear/PEAR/Command.php
/usr/local/other/pear/PEAR/Common.php
/usr/local/other/pear/PEAR/Config.php
/usr/local/other/pear/PEAR/Dependency.php
/usr/local/other/pear/PEAR/Downloader.php
/usr/local/other/pear/PEAR/ErrorStack.php
/usr/local/other/pear/PEAR/Builder.php
/usr/local/other/pear/PEAR/Packager.php
/usr/local/other/pear/PEAR/Installer.php
/usr/local/other/pear/PEAR/Registry.php
/usr/local/other/pear/PEAR/Remote.php
/usr/local/other/pear/PEAR/Autoloader.php
/usr/local/other/pear/OS
/usr/local/other/pear/OS/Guess.php
/usr/local/other/pear/Archive
/usr/local/other/pear/Archive/Tar.php
/usr/local/other/pear/Console
/usr/local/other/pear/Console/Getopt.php
/usr/local/other/pear/XML
/usr/local/other/pear/XML/Parser
/usr/local/other/pear/XML/Parser/Simple.php
/usr/local/other/pear/XML/RPC
/usr/local/other/pear/XML/RPC/Server.php
/usr/local/other/pear/XML/RPC.php
/usr/local/other/pear/XML/Parser.php
/usr/local/other/pear/Net
/usr/local/other/pear/Net/Socket.php
/usr/local/other/pear/Net/SMTP.php
/usr/local/other/pear/DB
/usr/local/other/pear/DB/dbase.php
/usr/local/other/pear/DB/fbsql.php
/usr/local/other/pear/DB/ibase.php
/usr/local/other/pear/DB/ifx.php
/usr/local/other/pear/DB/msql.php
/usr/local/other/pear/DB/mssql.php
/usr/local/other/pear/DB/mysql.php
/usr/local/other/pear/DB/mysqli.php
/usr/local/other/pear/DB/oci8.php
/usr/local/other/pear/DB/odbc.php
/usr/local/other/pear/DB/pgsql.php
/usr/local/other/pear/DB/sybase.php
/usr/local/other/pear/DB/storage.php
/usr/local/other/pear/DB/sqlite.php
/usr/local/other/pear/DB/common.php
/usr/local/other/pear/PHPUnit
/usr/local/other/pear/PHPUnit/GUI
/usr/local/other/pear/PHPUnit/GUI/HTML.tpl
/usr/local/other/pear/PHPUnit/GUI/HTML.php
/usr/local/other/pear/PHPUnit/GUI/SetupDecorator.php
/usr/local/other/pear/PHPUnit/RepeatedTest.php
/usr/local/other/pear/PHPUnit/TestCase.php
/usr/local/other/pear/PHPUnit/TestDecorator.php
/usr/local/other/pear/PHPUnit/TestFailure.php
/usr/local/other/pear/PHPUnit/TestListener.php
/usr/local/other/pear/PHPUnit/TestResult.php
/usr/local/other/pear/PHPUnit/TestSuite.php
/usr/local/other/pear/PHPUnit/Assert.php
/usr/local/other/pear/Mail
/usr/local/other/pear/Mail/null.php
/usr/local/other/pear/Mail/sendmail.php
/usr/local/other/pear/Mail/smtp.php
/usr/local/other/pear/Mail/RFC822.php
/usr/local/other/pear/Mail/mail.php
/usr/local/other/pear/.lock
/usr/local/other/pear/.filemap
/usr/local/other/pear/System.php
/usr/local/other/pear/pearcmd.php
/usr/local/other/pear/PEAR.php
/usr/local/other/pear/DB.php
/usr/local/other/pear/Mail.php
/usr/local/other/pear/PHPUnit.php
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com