Build Notes
Various platforms have bugs which prevent IMP from building in a straight forward manner. The purpose of this page is to gather together workaround for such problems.
Mac OS X 10.5 (Leopard) PPC
These are likely not platform-specific however.
The IMP: Getting Started page says to place the config.py file into the directory containing the SConscript file. I did a find and found many such directories. I decided after some experientation to create a config.py into the top-level IMP directory, which contained no SConscript file but an SConstruct file. - mp@scripps.edu
The version of swig shown on Fink as current is 1.3.35-2, not recent enough for IMP to use. I found a newer version, 2.0, at http://www.swig.org and successfully built it. I an now rebuilding IMP to test it. - mp@scripps.edu
The IMP build failed with 'sh: doxygen: command not found; scons: *** Error 127' although doxygen is not mentioned as a prerequisite. I built doxygen 1.5.6-5 using Fink but have not yet tested. - mp@scripps.edu
Mac OS X 10.6 (Snow Leopard) with Fink
- Fink
- make sure your Fink version is 64 bits (to date (oct. 2010), there is no graphical 64 bit version on mac, so install src version)
As for debian, fink "stable" version contains only very old package versions, you will probably want to add unstable packages to your distrib. To do so, edit /sw/etc/fink.conf and add modify the "Trees" line to contain unstable versions. For instance : <code>Trees: local/main stable/main stable/crypto unstable/main unstable/crypto</code>
As a general comment, fink can be run either in src or bin mode. In the first mode, it will retrieve package sources and compile it on your machine, which can be time consuming. In the second mode it will first look for binaries versions, and if none found, resort to the src/compile solution. The package installation process can thus be fastened by allowing binaries installation. To have this enabled, make sure you have this line in your /sw/etc/fink.conf <code>UseBinaryDist: true</code>
- IMP installation
- Fink unstable version contains recent enough versions for cgal, boost and swig