jechilt
08-23-2004, 02:23 PM
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...
>mkdir /usr/local/spelling
2. Change to your favorite download location and get files
>cd /usr/local/src
3. Download PSPELL, ASPELL and Patch
>wget http://prdownloads.sourceforge.net/pspell/pspell-.12.2.tar.gz (current as of 23Aug2004)
>wget http://prdownloads.sourceforge.net/aspell/aspell-.33.7.1.tar.gz (current as of 23Aug2004)
WARNING! The link provided on the http://aspell.net/old.html link for the patch is NOT GOOD!
>wget http://belnet.dl.sourceforge.net/sourceforge/aspell/aspell-.33-fix2.diff (current as of 23Aug2004)
4. Untar and install
>tar zxvf pspell-.12.2.tar.gz
>tar zxvf aspell-.33.7.1.tar.gz
5. The PSPELL must be installed first.
KEYPOINT: PSPELL and ASPELL must have the same PREFIX!
>cd pspell-.12.2.tar.gz
>./configure --prefix=/usr/local/spelling
>make
>make install
6. Change Directory, Patch and Install ASPELL
KEYPOINT: First install the patch!
>cd ../aspell-.33.7.1
>patch -p0 < aspell-.33-fix2.diff
>./configure --prefix=/usr/local/spelling
>make
>make install
7. Modify configure.php
>cd /usr/local/directadmin/customapache
>vi configure.php
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
./configure
--with-XXXXX \
--with-XXXXX \
--with-XXXXX \ <--Here you add the '\'
-->new line --with-pspell=/usr/local/spelling <--NOTICE, no '\' on the last line
=== complete vi ===
>./build clean
>./build update
>./build php
I chose to rebuild everything...not sure it is required. Anyway, when it finishes, continue with:
>/etc/init.d/httpd restart
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...
>mkdir /usr/local/spelling
2. Change to your favorite download location and get files
>cd /usr/local/src
3. Download PSPELL, ASPELL and Patch
>wget http://prdownloads.sourceforge.net/pspell/pspell-.12.2.tar.gz (current as of 23Aug2004)
>wget http://prdownloads.sourceforge.net/aspell/aspell-.33.7.1.tar.gz (current as of 23Aug2004)
WARNING! The link provided on the http://aspell.net/old.html link for the patch is NOT GOOD!
>wget http://belnet.dl.sourceforge.net/sourceforge/aspell/aspell-.33-fix2.diff (current as of 23Aug2004)
4. Untar and install
>tar zxvf pspell-.12.2.tar.gz
>tar zxvf aspell-.33.7.1.tar.gz
5. The PSPELL must be installed first.
KEYPOINT: PSPELL and ASPELL must have the same PREFIX!
>cd pspell-.12.2.tar.gz
>./configure --prefix=/usr/local/spelling
>make
>make install
6. Change Directory, Patch and Install ASPELL
KEYPOINT: First install the patch!
>cd ../aspell-.33.7.1
>patch -p0 < aspell-.33-fix2.diff
>./configure --prefix=/usr/local/spelling
>make
>make install
7. Modify configure.php
>cd /usr/local/directadmin/customapache
>vi configure.php
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
./configure
--with-XXXXX \
--with-XXXXX \
--with-XXXXX \ <--Here you add the '\'
-->new line --with-pspell=/usr/local/spelling <--NOTICE, no '\' on the last line
=== complete vi ===
>./build clean
>./build update
>./build php
I chose to rebuild everything...not sure it is required. Anyway, when it finishes, continue with:
>/etc/init.d/httpd restart