Re: Can't open preferences since 1a3cbe3c on an installed meld (local is fine)



On Fri, May 9, 2014 at 1:07 AM, Scott Kostyshak <skostysh princeton edu> wrote:

Is the correct --prefix then '/usr' or '/usr/local' ?

I just tried on a fresh install of Ubuntu 14.04. It seems that
installing to /usr doesn't work, installing to /usr/local doesn't
work, but installing to both does:

$ git rev-parse HEAD
25c409167ad9305e2932fa987fa4f32f09443e42
$ sudo ./setup.py install --prefix "/usr"
$ meld
Traceback (most recent call last):
  File "/usr/bin/meld", line 73, in <module>
    import meld.conf
ImportError: No module named meld.conf
$ rm -rf /usr/lib/python2.7/site-packages/meld* /usr/share/meld /usr/bin/meld
$ sudo ./setup.py install --prefix "/usr/local"
$ meld
Traceback (most recent call last):
  File "/usr/local/bin/meld", line 220, in <module>
    setup_resources()
  File "/usr/local/bin/meld", line 181, in setup_resources
    provider.load_from_path(css_file)
gi._glib.GError: Failed to import: Error opening file: No such file or directory
$ sudo ./setup.py install --prefix "/usr"
$ meld
$

Does this narrow down what the problem could be?

Scott


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]