Ok, I am sorry for such a dumb question but installing PEAR appears to be not possible in some case. I have a look at PEAR website following readme.txt instructions and I can not install pear in an easy way with hoster I am working for. Furthermore this is a huge work which can lead to many problems.

So is there an easy way for you to avoid PEAR use and if the answer is yes do you have a milestone in your roadmap for such work ?

Regards

Comments

geek-merlin’s picture

subscribing

ronan’s picture

Status: Active » Fixed

The PEAR code is necessary, but you don't need to do a traditional PEAR install. Just follow the instructions from line 45 on in the README.txt:

  or you can simply download the PEAR package at
    http://download.pear.php.net/package/PEAR-1.8.1.tgz
  Expand this archive and copy PEAR.php and PEAR5.php into the
    includes/
  directory of this module. Once you have installed PEAR, you can follow the 
  instructions in option 2 above.

You basically just need to download 2 files and put them in the 'includes' directory of this module.

Anonymous’s picture

OK !

Got to have a look in the next days !

Thank you !

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

IamOnStage’s picture

So we just need to copy the 3 files into the includes directory: ?
Tar.php
PEAR.php
PEAR5.php

Could these be included in the module install to make it easier for people?

I would just add that the text in the readme.txt "Once you have installed PEAR" is a little confusing as it suggests that you need to install the files once copied. It could read "just copy files, no install required."

Hope this helps

ronan’s picture

Could these be included in the module install to make it easier for people?

No, Drupal's repository rules explicitly disallow this, I'm afraid.