Bug #14429 Updated: PSPELL CONFIG
| From: | vlad@php.net | Date: | Fri, 14 Dec 2001 00:05:51 +0000 |
| Subject: | Bug #14429 Updated: PSPELL CONFIG | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73638@lists.php.net to get a copy of this message | ||
ID: 14429
Updated by: vlad
Reported By: taitgrove@hotmail.com
Old Status: Open
Status: Closed
Bug Type: Pspell related
Operating System: freebsd 4.3
PHP Version: 4.1.0
Assigned To: vlad
New Comment:
Believe it or not, you've got a *very* old version of pspell somehow. I'd most certainly
say that this is not 4.1.0 version of php :( If you look at the pspell.c you sent me on line 19
you'll see:
/* $Id: pspell.c,v 1.12 2000/10/25 17:43:59 andrei Exp $ */
However, the version I downloaded yesterday has this:
/* $Id: pspell.c,v 1.20.2.1 2001/10/11 23:51:57 ssb Exp $ */
Notice the difference? Your version is a year older than the one in the 4.1.0 package. I'd
suggest you re-download php-4.1.0:
http://www.php.net/downloads.php
or, if you really don't want to do that, get the latest pspell files from CVS:
http://cvs.php.net/cvs.php/php4/ext/pspell
and recompile. That should take care of all those problems.
Have a great day!:)
...closing...
Previous Comments:
------------------------------------------------------------------------
[2001-12-13 17:28:48] taitgrove@hotmail.com
I emailed the file to you. It will be coming from my work address.
I am positive that it is 4.1.0. Released DEC. 10, 2001.
Also, I forgot to mention. It is looking for pspell inside of the location where I running the
"make" for php. I installed pspell and aspell inside of the PHP directive and the make
went fine but when I test any of the pspell functions it is saying that they are undefined.
Thanks,
------------------------------------------------------------------------
[2001-12-12 19:05:40] vlad@php.net
actually, I might take my last statement back. Looks like that problem has been long since fixed.
From the line numbers I see in your bug report, it looks like you are using a very old revision of
the pspell.c file - 1.12 or earlier (25 Oct 2000 or prior); the one shipped with php4.1.0 is
1.20.2.1.
Excuse me if I ask a dumb question, but are you *really* sure you are using php 4.1.0? If so, could
you email me (vlad@php.net) your copy of ext/pspell/pspell.c file?
Thanks
changing status back to feedback...
------------------------------------------------------------------------
[2001-12-12 16:06:23] taitgrove@hotmail.com
So much for collaborative efforts between two great ventures. I will go ahead and downgrade to an
older version.
Thanks for your time Vlad!
Happy holidays to you and the PHP community...
------------------------------------------------------------------------
[2001-12-12 14:55:25] vlad@php.net
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:)
------------------------------------------------------------------------
[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...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=14429
Edit this bug report at http://bugs.php.net/?id=14429&edit=1