ID: 14429
Updated by: vlad
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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 ([EMAIL PROTECTED]) your copy of ext/pspell/pspell.c file?

Thanks

changing status back to feedback...

------------------------------------------------------------------------

[2001-12-12 16:06:23] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

>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] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to