Koozali.org: home of the SME Server

6.0.1-01 Missing PEAR ???

paulmancan2

6.0.1-01 Missing PEAR ???
« on: May 17, 2005, 09:00:35 PM »
I was trying to perform the Ergin's PHP upgrade and I got error messages regarding the PEAR update commands.

# pear
bash: pear: command not found

This was a clean installation. I wiped the partitions and re-installed with the same result yet a box I setup last week has pear??? usr/share/pear exists...

Thanks for any explanation!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: 6.0.1-01 Missing PEAR ???
« Reply #1 on: May 17, 2005, 10:41:00 PM »
Quote from: "paulmancan2"
I was trying to perform the Ergin's PHP upgrade and I got error messages regarding the PEAR update commands.

# pear
bash: pear: command not found

This was a clean installation. I wiped the partitions and re-installed with the same result yet a box I setup last week has pear??? usr/share/pear exists...

Thanks for any explanation!


pear is part of (newer) php. If pear isn't there, then something has gone awry with the PHP upgrade.

FWIW, I don't agree with the use of the pear command to install pear modules. The required modules should be made available in RPM format - either included in the actual php RPM, or available as add-on RPMs.

RPM provides a database of installed software, and a mechanism to verify that the software is all present and unmodified. The use of "pear" to install modules breaks that cataloguing and verification function.

paulmancan2

6.0.1-01 Missing PEAR ???
« Reply #2 on: May 19, 2005, 12:35:15 AM »
Thanks Charlie.

You know it is great that SME enjoys community support and that people are so helful. I owe a lot to the people here; SME has allowed me to provide small server solutions with low end hardware requirments where the alternative would have been for me to learn more about linux (and roll my own) OR go with a fat distro with X...

In any event my single most frustrating beef is the apparant lack of organization here! There are so many different contribs that are supposed to do the same thing, so many broken contribs (little things like typos, bad url's etc.) For example coming here to try and figure out how to update to current versions of PHP + MySQL offers several solutions by different authors which may or may not work.

I have no right to complain BUT I would love to see efforts (and would participate in any way I can) to get a more organized system in place with "approved" contribs that can be easily found. I have several ideas but I don't know if anyone is interested.

dhardy

6.0.1-01 Missing PEAR ???
« Reply #3 on: May 19, 2005, 09:58:10 AM »
People are interested. :-)

Thats what the sticky posts at the top of the general forum are all about. ;-)

David