Bug #14429 Updated: PSPELL CONFIG

From: Date: Wed, 12 Dec 2001 19:55:25 +0000
Subject: Bug #14429 Updated: PSPELL CONFIG
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73387@lists.php.net to get a copy of this message
ID: 14429 Updated by: vlad Reported By: taitgrove@hotmail.com Old Status: Open Status: Analyzed Bug Type: Pspell related Operating System: freebsd 4.3 PHP Version: 4.1.0 Assigned To: vlad New Comment: From the quick look at the source of pspell, the author has broken source backward compatibility once again. Duh. Well, it's his toy, he can play with it, and I'll try to support the new API once again. For now, if you really-really need a spell checker in php, use a slightly older aspell (I'd say .32.x would work) and a corresponding version of pspell. I'll try to put changes up before the next release of php. BTW: He is also renaming the whole thing back to aspell. We've gone through this before - we had aspell support, then Kevin changed the API to the point it wasn't worth fixing things that worked with old API, and named it pspell, so we created pspell module too. Now he is dumping that name once again... That will become kinda confusing for end users very soon. Changing status to analyzed... Thanks for the report:) Previous Comments: ------------------------------------------------------------------------ [2001-12-12 12:54:50] taitgrove@hotmail.com PHP ver 4.10 PSPELL ver .12.2 ASPELL ver .33.7.1 Thanks for the category fix, I didn't see it when I added the bug... ------------------------------------------------------------------------ [2001-12-11 23:17:14] vlad@php.net meant assign it and place it into the right category too... ------------------------------------------------------------------------ [2001-12-11 23:08:43] vlad@php.net which versions of pspell and aspell are you using? ------------------------------------------------------------------------ [2001-12-11 12:23:31] taitgrove@hotmail.com I am running the following config line and getting a ok reponse on the inital configuration of PHP 4.1.0. ./configure --prefix=/usr/local/php --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-pspell=/usr/local/aspell But when I run the make I am getting the following errors: Making all in pspell /bin/sh /usr/local/php/libtool --silent --mode=compile gcc -I. -I/usr/local/php/ext/pspell -I/usr/local/php/m ain -I/usr/local/php -I/usr/local/apache/include -I/usr/local/php/Zend -I/usr/local/php/ext/mysql/libmysql -I/ usr/local/aspell/include/pspell -I/usr/local/php/ext/xml/expat/xmltok -I/usr/local/php/ext/xml/expat/xmlparse -I/usr/local/php/TSRM -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2 -c pspell.c pspell.c: In function `php_if_pspell_check': pspell.c:304: too few arguments to function `pspell_manager_check' pspell.c: In function `php_if_pspell_suggest': pspell.c:340: too few arguments to function `pspell_manager_suggest' pspell.c: In function `php_if_pspell_store_replacement': pspell.c:377: warning: passing arg 3 of `pspell_manager_store_replacement' makes integer from pointer without a cast pspell.c:377: too few arguments to function `pspell_manager_store_replacement' pspell.c: In function `php_if_pspell_add_to_personal': pspell.c:414: too few arguments to function `pspell_manager_add_to_personal' pspell.c: In function `php_if_pspell_add_to_session': pspell.c:451: too few arguments to function `pspell_manager_add_to_session' *** Error code 1 Stop in /usr/local/php/ext/pspell. *** Error code 1 Stop in /usr/local/php/ext/pspell. *** Error code 1 Stop in /usr/local/php/ext. *** Error code 1 Stop in /usr/local/php. I am sure that pspell and aspell are installed properly. Any ideas? ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14429&edit=1

« previous php.dev (#73387) next »