Installation of ECell3 on Mandrake 10

Ecell3 compiles without problem on Mandrake10 but you need some packages from the main and contrib sources/media (which are FTP repositories of Mandrake rpms). For a complete explanation of the use of urpmi and sources (urpmi is equivalent to apt-get under debian), please check the http://urpmi.org and http://www.zebulon.org.uk/ICML0.HTML webpages. Adding the main and contrib is made easy using Easy urpmi : http://urpmi.org/easyurpmi/index.php

This short walkthrough supposes you installed the development group packages. You will need these packages (use urpmi to install them, it will solve automatically the dependencies and will download all other necessary packages).

* libboost1

* libboost1-devel

Note : libboost1-1.31.0-1mdk.i586 (latest version on the 1st of May 2004) has a bug when at install it generates symbolic links in /usr/lib to libboost_python (and other libboost_* files). Just create it manually as root using :

ln -s /usr/lib/libboost_python-gcc-1_31.so.1.31.0 /usr/lib/libboost_python.so

This bug has been reported to the Mandrake developer list and will be corrected in a future release.

* python-numeric-devel

* gnome-python

* gnome-python-canvas

* libpython2.3-devel

* pygtk2.0-libglade

* libgtk+2.0_0-devel

* libgsl0-devel

* autoconf2.5

Note : for dependency reasons, autoconf-2.13 and autoconf-2.5 are in separate packages and can be installed together on mandrake. Thus, there are 2 rpm packages : autoconf (2.13 version) and autoconf2.5 (2.5 version). /usr/bin/autoconf is a symbolic link to /usr/lib/autoconf/ac-wrapper.pl, a perl wrapper that executes the correct autoconf executable. To use autoconf-2.5, you need to setup the environment variable :

export WANT_AUTOCONF_2_5='1'

Type

autoconf --version

to check the version that will be used. You should read :

{{{autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie? and Akim Demaille.}}}

Of course this change WANT_AUTOCONF_2_5='1' will be lost after reboot of the computer (unless written in /etc/rc.local file).

* automake1.8

Note : like autoconf, automake has several concurrential versions. Just install automake1.8 in parallel of the automake package (corresponding to the 1.4 version). automake --version should show

automake (GNU automake) 1.8.2
Written by Tom Tromey <tromey@redhat.com>.

Then download the CVS version of Ecell3 (tested with the one on 1st of May 2004. Note: the 3.1.100 does not compile on Mandrake 10):

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ecell login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ecell co ecell3

Copy the ecell3 folder in your preferred location for compiling (usually /usr/local/src)

Type :

./autogen.sh

Note : ignore the warnings

make
make install

You are done !