The Test are run whenever some source files changed. If you want to run the test anyway type "scons test".
These are generals steps to build a wrapper, depending on your environment you have to tweak some settings. We currently provide build scripts for the following languages: Java, Ruby, C# and PHP. To select the Language you want to build for you have to set the lang= parameter to scons. If something goes wrong you might consider mailing to particle@teco.edu or see the language Notes at SWIG Documentation.
Here's an exmaple on how to build the Java and Ruby Wrapper in one step:
Checking for C header file libparticle.h... (cached) yes
Checking for C header file ruby.h... (cached) yes
scons: done reading SConscript files.
debug: set to 1 to build with debbuging symbols. (yes|no)
default: 0
actual: 0
lang: the language the wrapper should be build for
(all|none|comma-separated list of names)
allowed names: Java Php Ruby Csharp
default: Java
actual: Java Ruby
libparticle_dir: the root of a libparticle distribution ( /path/to/libparticle_dir )
default: libparticle/
actual: libparticle/
ruby_include: where ruby.h is located ( /path/to/ruby_include )
default: /usr/lib/ruby/1.8/i686-linux/
actual: /usr/lib/ruby/1.8/i686-linux/
Use scons -H for help about command-line options.
which informs you for example to set ruby_include to the path where ruby.h can be found.
Add the python directory to your PATH environment variable.
For building the Java wrapper be sure to have set the JAVA_HOME environment variable.
For building the Java wrapper be sure to have set the JAVA_HOME environment variable.
OS X is partially supported. See this Thread in our forum.