Open stephenboston opened 6 years ago
This looks like the problem where make install puts the python files in /usr/lib/python2.7/site-packages when in Debian they actually need to go into /usr/lib/python2.7/dist-packages . I use Checkinstall to build local Debian packages, and pack the files into a new Debian package with that directory manually renamed. In a make-install run you can simply move them to the correct directory
Yes. It is /usr/local/lib/python2.7/site-packages/Mozo to /usr/local/lib/python2.7/dist-packages/Mozo
You missed the "local" but after checking the make file I could see where the Mozo directory was supposed to go.
Thanks.
All is well
On Sun, Apr 29, 2018 at 11:50 AM, lukefromdc notifications@github.com wrote:
This looks like the problem where make install puts the python files in /usr/lib/python2.7/site-packages when in Debian they actually need to go into /usr/lib/python2.7/dist-packages . I use Checkinstall to build local Debian packages, and pack the files into a new Debian package with that directory manually renamed. In a make-install run you can simply move them to the correct directory
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
I always configure with --prefix=/usr because I am building Debian packages, thus I am not installing to /usr/local. Same situation either way though
Ah! Good to know. I've just started using Debian after years with Ubuntu so I expect I'll hit a few of these.
Thanks for the tip.
On Sun, Apr 29, 2018 at 1:22 PM lukefromdc notifications@github.com wrote:
I always configure with --prefix=/usr because I am building Debian packages, thus I am not installing to /usr/local. Same situation either way though
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mate-desktop/mozo/issues/40#issuecomment-385278717, or mute the thread https://github.com/notifications/unsubscribe-auth/ARrhDDLLKUPGZrGsLHTm8NRR8PJwKE7fks5ttiD5gaJpZM4Tr28L .
Expected behaviour
after running make install as root $ mozo will open the menu editor window
Actual behaviour
Traceback (most recent call last): File "/usr/local/bin/mozo", line 22, in
from Mozo.MainWindow import MainWindow
ImportError: No module named Mozo.MainWindow
$ which mozo /usr/local/bin/mozo
Steps to reproduce the behaviour
MATE general version
mate-desktop/stable,now 1.16.2-2 amd64
Package version
commit 80873ff
Linux Distribution
Debian 9.4
Link to downstream report of your Distribution