MBDyn sim suite
Installation on specific distributions
For some distributions, this page is a help to install the prerequisites. Some of them could already be present, however the source headers need to be there as well as the project is going to be built from source. The current notes are for:Debian GNU/Linux 4.0r1
The packages to install are:- libltdl3
- libltdl3-dev
- gcc
- g++
- gfortran-4.1
- swig
- scons
- python-numpy
- python-matplotlib (optional)
- ipython (optional)
A problem was met with GCC, 'gcc -v' was returning the version 4.1.3, however installing the package 'gfortran' was pulling the version 4.2.1. The linker step seemed to fail because of this version difference. To solve it, you will need to edit 'custom.py' when building the MBDyn bindings and set the 'FORTRAN' variable to: FORTRAN = "gfortran-4.1"
You should be then ready to start the package installation.
Ubuntu 7.04
The packages to install from Synaptic are:- ltdl
- ltdl-dev
- libtool
- g++
- gfortran
- swig
- scons
- python-dev
- python-numpy
- python-matplotlib (optional)
- ipython (optional)
You should be then ready to start the package installation.
Gentoo
On Gentoo, most of the prerequisites will be already installed. You will certainly only have to do: # emerge swig numpy matplotlib ipythonYou may need to edit '/etc/portage/package.keywords' to set some of them as unstable (like numpy and matplotlib). Also check that the 'fortran' flag is set for GCC. You should be then ready to start the package installation.