Hi Folks, One of my users complained that ispell wasn't installed on his Leap 15.5 system. So I ran "zypper in ispell" for him using the default ispell-american dictionary. But when run it complains: "Can't open /usr/lib/ispell/english.hash" The hashes are apparently built with the "buildhash" program. Apparently this wasn't run as part of the zypper process. When run manually it prompts for paths/files and things. Rather than start guessing what it needs I thought I run the question by the experts here. Note that ispell works okay on Leap 15.5 systems upgraded from 15.4. It only fails on 15.5 installed from scratch. But it works on a Leap 15.6 system upgraded from 15.5, 15.4, 15.3... Go figure. Regards, Lew
On 7/24/24 10:42, Lew Wolfgang wrote:
Hi Folks,
One of my users complained that ispell wasn't installed on his Leap 15.5 system. So I ran "zypper in ispell" for him using the default ispell-american dictionary. But when run it complains:
"Can't open /usr/lib/ispell/english.hash"
The hashes are apparently built with the "buildhash" program. Apparently this wasn't run as part of the zypper process. When run manually it prompts for paths/files and things. Rather than start guessing what it needs I thought I run the question by the experts here.
Note that ispell works okay on Leap 15.5 systems upgraded from 15.4. It only fails on 15.5 installed from scratch.
But it works on a Leap 15.6 system upgraded from 15.5, 15.4, 15.3... Go figure.
I fixed it. The Leap 15.5 ispell install process failed to create two symbolic links. Running these commands fixed the issue: cd /var/lib/dict ln -s /usr/lib/ispell/american.aff english.aff ln -s /usr/lib/ispell/american.hash english.hash Regards, Lew
On 2024-07-24 19:54, Lew Wolfgang wrote:
On 7/24/24 10:42, Lew Wolfgang wrote:
Hi Folks,
One of my users complained that ispell wasn't installed on his Leap 15.5 system. So I ran "zypper in ispell" for him using the default ispell-american dictionary. But when run it complains:
"Can't open /usr/lib/ispell/english.hash"
The hashes are apparently built with the "buildhash" program. Apparently this wasn't run as part of the zypper process. When run manually it prompts for paths/files and things. Rather than start guessing what it needs I thought I run the question by the experts here.
This machine is freshly installed 15.5. ispell is not installed. This is what I have: Elessar:~ # rpm -qa | grep spell myspell-lightproof-en-20191219-150000.3.25.1.x86_64 libhunspell-1_6-0-1.6.2-150000.3.11.1.x86_64 gspell-lang-1.10.0-150400.3.5.3.noarch myspell-en_US-20191219-150000.3.25.1.noarch gtkspell-lang-2.0.16-150400.15.8.noarch libgtkspell0-2.0.16-150400.15.8.x86_64 libgspell-1-2-1.10.0-150400.3.5.3.x86_64 myspell-en-20191219-150000.3.25.1.noarch enchant-2-backend-hunspell-2.2.15-150400.1.9.x86_64 myspell-dictionaries-20191219-150000.3.25.1.x86_64 Elessar:~ # So it seems that ispell is no longer the default dictionary.
Note that ispell works okay on Leap 15.5 systems upgraded from 15.4. It only fails on 15.5 installed from scratch.
But it works on a Leap 15.6 system upgraded from 15.5, 15.4, 15.3... Go figure.
I fixed it.
The Leap 15.5 ispell install process failed to create two symbolic links. Running these commands fixed the issue:
cd /var/lib/dict ln -s /usr/lib/ispell/american.aff english.aff ln -s /usr/lib/ispell/american.hash english.hash
Interesting. -- Cheers / Saludos, Carlos E. R. (from Elessar, using openSUSE Leap 15.5)
participants (2)
-
Carlos E. R.
-
Lew Wolfgang