Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 7eeea769d5
Fetching contributors…

Cannot retrieve contributors at this time

49 lines (38 sloc) 1.454 kb
Install macports http://www.macports.org/
Then
$ 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:
<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.
Jump to Line
Something went wrong with that request. Please try again.