I’m getting some strange PEAR problems when trying to install. There are a few known problems with PEAR on the mac, but I’ve followed the instructions on the web to fix it by running
curl http://go-pear.org/ | sudo php which seems to have worked… BUT
When I get to step 4 (Version Check) I get this:
[color=“red”]PSpell not found. You can proceed with the install, however some functionality will not be available to you
Your version of DB meets the requirements, but has not been fully tested with Matrix and may cause some undesirable side-effects.
Your version of Archive_Tar meets the requirements, but has not been fully tested with Matrix and may cause some undesirable side-effects.
Your version of Mail meets the requirements, but has not been fully tested with Matrix and may cause some undesirable side-effects.
Required PEAR module “Mail_Mime” is not installed. Please run
pear install Mail_Mime
Required PEAR module “XML_HTMLSax” is not installed. Please run
pear install XML_HTMLSax
Your version of XML_Parser meets the requirements, but has not been fully tested with Matrix and may cause some undesirable side-effects
when I open up the terminal to try and install Mail-Mime it all works fine (very happy, Jan)
But when I open up the terminal to try and install XML_HTMLSax I get the following error in Terminal:
matt% pear install XML_HTMLSax
downloading XML_HTMLSax-2.1.2.tgz …
Starting to download XML_HTMLSax-2.1.2.tgz (16,099 bytes)
…done: 16,099 bytes
failed to write /usr/lib/php/XML/.tmpXML_HTMLSax.php
(Not happy, Jan)
Can anyone tell me what’s causing this and how to get around it?
When I try and install PSpell it tells me that there is no module called PSpell. I even did a pear list-all and I can’t see anything called “spell” in their list of modules?
Any advice for mac users?
Thanks,
Matt
PSpell is actually part of the ASpell libraries (go figure) and are not part of PHP or PEAR. They are required for PHP’s spell checking mechanism though. There is a utility for MacOS X called Fink which makes installing this type of stuff really easy. Also, check out Complete Apache and Complete PHP from Fink – worked like a charm when I installed it on MacOS X.
Though, from the look of the snippet, the user you’re logged in as doesn’t have permission to write to the /usr/lib/php/XML directory. Try su’ing to root and performing the pear install again.
Yeah but Complete PHP only runs on Apahce 2 and I don't really want to mess with the system too much.
I also tried sudo pear install and yes it worked
Very Happy Jan

So I've downloaded Fink, it tells me the installation and configuration was all ok… So I tried
sudo deslect
and it says "Command not found".
I then tried
fink list and it says
tcsh: fink: Command not found.
dagnabit! I have about ten windows of ten different FAQ/Manuals open at the moment, so before I start messing about so you have any tips on how I get ASpell installed?
Thanks,
Matt
Its been a while since I played with Fink (its on the Xserve at a client). I think your best bet is to try and get some Mac assistance from a more Mac oriented site in order to get the aspell binaries and libraries in place.
I run fink using the user that installed it without sudo.
It does ask for your admin password automatically.
The other option would be to:
find / | grep fink (or dselect)
and add that path to your PATH variable.