Installation of yade on gentoo

From Yade

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Installation browse

<categorytree mode=pages>Installation</categorytree>


If you have more experience than me with Gentoo, please edit as appropriate.

make sure you have USE="threads" in /etc/make.conf
emerge dev-python/scientificpython dev-util/subversion dev-util/scons dev-libs/boost dev-libs/log4cxx

If it does not conflict with media-libs/freeglut: emerge media-libs/glut

Optionally you might want to install the wildmagic 3 library, which can be used by Lattice Geometrical Model. But is not absolutely necassary (used only for Delaunay mesh generation method in lattice model).

scons PREFIX=/home/username/YADE optimize=1

to start compilation and installation to /home/username (installs to /usr/local by default).

Notes

If you get an error:

GL/freeglut_ext.h: No such file or directory

You have to replace file glut with freeglut.