If your libraries (fftw, gsl, hdf, etc) are not found by Quick Installation, or if you want to change the compilation options, the following steps help:
- Follow the first 2 steps in Quick Installation.
- If your libraries are not installed at the default places, set up the related environment variables:
fftw -> FFTWDIR
gsl -> GSLDIR
tiff -> TIFFDIR
png -> PNGDIR
hdf5 -> HDF5DIR
python -> PYTHON_ROOT and PYTHON_VERSION
% ccmake ../eman2
- Type 'c' if it asks about "CMAKE_BACKWARDS_COMPATIBILITY".
- Make necessary changes for compilation flags.
- Developers will probably want to set BOOST-LIBRARY to a Boost.Python object file (ex. libboost_python-gcc-1_32.so)
- Then type 'c', and type 'g'.
% make % make install
Platform Dependent Optimization
In CMake Configuration, enable the following option for your platform:
Athlon: ENABLE_ATHLON x86_64(AMD64): ENABLE_X86_64 Mac G5: ENABLE_G5
How to Generate Latest Documentation
Install doxygen (version 1.4.3+, http://www.doxygen.org)
Install graphviz (http://www.graphviz.org/)
install latex (http://www.latex-project.org/)
- After you have a successful EMAN2 install, i.e., you can import EMAN2 in Python,
cd EMAN2/src/build ccmake ../eman2
set ENABLE_AUTODOC to ON,make make install
All documents will be in your EMAN2/doc directory.