December 1st, 2009 › Aspell, Notes, PHP › admin ›
I’m working on a special project involving Aspell, here are some instructions for updating Aspell on your Dreamhost server. This page from Dreamhost has proven to be extremely useful. wget ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz wget ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-6.0-0.tar.bz2 tar -xvzf aspell-0.60.6.tar.gz tar -xvjf aspell6-en-6.0-0.tar.bz2 mkdir usr cd aspell-0.60.6 ./configure --prefix=$HOME/usr make make install make clean cd .. Then nano .bash_profile Add Aspell to your path: PATH=$HOME/usr/bin/:$HOME/usr/share/:$PATH export PATH Save changes, logout and back in to see changes to your path. Then cd aspell6-en-6.0-0 ./configure make make install make clean cd ..
wget ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz wget ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-6.0-0.tar.bz2 tar -xvzf aspell-0.60.6.tar.gz tar -xvjf aspell6-en-6.0-0.tar.bz2 mkdir usr cd aspell-0.60.6 ./configure --prefix=$HOME/usr make make install make clean cd ..
nano .bash_profile
PATH=$HOME/usr/bin/:$HOME/usr/share/:$PATH export PATH
cd aspell6-en-6.0-0 ./configure make make install make clean cd ..
That’s it! Type “aspell -v” to make sure you’re now running version 6, not 3, which is what Dreamhost has by default. Disregard what it says about changing spellchecker.php, it’s still necessary to force utf-8 (at least in my tests). Now it’s time to start hacking Speller Pages.
No Comments
Comments RSS TrackBack Identifier URI
No comments. Be the first.
Leave a comment
Name (required)
Mail (will not be published) (required)
Website
Your comment