Archive for August, 2014

First need to install the fftw library. Download it here.

# ./configure --prefix=/code/fftw-3.3.4 --with-pic
# make
# make install

The –with-pic bit was added because the ROOT compilation complained about it.

For ROOT, –with-fftw3-incdir is directory with fftw3.h and –with-fftw3-libdir is directory with fftw library.

# ./configure --prefix=/code/root_v5.34.20 --enable-qt --with-fftw3-incdir=/code/fftw-3.3.4/include --with-fftw3-libdir=/code/fftw-3.3.4/lib
...
Enabled support for asimage, astiff, builtin_afterimage, builtin_ftgl, builtin_glew, builtin_lzma, cintex, explicitlink, fftw3, genvector, krb5, ldap, memstat, mysql, opengl, pgsql, python, reflex, shadowpw, shared, sqlite, ssl, tmva, vdt, x11, xft, xml.

# make
# make install

Normally, I’d do a make -j2 above. But, for some reason, it would just hang at a particular point in the compilation. So I took off the -j2 and things seemed to work.

$ root-config –features
asimage astiff builtin_afterimage builtin_ftgl builtin_glew builtin_lzma cintex explicitlink fftw3 genvector krb5 ldap memstat mysql opengl pgsql python reflex shadowpw shared sqlite ssl tmva vdt x11 xft xml thread