Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am trying to get meld 3.11 to work on ubuntu 14.04

I tried following the method below"

cd ~ 
git clone https://git.gnome.org/browse/meld 
cd meld  
sudo ln -s ~/meld/bin/meld /usr/bin/meld

But when i run meld in the terminal i get the following error

Traceback (most recent call last):
  File "/usr/bin/meld", line 223, in <module>
    setup_settings()
  File "/usr/bin/meld", line 197, in setup_settings
    cwd=melddir)
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
   OSError: [Errno 2] No such file or directory

I am not sure if its dependencies issue or python path problem.

share|improve this question
    
Check the README for directions on installing. It's located in the meld folder... It has a setup.py. It also has nothing to do with Ubuntu. –  hbdgaf Aug 9 at 10:31
    
Try doing a backport. 3.11 is available packaged for debian experimental, at least. See unix.stackexchange.com/q/112157/4671. If you want more information about this, please say so. –  Faheem Mitha Aug 9 at 10:45

1 Answer 1

up vote 2 down vote accepted
#Make a clean working directory
mkdir -p work/crap
#Get in to that directory
cd work/crap
#Clone git head
git clone https://git.gnome.org/browse/meld
#Get in to that project directory
cd meld
#Install dependencies
sudo apt-get install intltool itstool gir1.2-gtksource-3.0
#Install meld
sudo python setup.py install

If you wanted to work on the code itself without re-installing, I typically do that by installing in a venv and opening the installed to folder in the venv in an IDE.

Result of running meld in a terminal after those steps: enter image description here

share|improve this answer
    
i am going to try your method now. –  Ibn Saeed Aug 9 at 16:03
    
I got the following after doing the final step. ..... unable to execute 'glib-compile-schemas': No such file or directory. ...... –  Ibn Saeed Aug 9 at 16:10
    
either i have a dangling dependency from my current install that i can't see, or you have broken packages or you're using a broken distro or custom themes that break stuff. in any case , it works here –  hbdgaf Aug 9 at 16:37
2  
if you asked what you think are ubuntu related questions on AU or searched there, you would find this: askubuntu.com/questions/161739/… which points to this libglib2.0-bin as the dangling dependency, but i digress... –  hbdgaf Aug 9 at 16:43
    
I had to install the dependancy libglib2.0-dev and libgee-dev and python-cairo for it to work. –  Ibn Saeed Sep 17 at 9:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.