ciscorn / ldoce5viewer

⚠️ This software is no longer actively maintained -- Fast, free dictionary viewer for the Longman Dictionary of Contemporary English (LDOCE) 5th ed.
https://forward-backward.co.jp/ldoce5viewer/
Other
301 stars 127 forks source link

need to run '$ make' in order for the program to work #47

Open hadisotudeh opened 7 years ago

hadisotudeh commented 7 years ago

Hi,

I get the following error when I run ldoce5viewer in a terminal. "need to run '$ make' in order for the program to work" I run make, but nothing happens. Any idea?

fhdhsni commented 7 years ago

Same here. After updating my system which is a Linux Manjaro.

fhdhsni commented 7 years ago

This is my pacman.log for aforementioned update. I think qts are the culprit. I wish I knew which one so I can downgrade.

amidmm commented 7 years ago

Same problem here

mktndn commented 7 years ago

Same with Debian 9. Environment around Qt4 with python2 are changed from Debian8. No WebKit and Phonon module included in PyQt4. They are not available in package manager.

To avoid conflict with running system, I used virtualenv and built the whole PyQt4 there. There were no need to change the version of Python (2.7.13) from distro default.

My solution is:

Then, make and install ldoce5viewer in the virtual environment. $make build
$make install
Note that you should not use root privilege. make install fails because copying .desktop file into hardcoded system directory. You can safely ignore it.

Then run ldoce5viewer in the environment, it worked fine.

mochechan commented 6 years ago

Same with ubuntu 18.04. And mktndn's solution does not work in ubuntu 18.04. Any other suggestion for ubuntu 18.04? Thank you.

mahab339 commented 5 years ago

As a workaround you can use wine with the windows installer.

For Ubuntu:

sudo apt-get install wine-stable \
&& wget https://forward-backward.co.jp/ldoce5viewer/static/packages/ldoce5viewer-setup-2013.03.24.exe \
&& wine ldoce5viewer-setup-2013.03.24.exe

Then enjoy:

image

First page after install

mike4420 commented 5 years ago

Just go for a fork of this repo ported to PyQt5, which works like a charm with Debian 9 Stretch and possibly other newer distros as well:

https://github.com/purboo/ldoce5viewer-pyqt5

For that one you will need these:

# apt install pyqt5-dev-tools gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly python3-pyqt5.qtmultimedia python3-pyqt5.qtwebkit libqt5multimedia5-plugins

and:

# pip3 install whoosh==2.5.7

then:

$ cd ldoce5viewer-pyqt5
$ make
$ python3 ./ldoce5viewer.py