note 24994 deleted from ref.pspell by sniper
| From: | sniper@php.net | Date: | Wed, 13 Aug 2003 19:22:45 +0000 |
| Subject: | note 24994 deleted from ref.pspell by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54104@lists.php.net to get a copy of this message | ||
Note Submitter: sudhakar@mindscapecomputing.com
----
The Following Steps to install Aspell and Pspell to work with PHP
Download these files
http://telia.dl.sourceforge.net/sourceforge/pspell/pspell-.12.2.tar.gz
Pspell Package
ftp://ftp.gnu.org/gnu/aspell/aspell-0.50.1.tar.gz
Aspell Package
ftp://ftp.gnu.org/gnu/aspell/aspell-en-0.50-2.tar.bz2
English Dictionary
for Aspell
untar the files
tar zxvf pspell-.12.2.tar.gz
tar zxvf aspell-0.50.1.tar.gz
tar jxvf aspell-en-0.50-2.tar.bz2
we have to install pspell first:
Get into the pspell-.12.2 directory
# ./configure
# make
# make install
# cd modules
# ./add-modules
# cd ..
# make
# make install
Second we have to install Aspell:
Get into the aspell-0.50.1 directory
# ./configure
# make
# make install
After Sucessfully compiled Apply the Dictionary
Get into the aspell-en-0.50-2 directory
# ./configure
Which should output something like:
Finding Dictionary file location ... /usr/local/lib/aspell
Finding Data file location ... /usr/local/share/aspell
# make
# make install
To Check aspell is working try this example
Create a file test.txt add the line "I am speled wron" and save the file
# aspell check test.txt
from the command line.
after the above example work.
use --with-pspell when compiling PHP