[sugar] sugar-jhbuild changes

Marco Pesenti Gritti mpg
Thu Feb 1 22:11:43 EST 2007


On Thu, 2007-02-01 at 21:22 -0500, Mike Hunter wrote:
> On Feb 01 at 17:20, Marco Pesenti Gritti wrote:
> 
> > On Thu, 2007-02-01 at 11:02 -0500, Mike Hunter wrote:
> [snip]
> > > I've gotten past most of the sanity check with standard apt-get /
> > > synaptic cherry-picking, but I'm stuck on python.  Ubuntu seems to
> > > default to python 2.4.  I installed python 2.5, but I see the sanity
> > > check doing `python -V` and it's failing because of this:
> > > 
> > > % ls -l /usr/bin/python*
> > > lrwxrwxrwx 1 root root       9 2007-01-31 18:23 /usr/bin/python -> python2.4
> > > -rwxr-xr-x 1 root root 1019680 2006-10-11 17:52 /usr/bin/python2.4
> > > -rwxr-xr-x 1 root root 1145032 2006-10-06 11:23 /usr/bin/python2.5
> > > -rwxr-xr-x 1 root root    1276 2006-10-06 11:23 /usr/bin/python2.5-config
> > > -rwxr-xr-x 1 root root 3031632 2006-10-06 11:13 /usr/bin/python2.5-dbg
> > > 
> > > This could be considered an ubuntu-specific problem, but do you have any
> > > suggestions on how to proceed?  I'm trying hard to build this server
> > > without my usual dirty simlink hacknig :)  Should I uninstall python
> > > 2.4?  (I have a feeling ubuntu's not going to like that).  Is there a
> > > way I could give sugar a hint about the non-standard python 2.5 path?
> > 
> > If python 2.5 is not the distribution default then you will have to
> > build the base packages (as explained by sanity check). The problem is
> > that a lot of python packages (pygtk for example) are built against 2.4
> > and so they would not work.
> 
> I tried build-base but it errored out:
> 
> configure: error: could not find DocBook XLS Stylesheet in XML catalog
> ...
> gtk-doc [5/29]
> 
> I've got a fresh batch of patience for these build errors, so let me
> know what I can do :)

I added a check for this. Please update sugar-jhbuild (git pull) and see
if it works. You should get the following when trying to start a build:

[marco at localhost sugar-jhbuild]$ ./sugar-jhbuild build
Checking dependencies...
Missing external dependencies:
docbook-style-xsl

This is also the name of the package to install in Fedora, not sure
what's the equivalent on Ubuntu. Install that package and you should be
fine.

Thanks!
Marco



More information about the Sugar-devel mailing list