VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: installing meld on 5.9  (Read 2105 times)

sledgehammer

  • Vectorian
  • ****
  • Posts: 1484
installing meld on 5.9
« on: October 19, 2008, 06:02:26 pm »

I am having trouble installing meld on 5.9, either with the slackware package on Meld's homepage or with tar.gz.

Here is the error when I run the program:

"ImportError: could not import bonobo.ui"

I have the two libbonobo files installed, but don't see a bonobo.ui in the repositories

Here are the install instructions which come with the tar.gz download:

##
## Install
## *******
##
##Meld can be installed in two ways:
##
##   Run directly from untar directory:
##   "make" to create translations
##   Now run "./meld"
##    You can create a symlink to the executable
##   i.e. /usr/local/bin/meld -> <melddir>/meld
##
##   OR
##
##   Install into (for instance) /usr/local
##   "make prefix=/usr/local install"
##   Now run "/usr/local/bin/meld"
##
##   You can customise the install paths used here:
PYTHON ?= python
prefix := /usr/local
bindir := $(prefix)/bin
libdir := $(prefix)/lib
docdir := $(prefix)/share/doc
sharedir := $(prefix)/share
helpdir := $(sharedir)/gnome/help
localedir := $(prefix)/share/locale
localstatedir := $(prefix)/var
libdir_ := $(libdir)/meld
docdir_ := $(docdir)/meld
sharedir_ := $(sharedir)/meld
helpdir_ := $(helpdir)/meld
##
## Python Version
## **************
##
## Meld requires at least python2.3. If you need a version which
## works with python2.2 try one of the 0.9 series. 0.9.4.1 will
## work with old pygtk packages too.
##
## Dependencies
## ************
##
## At the very least you will need:
##  * pygtk-2.6.0
##  * gnome-python-2.6.0
##
## Optional:
##  * pygtksourceview 0.9 or higher
##    (http://sourceforge.net/projects/pygtksourceview)
##
## Meld will not work with earlier versions of these packages.
## Earlier versions of meld (up to 0.9.x) required only version
## pygtk and gnome-python 2.0.
##
## They are all available from your favourite gnome mirror.
## Alternatively many distributions provide binary packages.
##

Any suggestions are appreciated.  I know nothing of python but sure need something like meld.  I tried installing libbonobo 2.22 and it didn't help.  I think its probably a paths issue.

John
« Last Edit: October 19, 2008, 08:58:34 pm by sledgehammer »
Logged
VL7.0 xfce4 Samsung RF511

bigpaws

  • Vectorian
  • ****
  • Posts: 1872
Re: installing meld on 5.9
« Reply #1 on: October 19, 2008, 09:23:13 pm »

Quote
If your platform does not supply the gnome-python packages, you can install them from source. It is assumed that you have gnome2 and python2.2 development packages installed.

You did not mention these deps are they met?

Bigpaws
Logged

sledgehammer

  • Vectorian
  • ****
  • Posts: 1484
Re: installing meld on 5.9
« Reply #2 on: October 20, 2008, 07:13:27 am »

Thanks.

gnome-python 2.21.0 is installed from the VL repositories.  Not sure if that is same as gnome2.

Most of the python files on the repositories are installed, but not gnome-desktop. However, I see nothing called python2.2 development packages. 

I will look around tonight and see if I can find, download and install packages called gnome2 and python2.2.

I don't know much about either gnome or python.

John
Logged
VL7.0 xfce4 Samsung RF511

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2322
Re: installing meld on 5.9
« Reply #3 on: October 20, 2008, 07:26:07 am »

Look if libgsf is installed.

HTH
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

sledgehammer

  • Vectorian
  • ****
  • Posts: 1484
Re: installing meld on 5.9
« Reply #4 on: October 20, 2008, 12:20:35 pm »

libgsf 1.14.7 is installed.

Also, in case it might be helpful, I note that gnome-doc-utils, gnome-icon-theme, gnome-keyring, gnome-python, gnome-vfs and pygobject, pyrex, pyson, pysqlite, python and python-setuptools are installed.
 
John
Logged
VL7.0 xfce4 Samsung RF511

sledgehammer

  • Vectorian
  • ****
  • Posts: 1484
Re: installing meld on 5.9
« Reply #5 on: October 21, 2008, 10:59:31 pm »

Silly me.  I just learned that IBM Lotus Symphony has a "Diff" plugin which compares files and shows the differences in different colors.  I tried it out tonight and it works great.

I suppose that Open Office or (Star Office) has something similar.  Don't know.  And, since I can't get Meld to install right, I don't know if Symphony's Diff plugin is better than Meld.  But Diff seems to be just what my Doctor ordered.

If two's company and three's a crowd, what's four and five?. 

John
Logged
VL7.0 xfce4 Samsung RF511

sledgehammer

  • Vectorian
  • ****
  • Posts: 1484
Re: installing meld on 5.9
« Reply #6 on: October 27, 2008, 10:23:44 pm »

If anyone has used Meld, could we find out if it compares pdf files?  That is something that Symphony won't do.

John
Logged
VL7.0 xfce4 Samsung RF511