1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
This is the Git repository for GNU Aspell.
http://aspell.net
The following packages need to be installed to build this package
from Git:
* perl (I use v5.6.0 but other versions may work)
* libtool
* gettext
* autoconf
* automake
* makeinfo
Before the build:
```
./autogen
./configure --disable-static <options>
# or ./config-opt <options> or ./config-debug <options>
```
The `./config-*` will set things up for easier development. If you want
to install Aspell to use it rather than develop with it, then use the
normal `configure`. When `config-*` is used the default things will be
installed in `<build dir>/inst` for easier testing and debugging. You
can change that by using the `--prefix` option.
Autogen should be run whenever anything but the source files or
Makefile.am files are modified.
Then to build and install:
```
make
make install
```
You will then need to install a dictionary package for the new Aspell.
You can find them at http://aspell.net. If Aspell is installed
somewhere other than `/usr/local`, you will probably need to add
`<prefix>/bin` to your PATH or make symbolic links to the executable in
order for the dictionary to build correctly.
To run the debugger on these programs, if they are not installed, use
```
libtool gdb <debugger parms>
```
or
```
libtool --mode execute <your debugger> <debugger parms>
```
For example, to debug aspell with ddd use
```
libtool --mode execute ddd prog/.libs/aspell
```
Using libtool is necessary to make sure the shared libraries get loaded
right. If you debug them after they are installed this will not be
necessary.
|