ffi-hunspell icon indicating copy to clipboard operation
ffi-hunspell copied to clipboard

ffi-hunspell on Windows

Open jfaset opened this issue 5 years ago • 4 comments

Hello,

On Windows,

gem install ffi-hunspell ... gem install ffi --platform=ruby ... gem install ffi-hunspell

Successfully installed ffi-1.13.1-x64-mingw32

Successfully installed ffi-hunspell-0.5.0

require 'ffi/hunspell'

--> C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- ffi/hunspell (LoadError)

...

i_lib': Could not open library 'hunspell-1.7': Le module sp�cifi� est introuvable.\r (LoadError) . Could not open library 'hunspell-1.7.dll': Le module sp�cifi� est introuvable.\r . Could not open library 'libhunspell-1.7.so.0': Le module sp�cifi� est introuvable.\r . Could not open library 'libhunspell-1.7.so.0.dll': Le module sp�cifi� est introuvable.\r . Could not open library 'hunspell-1.6': Le module sp�cifi� est introuvable.\r

....

Could not open library 'libhunspell-1.2.so.0.dll': Le module sp�cifi� est introuvable.\r

===============

Shall I Give up ?

jfaset avatar Nov 27 '20 19:11 jfaset

Did you also install the hunspell DLL?

postmodern avatar Nov 28 '20 07:11 postmodern

Thank you very much for your answer.

I tried to add hunspellx64 from https://www.trichview.com/help-actions/hunspell.htm to C:\Ruby27-x64\lib\ruby\gems\2.7.0\gems\ffi-hunspell-0.5.0 and C:\Windows\SysWOW64. With the same error C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/ffi-1.13.1-x64-mingw32/lib/ffi/library.rb:145:in `block in ffi_lib'

I give up. Perhaps I shall try again, one day, with Python. Thanks again.

Le sam. 28 nov. 2020 à 08:40, Postmodern [email protected] a écrit :

Did you also install the hunspell DLL?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/postmodern/ffi-hunspell/issues/28#issuecomment-735051745, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACN2DT6YXG4ZK3R7ECCAVILSSCSQBANCNFSM4UFH5X4A .

jfaset avatar Nov 28 '20 14:11 jfaset

I don't have much experience running Ruby on Windows. You might consider trying Windows Linux SubSystem (WLS) or running in a Linux VM with VMWare Player.

postmodern avatar Nov 28 '20 16:11 postmodern

Thank you for your help.

Le sam. 28 nov. 2020 à 17:51, Postmodern [email protected] a écrit :

I don't have much experience running Ruby on Windows. You might consider trying Windows Linux SubSystem (WLS) or running in a Linux VM with VMWare Player.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/postmodern/ffi-hunspell/issues/28#issuecomment-735255187, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACN2DT24U5UYE633TTWLQMLSSETCZANCNFSM4UFH5X4A .

jfaset avatar Nov 28 '20 18:11 jfaset