Building for release on OS X/Intel

Building Openlibraries

Open a new terminal.

# Go to the local repository
$ cd /Users/jbk/src/openlibraries-cvs

# Update the local repository to latest
$ cvs update -r stable-release-2007_10_11

# cleaning before building
$ make distclean
$ cd src
$ make distclean
$ cd ..

# (may take a while)
$ ./bootstrap

# needed so that the configure will be able to find libtiff and libjpeg
$ export LD_LIBRARY_PATH=/opt/local/lib

$ ./configure --prefix=/opt/local --with-boostprefix=/opt/local --enable-openalframework --with-pythonversion=2.4
--with-glewprefix=/opt/local --with-qtinclude=/Developer/qt/include --with-qtlib=/Developer/qt/lib --disable-gpl
--disable-mlt --disable-cg --disable-ofx

# build. This may fail, in which case just verify that the error is in 'test', no 'src'.
make

# install openlibraries in /opt/local (will ask for the user password).
# This may fail as well in test (not a problem).
sudo make install

Building Jahwidgets

Open a new terminal.

$ cd /Users/jbk/src/jah-cvs

# update the local Jah repository to latest.
# In case of problem, make sure that CVS properly got jahwidgets, jahtools and installer.
# If cvs gets stuck in resources, Ctrl+C it...
$ cvs update 

$ cd jahwidgets

# cleaning before building
$ make clean
  • verify that in src/qt3/config.pri, the variable CONFIG contains 'release', and not 'debug'
# build
$ make