#23089 [NEW]: Compiling with aspell 0.50.3 fails
| From: | dswhite42 at yahoo dot com | Date: | Mon, 07 Apr 2003 14:19:14 +0000 |
| Subject: | #23089 [NEW]: Compiling with aspell 0.50.3 fails | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-37270@lists.php.net to get a copy of this message | ||
From: dswhite42 at yahoo dot com
Operating system: SunOS 5.8
PHP version: 4.3.1
PHP Bug Type: Compile Failure
Bug description: Compiling with aspell 0.50.3 fails
When compiling with aspell-0.50.3 (using --with-pspell), everything works
fine until the final stages (when sapi/cli/php is created). At that
point I get multiple errors such as:
Undefined first referenced
symbol in file
aspell_speller_store_replacement ext/pspell/pspell.lo
aspell_speller_add_to_session ext/pspell/pspell.lo
delete_aspell_speller ext/pspell/pspell.lo
...
etc. It appears that the problem is that PHP is including the pspell
library but not the newer aspell library, where all those symbols can be
found.
The solution that worked for me was to edit the "configure" script, find
the section where "-lpspell" is prepended to the $LIBS variables, and add
"-laspell" as well. e.g. on line 62147 for PHP 4.3.1's "configure file",
change:
LIBS="-lpspell $LIBS"
to
LIBS="-laspell -lpspell $LIBS"
--
Edit bug report at http://bugs.php.net/?id=23089&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23089&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23089&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23089&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23089&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23089&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23089&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23089&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23089&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23089&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23089&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23089&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23089&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23089&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23089&r=gnused