Introduction to Aspell
The Aspell package contains an interactive
spell checking program and the Aspell
libraries. Aspell can either be used as a
library or as an independent spell checker.
This package is known to build and work properly
using an LFS 12.4 platform.
Package Information
Additional Downloads
You'll need to download at least one dictionary. The English dictionary
is given as an example below. Dictionaries in many other languages can be
found at https://mirror.csclub.uwaterloo.ca/gnu/aspell/dict.
Aspell Dependencies
Required
Which-2.23 (for the dictionaries)
Installation of Aspell
First, fix a problem when building with gcc-15:
sed -e 's/; i.*size)/, e = end(); i != e; ++i, ++size_)/' \
-i modules/speller/default/vector_hash-t.hpp
Prepare Aspell by running the following
commands:
./configure --prefix=/usr
make
This package does not come with a test suite.
Now Install the package, as the root user:
make install
ln -svfn aspell-0.60 /usr/lib/aspell
install -v -m755 -d /usr/share/doc/aspell-0.60.8.1/aspell{,-dev}.html
install -v -m644 manual/aspell.html/* \
/usr/share/doc/aspell-0.60.8.1/aspell.html
install -v -m644 manual/aspell-dev.html/* \
/usr/share/doc/aspell-0.60.8.1/aspell-dev.html
If you do not plan to install Ispell, then copy
the wrapper script ispell:
install -v -m 755 scripts/ispell /usr/bin/
If you do not plan to install Spell, then copy
the wrapper script spell:
install -v -m 755 scripts/spell /usr/bin/
Configuring Aspell
Configuration Information
After Aspell is installed, you must set up at
least one dictionary. Install the English dictionary by running the
following commands:
tar xf ../aspell6-en-2020.12.07-0.tar.bz2
cd aspell6-en-2020.12.07-0
./configure
make
Now Install the dictionary, as the root user:
make install
Other dictionaries can be installed with the same instructions.