summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2012-03-28 10:08:49 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2012-03-28 10:08:49 (GMT)
commit1aa83f868ecb43d035a45b5225585ca3b82d301b (patch)
tree3f574e1130cc19077dcf4913ec2e24aa45279166
parentaa7ae38e252eb04c16dab66bb7c91c124b125271 (diff)
downloadlibkolabxml-1aa83f868ecb43d035a45b5225585ca3b82d301b.tar.gz
Add instructions for building on Mac OS X
-rw-r--r--libkolabxml/README-Mac.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/libkolabxml/README-Mac.txt b/libkolabxml/README-Mac.txt
new file mode 100644
index 0000000..b848457
--- /dev/null
+++ b/libkolabxml/README-Mac.txt
@@ -0,0 +1,17 @@
+# The following commands are used to bild libkolabxml on Mac OS X (Lion)
+# with most of the required libraries installed via macports:
+# > sudo port install cmake boost xercesc3
+#
+# The cxx/xsd library has to be downlaoded from http://www.codesynthesis.com/products/xsd/download.xhtml
+# and manually copied into /usr/bin and /usr/include/xsd/
+
+rm -rf build/
+mkdir -p build
+cd build
+cmake -DKOLAB_PHP_INSTALL_DIR:PATH=/usr/lib/php/extensions/no-debug-non-zts-20090626 -DCMAKE_INCLUDE_PATH:PATH=/opt/local/include -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
+make
+sudo make install
+
+# This will install kolabformat.dylib and kolabform.php to the KOLAB_PHP_INSTALL_DIR
+# You probably have to symlink kolabformat.dylib to kolabformat.so and move
+# kolabform.php to a location which is in the include_path of your PHP installation.