[sugar] sugar-jhbuild changes

Marco Pesenti Gritti mpg
Thu Feb 1 17:17:44 EST 2007


On Thu, 2007-02-01 at 11:02 -0500, Mike Hunter wrote:
> On Feb 01 at 10:28, Marco Pesenti Gritti wrote:
> 
> > On Thu, 2007-02-01 at 10:11 -0500, Mike Hunter wrote:
> [snip]
> > > I've got a fresh Ubuntu build and I'm going to give these instructions a
> > > whirl.  I'll let you know how it goes.
> > > 
> > > Are the sugar-jhbuild commands supposed to be executed as root or as a
> > > regular user?
> > 
> > regular user is OK
> 
> Thanks.
> 
> > > Also, do your instructions here supersede these instructions:
> > > 
> > > http://wiki.laptop.org/go/Sugar_with_sugar-jhbuild
> > > 
> > 
> > These are up to date. So you should follow these. (I made some changes
> > to the process after my mail to the list)
> 
> Thanks.  I've already started with just the sanitycheck, but I see that
> that's part of the regular build...
> 
> > > and these?
> > > 
> > > http://wiki.laptop.org/go/Sugar_on_Ubuntu_Linux
> > > 
> > > Or do they supersede them depending on how my install goes, perhaps?  :)
> > 
> > These should be updated yeah. I'd hope we can mostly avoid distribution
> > specific instructions now, actually.
> 
> An admirable goal!  :)
> 
> > Let me know how it goes.
> 
> 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.

Marco



More information about the Sugar-devel mailing list