This is how to make PSPELL and ASPELL play together nicely on
RedHat 9 with Apache 1.3 and DA.
Reference Link: http://aspell.net/old.html (current as of 23Aug2004)
NOTE: Aspell must be installed in the same PREFIX location as PSPELL before it will compile. Aspell
requires version .12.2 of pspell or better
1. Determine the directory for the spelling checker. I created a new dedicated directory...
2. Change to your favorite download location and get files
3. Download PSPELL, ASPELL and Patch
4. Untar and install
5. The PSPELL must be installed first.
KEYPOINT: PSPELL and ASPELL must have the same PREFIX!
6. Change Directory, Patch and Install ASPELL
KEYPOINT: First install the patch!
7. Modify configure.php
I chose to rebuild everything...not sure it is required. Anyway, when it finishes, continue with:
RedHat 9 with Apache 1.3 and DA.
Reference Link: http://aspell.net/old.html (current as of 23Aug2004)
NOTE: Aspell must be installed in the same PREFIX location as PSPELL before it will compile. Aspell
requires version .12.2 of pspell or better
1. Determine the directory for the spelling checker. I created a new dedicated directory...
Code:
>mkdir /usr/local/spelling
Code:
>cd /usr/local/src
Code:
>wget [url]http://prdownloads.sourceforge.net/pspell/pspell-.12.2.tar.gz[/url] [size=1][COLOR=crimson](current as of 23Aug2004)[/color][/size]
>wget [url]http://prdownloads.sourceforge.net/aspell/aspell-.33.7.1.tar.gz[/url] [size=1][COLOR=crimson](current as of 23Aug2004)[/color][/size][b][COLOR=crimson]
WARNING! The link provided on the [url]http://aspell.net/old.html[/url] link for the patch is NOT GOOD![/b][/color]
>wget [url]http://belnet.dl.sourceforge.net/sourceforge/aspell/aspell-.33-fix2.diff[/url] [size=1][COLOR=crimson](current as of 23Aug2004)[/color][/size]
Code:
>tar zxvf pspell-.12.2.tar.gz
>tar zxvf aspell-.33.7.1.tar.gz
KEYPOINT: PSPELL and ASPELL must have the same PREFIX!
Code:
>cd pspell-.12.2.tar.gz
>./configure --prefix=/usr/local/spelling
>make
>make install
KEYPOINT: First install the patch!
Code:
>cd ../aspell-.33.7.1
>patch -p0 < aspell-.33-fix2.diff
>./configure --prefix=/usr/local/spelling
>make
>make install
Code:
>cd /usr/local/directadmin/customapache
>vi configure.php
[COLOR=crimson]NOTE: Before adding the last line, you need to add a "\" to the end of the current last line.
The "\" allows the program to read the next line...a carriage return, of sorts[/color]
./configure
--with-XXXXX \
--with-XXXXX \
--with-XXXXX [b]\[/b] [COLOR=crimson] <--Here you add the '\'
-->new line[/color][COLOR=blue] --with-pspell=/usr/local/spelling[/color][COLOR=crimson] <--NOTICE, no '\' on the last line
=== complete vi ===[/color]
>./build clean
>./build update
>./build php
I chose to rebuild everything...not sure it is required. Anyway, when it finishes, continue with:
Code:
>/etc/init.d/httpd restart
Last edited: