inyokaproject / inyokaedit

A markup editor for Inyoka articles.
GNU General Public License v3.0
7 stars 6 forks source link

Build fails on Slackware 13.37 #85

Closed ElTh0r0 closed 7 years ago

ElTh0r0 commented 7 years ago

Building todays trunk fail on Slackware 13.37 (s. buildfail.log)

this one builds

diff -uNr inyokaedit.orig/inyokaedit.pro inyokaedit.slackware/inyokaedit.pro --- inyokaedit.orig/inyokaedit.pro 2012-03-09 18:50:57.375000023 +0100 +++ inyokaedit.slackware/inyokaedit.pro 2012-03-09 18:59:40.131000049 +0100 @@ -54,7 +54,7 @@ CODECFORTR = UTF-8

unix {

but hunspell in inyokaedit did not find a dict. hunspell in terminal do find a proper dict.


Imported from Launchpad using lp2gh.

ElTh0r0 commented 7 years ago

(by antiqua)

ElTh0r0 commented 7 years ago

(by elthoro) Did you install "hunspell" after compiling? If so, please check if folder /usr/share/hunspell/ exists. According to my information this should be the default directory for the dicitionaries.

ElTh0r0 commented 7 years ago

(by antiqua) No, hunspell was installed before compiling. But there is no /usr/share/hunspell/ in Slack

$ locate hunspell /usr/bin/wordlist2hunspell /usr/bin/hunspell /usr/lib/libhunspell-1.2.la /usr/lib/libhunspell-1.2.so.0 /usr/lib/pkgconfig/hunspell.pc /usr/lib/libhunspell-1.2.so /usr/lib/libhunspell-1.2.so.0.0.0 /usr/doc/hunspell-1.2.9 /usr/doc/hunspell-1.2.9/TODO /usr/doc/hunspell-1.2.9/README.myspell /usr/doc/hunspell-1.2.9/BUGS /usr/doc/hunspell-1.2.9/AUTHORS /usr/doc/hunspell-1.2.9/COPYING.MPL /usr/doc/hunspell-1.2.9/README /usr/doc/hunspell-1.2.9/NEWS /usr/doc/hunspell-1.2.9/ABOUT-NLS /usr/doc/hunspell-1.2.9/THANKS /usr/doc/hunspell-1.2.9/COPYING.LGPL /usr/doc/hunspell-1.2.9/ChangeLog /usr/doc/hunspell-1.2.9/COPYING /usr/doc/hunspell-1.2.9/ChangeLog.O /usr/doc/hunspell-1.2.9/AUTHORS.myspell /usr/man/man1/hunspell.1.gz /usr/man/hu/man1/hunspell.1.gz /usr/man/hu/man4/hunspell.4.gz /usr/man/man3/hunspell.3.gz /usr/man/man4/hunspell.4.gz /usr/include/hunspell /usr/include/hunspell/suggestmgr.hxx /usr/include/hunspell/affentry.hxx /usr/include/hunspell/hunspell.h /usr/include/hunspell/hunzip.hxx /usr/include/hunspell/atypes.hxx /usr/include/hunspell/hashmgr.hxx /usr/include/hunspell/w_char.hxx /usr/include/hunspell/phonet.hxx /usr/include/hunspell/langnum.hxx /usr/include/hunspell/csutil.hxx /usr/include/hunspell/hunspell.hxx /usr/include/hunspell/filemgr.hxx /usr/include/hunspell/replist.hxx /usr/include/hunspell/dictmgr.hxx /usr/include/hunspell/htypes.hxx /usr/include/hunspell/baseaffix.hxx /usr/include/hunspell/affixmgr.hxx /usr/share/locale/hu/LC_MESSAGES/hunspell.mo /var/log/scripts/hunspell-1.2.9-i486-1 /var/log/packages/hunspell-1.2.9-i486-1

My hunspell has some dirs in search path:

$ hunspell -D SEARCH PATH: .::/usr/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts:/home/matsche/.openoffice.org/3/user/wordbook:.openoffice.org2/user/wordbook:.openoffice.org2.0/user/wordbook:/opt/openoffice.org/basis3.0/share/dict/ooo:/usr/lib/openoffice.org/basis3.0/share/dict/ooo:/opt/openoffice.org2.4/share/dict/ooo:/usr/lib/openoffice.org2.4/share/dict/ooo:/opt/openoffice.org2.3/share/dict/ooo:/usr/lib/openoffice.org2.3/share/dict/ooo:/opt/openoffice.org2.2/share/dict/ooo:/usr/lib/openoffice.org2.2/share/dict/ooo:/opt/openoffice.org2.1/share/dict/ooo:/usr/lib/openoffice.org2.1/share/dict/ooo:/opt/openoffice.org2.0/share/dict/ooo:/usr/lib/openoffice.org2.0/share/dict/ooo AVAILABLE DICTIONARIES (path is not mandatory for -d option): /usr/share/myspell/dicts/de-DE /usr/share/myspell/dicts/de_DE LOADED DICTIONARY: /usr/share/myspell/dicts/de_DE.aff /usr/share/myspell/dicts/de_DE.dic

ElTh0r0 commented 7 years ago

(by elthoro) Hi,

I don't see any dictionaries. Did you install in addition to Hunspell some dictionaries, too? Maybe you are using MySpell on your system. Some minutes ago I added the possibility to use MySpell dictionaries, too.

ElTh0r0 commented 7 years ago

(by antiqua) No extra hunspell dictionarys installed, but newest trunk work here perfect with myspell/dicts. works on Slackware 13.37 w. patching inyokaedit.pro

:thumbsup:

ElTh0r0 commented 7 years ago

(by markush) I had a similar problem on Arch Linux where I needed to change the Markefile to -lhunspell-1.3 . See the referring code: https://github.com/Markush2010/aur/blob/master/inyokaedit-bzr/PKGBUILD#L22

ElTh0r0 commented 7 years ago

(by elthoro) Regarding the hunspell library issue in inyokaedit.pro / makefile. Maybe you can help me, because I don't know it: Does a generic LIBS entry exist which can be used on every Linux distribution?

So, do you know any possibillity to provide an universal LIBS entry?

ElTh0r0 commented 7 years ago

(by elthoro) @antiqua and @markush: Please have a look if lasalls changes (which are merged to trunk now) work on Slackware and Arch Linux. Maybe you have to install "pkg-config" first. On Ubuntu everything seems fine :-)

ElTh0r0 commented 7 years ago

(by antiqua) moin Lasalle & El T.

works here™ :)