Slight Changes Required Before Using This Module

netplayground - January 8, 2009 - 12:16
Project:Pear
Version:6.x-0.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

This module has great promise, but it is going to need regular care and attention to keep it working smoothly.

I just went through some rough hours trying to figure out what I was doing wrong. It ended up that the download links for the three 'bundled' installation files changed slightly since the module was released in the middle of 2008. All that is required is changing a few lines of scripting in one of the Pear module files. The file you'll need to edit is called pear.install.

If you go to lines 90, 91 and 92 you should see three download links that need to be updated ever so slightly. Below are the UPDATED and WORKING links that I used on January 8, 2009.

  'PEAR.php' => 'http://cvs.php.net/viewvc.cgi/pear-core/PEAR.php?view=co', 
  'Archive/Tar.php' => 'http://cvs.php.net/viewvc.cgi/pear/Archive_Tar/Archive/Tar.php?view=co', 
  'Console/Getopt.php' => 'http://cvs.php.net/viewvc.cgi/pear-core/Console/Getopt.php?view=co', 

As of this date, the latest stable release is PEAR 1.7.2. While the script does some fancy maneuvering to bring in the latest, I ran into troubles here as well. Below is direct link to that archive if you need to mess with the second half of the script to make it do the things you want done.

  http://download.pear.php.net/package/PEAR-1.7.2.tgz 

Of course, as soon as I hit 'SEND' the links will change again and PEAR will have a new release. But, armed with the info above you'll know exactly where the trouble spots are located.

RICK

#1

nally - January 26, 2009 - 03:48

Thanks for posting that. It helped me a lot.

Now... this new PEAR install competes with another one on my server, but I haven't been able to get Drupal to include those definitions.

Any tips for bringing new Pear classes into this deployment within my Drupal tree?

 
 

Drupal is a registered trademark of Dries Buytaert.