I'm using debian so I'm using the packaged version of php4 and apache. I installed aspell using apt-get and then downloaded and compiled pspell 0.12.2. I downloaded php4 off the php.net site and used it to compile a pspell.so file, which seemed to work until I tried to check a word. I get:
Warning: PSPELL couldn't open the dictionary. reason: I'm sorry I can't find any suitable word lists for the language-tag "en".
I can't find any dictionaries in the pkgdatadir which is /usr/local/share/pspell, although there are a few files in there such as:
cp1252.map iso8859-15.map iso8859-6.map region-to-spelling.map iso8859-1.map iso8859-2.map iso8859-7.map viscii.map iso8859-10.map iso8859-3.map iso8859-8.map iso8859-13.map iso8859-4.map iso8859-9.map iso8859-14.map iso8859-5.map koi8-r.map
My guess is it's looking for a .pwli file, which I have no idea how to get. I've even tried creating a link to my aspell dictionary:
ln -s /usr/lib/aspell/en-only.rws en_aspell.pwli
But this didn't help things at all.
Has anyone got their pspell going? Can any one help me with mine? Thanks Nick
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php