These instructions should work on the Max OSX but have not been tested.
Except for one problem with APR, building is the same here as on Linux.
For the Intel-based Mac OSX machines we have tested with, the APR function
to dynamically load shared libraries does not respect DYLD_LIBRARY_PATH.
A fix is to patch dso/unix/dso.c as follows:
Packaging UIMA C++ annotators:
On Mac OSX, the install names are embedded in the binaries. Run the
following steps manually post build to neutralize the embedded name in
the UIMA C++ binary and to change the dependency path in the
- changing the install name in libuima, to neutralize it:
install_name_tool -id libuima.dylib $UIMACPP_HOME/install/lib/libuima.dylib
- changing the dependency path in the annotator:
install_name_tool -change "/install/lib/libuima.dylib"