Re: Need help "could not open the package file"
| From: | Stefan Neufeind | Date: | Mon, 16 Feb 2004 14:54:15 +0000 |
| Subject: | Re: Need help "could not open the package file" | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-10720@lists.php.net to get a copy of this message | ||
No -V available? Hmm, maybe your PEAR-version is outdated? This would
also go together with the missing knowledge about "checksum" etc.
Please do a:
lynx -source http://go-pear.org | php -q
Under must circumstances you should simply be able to live with the
preferences the installer gives you and just press Enter.
After this step for upgrading PEAR please try again to install DB
using a simple "pear install DB".
Hope it helps,
Stefan
On 16 Feb 2004 at 15:51, Kim E. Mikkelsen wrote:
> # pear -V
> unrecognized option -- V
> pear install DB-x.xx.tgz shows a lot of php error like
> <b>Warning</b>: Use of undefined constant checksum - assumed
> 'checksum' in <b>/usr/share/pear/Archive/Tar.php</b> on line
> <b>698</b><br />
>
> --
> Mvh
> Kim E. Mikkelsen
> Djurslands.net
>
> "Stefan Neufeind" <stefan@neufeind.net> wrote in message
> news:4030C998.752.F8066C@localhost...
> > On 16 Feb 2004 at 10:22, Kim E. Mikkelsen wrote:
> >
> > > When i do a
> > > pear install DB
> > > i get
> > > DB: could not open the package file: DB
> > > it is the same with other packages
> > > what i wrong ??
> >
> > a) Which PEAR-version do you have? Check with "pear -V".
> > b) Also check your internet-sessings. Do a "pear config-show".
> > c) Try downloading an archive e.g. of DB from the website and try a
> > local "pear install DB-x.xx.tgz" (replace with correct name of
> > file).