Windows, Enchant and Aspell



Hi,

I just noticed Tor has built enchant for Windows [1], great job. Cool.

Being curious whether it works, I installed aspell and two dictionaries
from their Windows installers, I used the default directory C:\Program
Files \Aspell.

Unfortunately and not really surprising, libenchant.dll or better the
provider libenchant_aspell.dll, doesn't find the aspell-15.dll.
Is there any way to tell enchant where to look for the installed aspell
installation?
Another problem is that libenchant_aspell.dll looks for
"libaspell-15.dll" but the Aspell Windows installers install a
"aspell-15.dll" (without the lib prefix).

So, after all, how to use enchant with Aspell at all on Windows?


In some other old code, where I used Aspell directly, I used some code
to find the Aspell installation directory from the Windows registry. I
put the code on http://www.uvena.de/tmp/win32_find_aspell.c, maybe it's
useful in some way. Could this maybe be reused for the Aspell enchant
provider or is there an easier way which I don't see?


[1]
http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/enchant-1.4.2-tml.zip

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]