help installing apd using pear installer
From: Tom Blumer (tom2_at_allstardirectories.com)
Date: 01/25/04
- Next message: MikeSoja: "Does an attempt to access an array with an invalid key return NULL, or is the result undefined?"
- Previous message: Barry: "Re: Apache - Previewing Pages with Dreamweaver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Jan 2004 19:23:16 -0800
I am trying to install the apd profiler on RedHat 7.2 with PHP 4.1.2
(i386)
First I had no /usr/bin/pear so I installed that by
# lynx -source http://go-pear.org/ | php
(no errors and I did get /usr/bin/pear)
I did not choose to install any of these packages during that install:
PEAR packages bundled with PHP: DB, Net_Socket, Net_SMTP, Mail,
XML_Parser, PHPUnit-0.6.2.
Then 'pear install apd' failed looking for phpize so I looked on
rpmfind.net for a version of the php-devel package matching my OS
(RedHat? 7.2) and PHP (4.1.2) versions.
Then I did an rpm install from the rpmfind.net ftp location.
rpm --install ftp://speakeasy.rpmfind.net/linux/redhat/updates/7.2/en/os/i386/php-devel-4.1.2-7.2.6.i386.rpm
This gave no output - and installed phpize in /usr/bin (not sure what
else it did).
After that the command (as root)
# pear install apd
just lists the usage and quits.
After inserting a few prints in the pear script I see that it is off
by one in its interpretation of where the command and options are
(strange!)
so to fix that I inserted an x on the command line, so make the script
understand where the install command and options are
That part worked and the script passes the correct $pkgfile to
PEAR/Installer.php install function but then dies with the following
message
[/usr/root]# pear x install apd
pear: Unable to open in read mode ''
apd: unable to unpack
any ideas?
-Tom
- Next message: MikeSoja: "Does an attempt to access an array with an invalid key return NULL, or is the result undefined?"
- Previous message: Barry: "Re: Apache - Previewing Pages with Dreamweaver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|