PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Local installation of PEAR packages.

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Installation, Upgrading & Configuration
View previous topic :: View next topic  
Author Message
MaxT



Joined: 17 May 2007
Posts: 4

PostPosted: Mon Jul 07, 2008 12:43 pm    Post subject: Local installation of PEAR packages. Reply with quote

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
View user's profile Send private message
MaxT



Joined: 17 May 2007
Posts: 4

PostPosted: Wed Jul 09, 2008 11:59 am    Post subject: Sorted Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Installation, Upgrading & Configuration All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement

'Actiemonitor' online projectmanagement software