note 30974 added to ref.pspell

From: Date: Fri, 04 Apr 2003 21:09:41 +0000
Subject: note 30974 added to ref.pspell
Groups: php.notes 
Request: Send a blank email to php-notes+get-46237@lists.php.net to get a copy of this message
Trying to compile PHP 4.3.1 --with-pspell (using Aspell 0.50.3) produced a lot of errors at the end about missing symbols (aspell_speller_store_replacement, aspell_speller_add_to_session, etc. etc - all the regular aspell stuff). It appeared that the problem was that adding --with-pspell as a "configure" option only adds "-lpspell" to the gcc list of libraries, when it actually needs the aspell libraries as well. In my case, I solved it by starting with a clean PHP 4.3.1 distribution, editing the "configure" script and changing the LIBS line for pspell (line 62147 in this case) from: LIBS="-lpspell $LIBS" to: LIBS="-laspell -lpspell $LIBS" then continuing the configure/compile process as normal. -- http://www.php.net/manual/en/ref.pspell.php http://master.php.net/manage/user-notes.php?action=edit+30974 http://master.php.net/manage/user-notes.php?action=delete+30974 http://master.php.net/manage/user-notes.php?action=reject+30974

« previous php.notes (#46237) next »