 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
MaxT
Joined: 17 May 2007 Posts: 4
|
Posted: Mon Jul 07, 2008 12:43 pm Post subject: Local installation of PEAR packages. |
|
|
Hello. I have a relatively recent installation of PHP and PEAR using Fedora Core 8.
I am trying to construct a build script that will upgrade or install various PEAR packages. I have downloaded the PEAR packages that I need to install as .tgz versions.
Problem: When I run an install command to try and install the local versions the output message appears to indicate that I am using the pear channel rather than the local file.
Below is the format of the command and the output.
| Code: |
$pear install --force --offline --nodeps /myfiles/pear/Log-1.11.0.tgz
install ok: channel://pear.php.net/Log-1.11.0
|
I don't understand why it is using the pear channel when I have given it the offline option.
Does anyone know what I am doing wrong here.
I've tried prefixing the package with __uri/ but that doesn't make any difference.
Thanks,
Max |
|
| Back to top |
|
 |
MaxT
Joined: 17 May 2007 Posts: 4
|
Posted: Wed Jul 09, 2008 11:59 am Post subject: Sorted |
|
|
Checking this again in more detail (by disabling the network connection) the install works ok from the local file.
I guess the message "install ok: channel://pear.php.net/Log-1.11.0" just shows what channel it is assigned to, it is doesn't mean that it was installed from that channel.
Still not sure for local installs if you should use the __uri channel, or the channel that is normally associated with the package. Have to think about that in more detail.
Max |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|