| | 1 | |
| | 2 | == Building for release on OS X/Intel == |
| | 3 | |
| | 4 | Open a new terminal. |
| | 5 | |
| | 6 | {{{ |
| | 7 | # Go to the local repository |
| | 8 | $ cd /Users/jbk/src/openlibraries-cvs |
| | 9 | |
| | 10 | # Update the local repository to latest |
| | 11 | $ cvs update -r stable-release-2007_10_11 |
| | 12 | |
| | 13 | # cleaning before building |
| | 14 | $ make distclean |
| | 15 | $ cd src |
| | 16 | $ make distclean |
| | 17 | $ cd .. |
| | 18 | |
| | 19 | # (may take a while) |
| | 20 | $ ./bootstrap |
| | 21 | |
| | 22 | # needed so that the configure will be able to find libtiff and libjpeg |
| | 23 | $ export LD_LIBRARY_PATH=/opt/local/lib |
| | 24 | |
| | 25 | $ ./configure --prefix=/opt/local --with-boostprefix=/opt/local --enable-openalframework --with-pythonversion=2.4 |
| | 26 | --with-glewprefix=/opt/local --with-qtinclude=/Developer/qt/include --with-qtlib=/Developer/qt/lib --disable-gpl |
| | 27 | --disable-mlt --disable-cg --disable-ofx |
| | 28 | |
| | 29 | # build. This may fail, in which case just verify that the error is in 'test', no 'src'. |
| | 30 | make |
| | 31 | |
| | 32 | # install openlibraries in /opt/local (will ask for the user password). |
| | 33 | # This may fail as well in test (not a problem). |
| | 34 | sudo make install |
| | 35 | }}} |
| | 36 | |
| | 37 | |
| | 38 | |