note 30974 deleted from ref.pspell by sniper

From: Date: Wed, 13 Aug 2003 19:21:07 +0000
Subject: note 30974 deleted from ref.pspell by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-54101@lists.php.net to get a copy of this message
Note Submitter: dswhite42@yahoo.com ---- 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.

« previous php.notes (#54101) next »