ldoce5viewer
ldoce5viewer copied to clipboard
need to run '$ make' in order for the program to work
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?
Same here. After updating my system which is a Linux Manjaro.
This is my pacman.log for aforementioned update. I think qt
s are the culprit. I wish I knew which one so I can downgrade.
Same problem here
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:
- install originally required distro packages (pyqt4-dev-tools, python-gst0.10, gstreamer0.10-plugins-good, gstreamer0.10-plugins-ugly)
- Install additional development distro packages (system wide)
In Debian, this is done by
#apt-get build-dep libqtwebkit-dev libphonon-dev
- create virtualenv
$virtualenv <your directory>
- install SIP (4.16.4) and Qt4 (4.12.1)
Versions are matched with Debian oldstable (jessie).
Download links are:https://sourceforge.net/projects/pyqt/files/PyQt4/
andhttps://sourceforge.net/projects/pyqt/files/sip/
Maybe the latest version should work, but I didn't examine it. I followed this article and succeeded. How to install SIP and PyQt on a virtual environment? - install other prerequisites using pip in the virtual environment
$pip install lxml whoosh==2.5.7
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.
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.
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:
First page after install
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