building aspell in CVS head

From: Chris Winne (
Date: Sat Nov 30 2002 - 16:17:59 EST

Hi all,

When I try to build (on an updated RH7.2, i386) using pspell/aspell
(actually aspell, since I am using the integrated 0.50.3 GNU aspell), I
get the following lines in configure.log (using config.ispell below):

 conftest -lpspell -lpspell -laspell -laspell-common -lltdl >&5

/usr/bin/ld: cannot find -laspell-common
collect2: ld returned 1 exit status
configure:6527: $? = 1
configure: failed program was:
#line 6498 "configure"

As a result, ispell is built in rather than the requested aspell.
However, this is apparently easily fixed by the following change to

diff -c configure.ispell configure.aspell

*** configure.ispell Sat Nov 30 00:52:10 2002
--- configure.aspell Fri Nov 29 22:45:47 2002
*** 6378,6384 ****
          abi_pspell_libs="-lpspell -lpspell-modules -lltdl"
! abi_pspell_libs="-lpspell -laspell -laspell-common -lltdl"
     if test $abi_spell = pspell; then
--- 6378,6384 ----
          abi_pspell_libs="-lpspell -lpspell-modules -lltdl"
! abi_pspell_libs="-lpspell -laspell -lltdl"
     if test $abi_spell = pspell; then

If configure -> configure.ispell, I get ispell. If configure ->
configure.aspell, I apparently get a perfectly good AbiWord_d in which
spelling works, I certainly suspect with aspell, since at least the
following is true:

ldd /usr/local/share/AbiSuite-2.0/AbiWord/bin/AbiWord_d |grep spell => /usr/local/lib/ (0x4038e000) => /usr/local/lib/ (0x40391000)

If this is a bug in the, I would be happy to commit a bug
report, however I am certainly not adequately versed in the intricacies
of the automake system to submit a patch beyond that.

If there really ought to be a -laspell-common separate from -laspell, any
hints to find it will of course be appreciated. It is quite possible
that my "fix" may break down with more use than simply checking the
spelling of hello versus helllo (which is about as far as I have gotten
;-). There is of course a aspell-0.50.3/common which seems to get built
when I install the library but I have not dug into where or how any
further than that.

Hey, keep up the good work and I hope these comments are helpful and not
a distraction.

Chris Winne

This archive was generated by hypermail 2.1.4 : Sat Nov 30 2002 - 16:20:11 EST