Bug #14457 Updated: Pspell ceases to work on upgrade from 4.0.6 to 4.1.0
| From: | php at acerbus dot com | Date: | Mon, 17 Dec 2001 14:46:40 +0000 |
| Subject: | Bug #14457 Updated: Pspell ceases to work on upgrade from 4.0.6 to 4.1.0 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-74134@lists.php.net to get a copy of this message | ||
ID: 14457
User updated by: php@acerbus.com
Reported By: php@acerbus.com
Old Status: Feedback
Status: Open
Bug Type: Pspell related
Operating System: Linux 2.4.7 (RH7.2)
PHP Version: 4.1.0
New Comment:
'./configure' '--with-mysql=/usr/local/mysql' '--with-apxs'
'--enable-wddx' '--with-sablot' '--with-pspell=/usr/local/pspell'
'--enable-force-cgi-redirect' '--with-gettext' '--with-ldap'
'--with-cpdflib=/usr/local' '--with-jpeg-dir' '--with-tiff-dir'
is the latest iteneration of my configuration. This is the exact configuration I am using in a
4.0.6 installation. Pspell does not work with the same using 4.1.0.
(I re-installed pspell to that directory just to make sure)
Previous Comments:
------------------------------------------------------------------------
[2001-12-13 23:37:36] vlad@php.net
It is strange it even compiled.
Are you sure that pspell is installed in
--with-pspell=/usr/local/share
and not in
--with-pspell=/usr/local
???
(e.g. do you have a directory
/usr/local/include/pspell
or
/usr/local/share/include/pspell
if the former, you probably need to recompile PHP specifying the right directory)
Do you have a configure line for your 4.0.6 installation to compare against?
------------------------------------------------------------------------
[2001-12-12 09:09:56] php@acerbus.com
'./configure' '--with-mysql=/usr/local/mysql' '--with-apxs'
'--enable-wddx' '--with-sablot' '--with-pspell=/usr/local/share'
'--enable-force-cgi-redirect' '--with-gettext '--with-ldap'
Worked in 4.0.6 but not in 4.1.0
Warning: PSPELL couldn't open the dictionary. reason: I'm sorry I can't find any
suitable word lists for the language-tag "en".
$pspell_link = pspell_new ("en");
if (!pspell_check ($pspell_link, "testt")) {
$suggestions = pspell_suggest ($pspell_link, "testt");
foreach ($suggestions as $suggestion) {
echo "Possible spelling: $suggestion<br>";
}
}
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14457&edit=1