note 24994 modified in ref.pspell by vlad
| From: | vlad@php.net | Date: | Thu, 26 Sep 2002 23:05:52 +0000 |
| Subject: | note 24994 modified in ref.pspell by vlad | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-37310@lists.php.net to get a copy of this message | ||
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
--was--
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 yxf 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
http://www.php.net/manual/en/ref.pspell.php