ID:               14457
 Comment by:       slopes at iportalmais dot pt
 Reported By:      php at acerbus dot com
 Status:           Closed
 Bug Type:         Pspell related
 Operating System: Linux 2.4.7 (RH7.2)
 PHP Version:      4.1.0
 New Comment:

I having a problem with php pspell functions. sometimes it works
sometines it doesn't work(the program stays hanging around not giving
any answser)

I compiled aspell-0.50 and aspell-pt-0.50 under debian linux:
./configure
make
make install

compiled apache_1.3.31 and finaly php4.1.2:

./configure --with-pspell --with-pgsql --prefix=/usr
--with-apxs=/etc/http/bin/apxs ...

the php script is:

$pspell_link = pspell_new("pt");
$word="word";
$suggestions= pspell_suggest($pspell_link,$word)
print_r($suggestions);

can you help me?


Previous Comments:
------------------------------------------------------------------------

[2002-02-22 06:56:54] [EMAIL PROTECTED]

This bug has been fixed in CVS.

I suppose this is fixed in CVS. Please reopen if you still have problem
with CVS version.

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

[2002-01-15 16:24:25] clarkron at mail dot armstrong dot edu

pspell with php-4.1.1 causes apache-1.3.22ssl to core dump when
starting apache. Same pspell using same configure options with
php-4.0.6 works ok.

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

[2002-01-04 15:09:56] php at acerbus dot com

I did specify the /usr/local/pspell location in pspell's installation
to see if it made any difference for 4.1.0 but it didn't.  Things
continued working in 4.0.6.

I didn't save the procedure on installing pspell, I'm pretty sure the
only parameter I passed was "./configure --prefix=/usr/local/pspell"
and then made the modules.  I will write back when I attempt to upgrade
to 4.1.0 again.

I don't know whether Aspell/Pspell merge did anything.


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

[2001-12-28 21:52:28] [EMAIL PROTECTED]

... well, in the original bug report you had:
'--with-pspell=/usr/local/share'
and in the new one you have
'--with-pspell=/usr/local/pspell'
That's very different

I hope that you configured pspell with
'--prefix=/usr/local/pspell', right? Otherwise you should have just
specified '--with-pspell' in php configure line instead.

First, how did you build pspell and aspell (what are the configure
lines, versions, and in which order you built them)

Second, could you go into the directory with pspell source and from
there to examples, and try to compile and run an example:

cd pspell/examples
make example-c
./example-c en
s helllo

and please tell if it gives you a list of suggestions for the
misspelled word 'helllo'.

(I'll be in and out of the office for the next few days, so I might not
respond in a timely manner)

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

[2001-12-17 09:46:39] php at acerbus dot com

 './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)

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

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/14457

-- 
Edit this bug report at http://bugs.php.net/?id=14457&edit=1

Reply via email to