Oddly, Pspell and Aspell seem to work properly, but the pspell_new function can't load
the "en" dict. in the pspell/examples dir I can run the ./example.c en fine. 

I'm recompiling apache with php again right now to see if it may have to do with the
--with-pspell path I was giving. 
-l

Justin Plock in message Re: [PHP-DEV] PSPELL with PHP (Tue, 07/03 16:29):

> yea, I had a similiar problem trying to get this to work as well, here's the
> email i received from Vlad (author of the pspell php library) which seemed
> to work for me. (I was attempting to install both pspell and aspell from the
> freebsd ports tree).  See if this gives any insight, hehe:
> 
> ----------------------------------------------------------------------------
> ---
> I bet you did not run the 'add-modules' script. The steps to properly build
> the thing are:
> First, in pspell directory:
>  ./configure
>  make
>  make install
> 
> Then, in aspell directory
> ./configure
> make
> make install
> 
> Finally, go back to pspell directory and do
> cd modules
> ./add-modules
> cd ..
> make
> make install
> 
> That last step is probably what you missed, at least, that gave me similar
> problems. Also, make sure that the directory where aspell and pspell place
> their shared files is amond the directories where your ldconfig will look
> into (I do not know how this is done in BSD)
> 
> This solves the chicken-and-egg problem when you can't build aspell without
> having pspell in place, yet pspell needs to know that aspell (or ispell)
> exists to function properly. It is also described in pspell README.
> ----------------------------------------------------------------------------
> ---
> 
> Hope that helps,
>     Justin.
> 
> 
> ----- Original Message -----
> From: "Lindsey Simon" <[EMAIL PROTECTED]>
> To: "Justin Plock" <[EMAIL PROTECTED]>
> Sent: Tuesday, July 03, 2001 4:17 PM
> Subject: Re: [PHP-DEV] PSPELL with PHP
> 
> 
> > yeah, and pspell and aspell seem to be working fine. which is odd..
> >
> > Justin Plock in message RE: [PHP-DEV] PSPELL with PHP (Tue, 07/03 10:42):
> >
> > > This message was sent from Geocrawler.com by "Justin Plock"
> <[EMAIL PROTECTED]>
> > >
> > > Did you compile aspell into pspell?
> > >
> > > -Justin Plock
> > >
> > >
> > > ---------------------------------------
> > > I've just compiled and installed php-4.0.6 --with-
> > > pspell support. However,
> > > the pspell_new function gives me the following
> > > error:
> > >
> > > Warning: PSPELL couldn't open the dictionary.
> > > reason: I'm sorry I can't find any
> > > suitable word lists for the language-tag "en".
> > >
> > > the line causing the error reads:
> > > $pspell_config = pspell_config_create
> > > ("en","american");
> > > $pspell_link = pspell_new_config($pspell_config);
> > >
> > >
> > > I've created a file en-american.pwli in the
> > > pkgdata directory which points absolutely
> > > to a wordlist american-words.95.
> > >
> > > I've been unable to find much clear documentation
> > > about the setup procedure for pspell
> > > with php and I suspect I'm missing something
> > > simple. Does anyone have a suggestion
> > > that may help?
> > >
> > > -lindsey
> > >
> > >
> > >
> > > --
> > > PHP Development Mailing List <http://www.php.net/>
> > > To unsubscribe, e-mail: php-dev-
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail: php-dev-
> > > [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail: php-
> > > [EMAIL PROTECTED]
> > >
> > >
> > >
> > > Geocrawler.com - The Knowledge Archive
> >

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