Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (38 sloc) 1.42 KB
Install macports
$ sudo port install ocaml
$ sudo port install db46
$ sudo port install pcre
For codemap:
$ sudo port install cairo
$ sudo port install gtk2
For codequery:
$ sudo port install swi-prolog
=> 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:
then follows the link and install the Java Developer Package.
An alternative fix may be to reinstall XCode as indicated at:
- If you have problem installing gtk2 and get an error related to atk,
$ sudo port install gobject-introspection
$ sudo port install gtk2
- If you have a problem when compiling pfff in its external/ocamlgtk directory
with an error like:
"Error: Error on dynamically loaded library:
./ dlopen(./, 138):
Symbol not found: _g_simple_async_result_take_error"
$ 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.