forked from facebookarchive/pfff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_macos.txt
43 lines (34 loc) · 1.33 KB
/
install_macos.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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 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.