Permalink
Browse files

update install_macos.txt, based on experience when upfdate to

macos 10.6.6 and macports 1.9.2
  • Loading branch information...
1 parent 3aa2ef9 commit b1ff767a2c32608537509b808c934eacedb93842 pad committed Feb 19, 2011
Showing with 37 additions and 5 deletions.
  1. +1 −1 copyright.txt
  2. +0 −1 install.txt
  3. +36 −3 install_macos.txt
View
2 copyright.txt
@@ -1,6 +1,6 @@
pfff - Yoann Padioleau
-Copyright (C) 2009-2010 Facebook
+Copyright (C) 2009, 2010, 2011 Facebook
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License (LGPL)
View
1 install.txt
@@ -27,7 +27,6 @@ as pfff or codemap.
-
If you just want to compile the parsing frontend, then type
$ ./configure -nogui -novisual -nobdb
View
39 install_macos.txt
@@ -1,10 +1,43 @@
Install macports http://www.macports.org/
Then
+ $ sudo port install ocaml
$ sudo port install pcre
$ sudo port install cairo
$ sudo port install gtk2
- => can configure -visual
-For cairo and gtk don't use the quartz setting as it is currently
-buggy under macports.
+=> can configure and build all pfff tools :)
+
+Troubles ?
+--------------
+
+- If you have problem installing cairo and get an error message like:
+ "Error: db46 requires the Java for Mac OS X development headers.
+ Error: Download the Java Developer Package from:
+ <https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719>"
+ "
+ then follows the link and install the Java Developer Package.
+
+ An alternative fix may be to reinstall XCode as indicated at:
+ http://yoodey.com/how-fix-db46-problem-macport-installation-or-install-db46-mac-os-x-1065
+
+- If you have problem installing gtk2 and get an error related to atk,
+ do:
+ $ sudo port install gobject-introspection
+ and
+ $ sudo port install gtk2
+ again.
+
+- If you have a problem when compiling pfff in its external/ocamlgtk directory
+ with an error like:
+ "Error: Error on dynamically loaded library:
+ ./dlllablgtk2.so: dlopen(./dlllablgtk2.so, 138):
+ Symbol not found: _g_simple_async_result_take_error"
+ do:
+ $ sudo port selfupdate
+ $ sudo port upgrade outdated
+ which should update glib2 and fix the bug.
+
+- For cairo and gtk don't use the quartz setting as it is currently
+ buggy under macports.
+

0 comments on commit b1ff767

Please sign in to comment.