Re: Aspell 0.27.2 make problem
| From: | Vlad Krupin | Date: | Tue, 21 Aug 2001 22:27:54 +0000 |
| Subject: | Re: Aspell 0.27.2 make problem | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63998@lists.php.net to get a copy of this message | ||
Arghh!
aspell 0.27 + php4 = *BAD* IDEA. Did you read the note on the page from php manual you mentioned in your email?
I quote:
*Note: * aspell works only with very old (up to .27.* or so)
versions of aspell library. Neither this module, nor those versions
of aspell library are supported any longer. If you want to use
spell-checking capabilities in php, use pspell
<http://www.php.net/manual/en/ref.pspell.php> instead. It uses
pspell library and works with newer versions of aspell.
I do not think you will be able to get this version to even compile; it is not supported by the aspell author, and will not work with php4. Please, use pspell instead (http://www.php.net/manual/en/ref.pspell.php). It is very similar, in fact, it uses newer versions of aspell, but better.
If you still have problems, please ask.
Vlad
Joel Jacobsson wrote:
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 fromconst char *const' toconst 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