summaryrefslogtreecommitdiff
path: root/README-Mac.txt
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2012-03-28 14:59:51 (GMT)
committerChristian Mollekopf <chrigi_1@fastmail.fm>2012-03-28 14:59:51 (GMT)
commit1288bf09e5f92b5123d4e5b127b904353bceba80 (patch)
tree6906983becfd2bdeae28e2740f89685256de304c /README-Mac.txt
parent987217d13ca95c4d77b423f4c468e69986321386 (diff)
downloadlibkolabxml-1288bf09e5f92b5123d4e5b127b904353bceba80.tar.gz
got rid of the libkolabxml subdirectory
Diffstat (limited to 'README-Mac.txt')
-rw-r--r--README-Mac.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/README-Mac.txt b/README-Mac.txt
new file mode 100644
index 0000000..b848457
--- /dev/null
+++ b/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.