Alembic 1.5.1 Boost 1.49 OpenEXR 2.0.1 HDF5 1.8.9
From the alembic/doc/HDF5-howtobuild.txt document :
> setenv LDFLAGS "-fPIC"
> setenv CFLAGS "-m64 -fPIC"
> ./configure \
--prefix=/usr/local/hdf5\
--with-pic \
--enable-production \
--disable-debug \
--enable-threadsafe \
--with-pthread=/usr/include,/usr/lib
> make
> make install
Build Boost :
> setenv PYTHON /usr/bin/python2.6
> setenv PYTHON_VERSION 2.6
> ./bootstrap.sh \
--prefix=/usr/local/boost \
--with-python=python2.6 \
--with-libraries=python \
--with-libraries=program_options \
--with-libraries=thread
> ./b2 --clean
> ./b2 cxxflags=-fPIC cflags=-fPIC install
Build IlmBase :
> setenv CFLAGS "-fPIC"
> setenv CXXFLAGS "-fPIC"
> ./configure --prefix=/usr/local/ilmbase
> make
> make install
Build PyIlmBase :
> ./bootstrap
> setenv PYTHON /usr/bin/python2.6
> setenv PYTHON_VERSION 2.6
> setenv LD_LIBRARY_PATH /usr/local/ilmbase/lib:/usr/local/boost/lib
> setenv LDFLAGS "-L/usr/local/boost/lib -L/usr/local/ilmbase/lib"
> setenv CPPFLAGS -I/usr/local/boost/include
> ./configure \
--with-ilmbase-prefix=/usr/local/ilmbase \
--without-numpy \
--prefix=/usr/local/pyilmbase
> make
> make install
Running the bootstrap from your build dir :
> ~/alembic/build/bootstrap/alembic_bootstrap.py \
--dependency-install-root=/usr/local/ . \
--enable-pyalembic
> make
> make install