[PlanetCCRMA] added (finally!): a mammut comes to town

Kjetil S. Matheussen k.s.matheussen@notam02.no
Tue Jun 17 03:40:02 2003


On 16 Jun 2003, Fernando Pablo Lopez-Lezcano wrote:

> Well, to 8.0 and 9 town anyway (it was already there for 7.2/7.3). I
> finally added a gross hack and another python interpreter to the
> repository (with built in pygtk support) so that Mammut can be included
> in 8.0 and 9 without breaking all the redhat python-based configuration
> tools :-)
>
> So...
>
> * added mammut 0.15-1 to redhat 8.0 and 9
> * added pythong-pygtk1 version 2.2.2-1 (with pygtk 0.6.11) to 8.0 and 9
>
> Ceres is coming (hopefully) tomorrow to a repository near you. Thanks to
> Kjetil S. Matheussen for the details on how to get all this working.
>

That is great! But I have actually just recently found a way to make
mammut and ceres work on redhat8/9 without installing another
python, which should save about 20Mb. Sorry, just figured out when working
with the Radium program, which has the same problem.

Here is how to package ceres and mammut without installing another python,
just in case you bother. :)


kjetism@olivier ~/mammut/src $ diff mammut.py ../mammut-0.15/src/mammut_old.py
19c19
<
---
> import gtk,libglade
35,40c35
< #sys.path.append(os.path.abspath(os.path.dirname(sys.argv[0]))+"/../lib/")
<
< sys.path.insert(0,"/usr/pygtk1/lib/python"+sys.version[:3]+"/site-packages/gtk-1.2")
< sys.path.insert(0,os.path.abspath(os.path.dirname(sys.argv[0]))+"/../lib/")
<
< import gtk,libglade
---
> sys.path.append(os.path.abspath(os.path.dirname(sys.argv[0]))+"/../lib/")


kjetism@olivier ~/ceres-0.31/src $ diff ceresconfig.py ../ceres-0.39/src/ceresconfig.py
6d5
< sys.path.insert(0,"/usr/pygtk1/lib/python"+sys.version[:3]+"/site-packages/gtk-1.2")



#!/bin/sh

wget http://ftp.gnome.org/pub/GNOME/sources/libglade/0.17/libglade-0.17.tar.gz
tar xvzf libglade-0.17.tar.gz
cd libglade-0.17
./configure --prefix=/usr/pygtk1
make
su -c 'make install'
cd ..

wget ftp://ftp.gtk.org/pub/gtk/python/v1.2/pygtk-0.6.11.tar.gz
tar xvzf pygtk-0.6.11.tar.gz
cd pygtk-0.6.11
./configure --prefix=/usr/pygtk1 --with-libglade-config=/usr/pygtk1/bin/libglade-config
make
su -c 'make install'





--