laszlonemeth / magyarispell

Hungarian Hunspell dictionary
Other
44 stars 8 forks source link

Magyarispell doesn't compile on Mac Catalina (recode error) #57

Open BarnabasSzabolcs opened 2 years ago

BarnabasSzabolcs commented 2 years ago

Hi!

I used the following lines to install:

brew install recode m4 awk
make

I got the following output:

===> magyar myspell alapszótár (magyar4myspell.dict) előállítása
==> szimbolikus kötések létrehozása a szotar.konf alapján
konfigur?ci?s ?llom?ny nincs megadva, alap?rtelmezett a szotar.konf
/Volumes/MacintoshHDD/Programming/PycharmProjects/rhymedict-crawlers/collected_documents/magyarispell-master
. Rendben.
==> szótárak egybemásolása
recode: System detected problem in step `UTF-8..ISO-8859-2'
recode: System detected problem in step `UTF-8..ISO-8859-2'
.recode: System detected problem in step `UTF-8..ISO-8859-2'
recode: System detected problem in step `UTF-8..ISO-8859-2'
.recode: System detected problem in step `UTF-8..ISO-8859-2'
recode: System detected problem in step `UTF-8..ISO-8859-2'
... 
recode: System detected problem in step `UTF-8..ISO-8859-2'
.sed: 1: "/Volumes/MacintoshHDD/P ...": invalid command code M
 Rendben.
# hy: összetétel
recode: System detected problem in step `UTF-8..ISO-8859-2'
make: *** [magyar4myspell.dict] Error 1

My versions:

recode 3.7.9
m4 1.4.19
awk 20180827
macOS Catalina 10.15.7 (19H2)

Can you please let me know how I can fix the install?

BarnabasSzabolcs commented 2 years ago

Btw:

make all results in:

make: *** No rule to make target `ispell', needed by `all'.  Stop.
laszlonemeth commented 5 months ago

Hi, Szabolcs!

Unfortunately, primary platform for compiling the dictionary is Linux, with its GNU awk, sed etc. tools.

As a possible workaround, the complied dictionary files are available on

https://github.com/LibreOffice/dictionaries/tree/master/hu_HU