Open hadisotudeh opened 7 years ago
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:
#apt-get build-dep libqtwebkit-dev libphonon-dev
$virtualenv <your directory>
https://sourceforge.net/projects/pyqt/files/PyQt4/
and https://sourceforge.net/projects/pyqt/files/sip/
$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
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?