#23089 [Bgs->Csd]: Compiling with aspell 0.50.3 fails
| From: | sniper@php.net | Date: | Thu, 17 Feb 2005 03:52:54 +0000 |
| Subject: | #23089 [Bgs->Csd]: Compiling with aspell 0.50.3 fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74187@lists.php.net to get a copy of this message | ||
ID: 23089
Updated by: sniper@php.net
Reported By: dswhite42 at yahoo dot com
-Status: Bogus
+Status: Closed
Bug Type: Pspell related
Operating System: SunOS 5.8
PHP Version: 4.3.1
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-04-09 16:43:35] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
.
------------------------------------------------------------------------
[2003-04-09 09:16:10] jay@php.net
I successfully compiled Aspell 0.50.3 and an up-to-date
CVS checkout of php4 with the pspell extension on Solaris
8 SPARC last night and there were no problems. I didn't
need to add Aspell to LIBS, and there's no mention of it
in any of the Makefiles.
Could you try a snapshot from snaps.php.net and see how
that goes? I'm also curious as to what you're using for
your compiler, linker, etc., so if you could post those,
too...
J
------------------------------------------------------------------------
[2003-04-07 09:19:14] dswhite42 at yahoo dot com
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 this bug report at http://bugs.php.net/?id=23089&edit=1