Compiling aspell 0.27.2

Joel Jacobsson joel@qulit.com
Tue, 21 Aug 2001 20:00:44 +0200 (CEST)


Hello!

I'm trying to compile the recommended version of aspell, 0.27.*, as said at 
http://www.php.net/manual/en/ref.aspell.php.

./configure runs without any problem, but when trying make I get this error:

make[3]: Entering directory `/usr/src/rawtgzs/aspell-.27.2/lib'
/bin/sh ../libtool --mode=compile c++ -DLIBDIR=\"/usr/lib/aspell\" -I../    -g -
O2 -c data.cc
c++ -DLIBDIR=\"/usr/lib/aspell\" -I../ -g -O2 -c -fPIC -DPIC data.cc
In file included from data.cc:74:
data.hh: In method `const char ** SC_ReadOnly_Soundslikes_WordList::end() 
const':
data.hh:124: reinterpret_cast from `const char *const' to `const char **' casts 
away const (or volatile)

make[3]: *** [data.lo] Error 1

Please help me solve this problem.
(I'm not having any problem compiling 0.28.3 but then apache won't start. 
undefined symbol: aspell_free, so I guess I need 0.27.2)

Thanks!
Best regards, Joel Jacobson