Gnurou / tagainijisho

A free Japanese dictionary and learning assistant
http://www.tagaini.net
GNU General Public License v3.0
364 stars 51 forks source link

Debain package 1.0.3 error #248

Closed heptahex closed 2 years ago

heptahex commented 2 years ago

I've installed Tagaini from Debian package and installed all dependencies but it seems some plugins have error. Although tagaini (AUR) worked well on my Manjaro Linux. This happened on Pop OS 20.04.

tagaini-report

Gnurou commented 2 years ago

Sorry for the delayed reply. Where did you get the debian package, or in case you created it yourself, how have you built it?

Gnurou commented 2 years ago

Found that you were probably referring to the packages on the release page. I have been able to reproduce and am looking for the cause.

Gnurou commented 2 years ago

For some reason cpack installs the databases in /usr/share despite the default build looking for them in /usr/local/share. The simplest fix is the specify the expected prefix when building the program for packaging, i.e.

$ cmake -DCMAKE_INSTALL_PREFIX=/usr/ .
$ cpack -G DEB

The produced .deb file then works without issue. I'll close this, please expect working packages from now on. Thanks for reporting!