diff options
author | Jamie Bullock <jamie@postlude.co.uk> | 2007-09-05 17:44:23 +0000 |
---|---|---|
committer | Jamie Bullock <jamie@postlude.co.uk> | 2007-09-05 17:44:23 +0000 |
commit | 9146b4aa6c60da029791138a9859b2bde9f83fd9 (patch) | |
tree | deed2461f91858cf9d6985fa138f15ddfdf19007 /README | |
parent | 56deb2426bf484eb62d265bbc23f2136d8fcfadd (diff) | |
download | LibXtract-9146b4aa6c60da029791138a9859b2bde9f83fd9.tar.gz LibXtract-9146b4aa6c60da029791138a9859b2bde9f83fd9.tar.bz2 LibXtract-9146b4aa6c60da029791138a9859b2bde9f83fd9.zip |
Updated README and minor buld tweaks for OS X (That will probably break the Linux build (sigh)).
Diffstat (limited to 'README')
-rw-r--r-- | README | 48 |
1 files changed, 48 insertions, 0 deletions
@@ -36,6 +36,54 @@ There following configure flags are optional: --enable-fft (to enable functions that require fftw3) --enable-simpletest (to build the simpletest example) +Building the Python bindings +---------------------------- + +To build the python bindings, add to your configure flags: + +--enable-swig --with-python + +This requres additional dependencies to be resolved: + +swig >= 1.3 +python (with development files) >= 2.5 + +It might work with earlier versions of Python, but this has not been tested. + +If you do not have the 'standard' version of Python on OS X, you might need to tell the configure script where the python library is e.g.: + +./configure --your-flags LDFLAGS="-L/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/" + +to find your Python library type: + +locate libpython + +Building the Java bindings +-------------------------- + +To build the java bindings, add to your configure flags: + +--enable-swig --with-java + +This requres additional dependencies to be resolved: + +swig >= 1.3 +java (with development files) >= 2.0 + +It might work with other versions of Java, but this has not been tested. + +On OS X, you will probably need to set your CLASSPATH environment variable before running ./configure + +export CLASSPATH=/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar + +On OS X, you also probably need to tell the configure script where to find your Java (JNI) headers. + +./configure --flags CFLAGS="-I/System/Library/Frameworks/JavaVM.framework/Headers" + +To find out where your headers are: + +locate jni.h + Disclaimer ---------- |