-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathINSTALL.MacOSX
74 lines (51 loc) · 1.67 KB
/
INSTALL.MacOSX
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Installing genius under Mac OS X
--------------------------------
(Note: this is somewhat old so quite possibly very outdated --Jiri)
(from Linc Davis)
These instructions assume that you know what Fink is and have installed it in
the default directory /sw.
The Fink package 'gmp' must be installed, and its build directory is needed.
In an admin account, run
sudo cp /sw/etc/fink.conf /sw/etc/fink.conf.bak
sudo pico /sw/etc/fink.conf
and look for the following line:
KeepBuildDir: false
Change this to
KeepBuildDir: true
If the line is not present, add it. Now run either
fink install gmp
or
fink rebuild gmp
Download the latest tarball of the MPFR library from www.mpfr.org and expand
it. In the mpfr directory, run
GMPBUILD=/sw/src/gmp-4.1.2-11/gmp-4.1.2
./configure --with-gmp-include=$GMPBUILD --with-gmp-lib=/sw/lib
make
make check
sudo make install
Here the version number of gmp may need to be changed to whatever is current.
The files will be installed under /usr/local, not /sw. Optionally, add
/usr/local/info to your INFOPATH.
To build genius with the optional Gnome front end, in addition to a full
Gnome binary installation you need the following Fink developer packages:
gconf2-dev
glib2-dev
gnome-vfs2-dev or gnome-vfs2-ssl-dev
gtksourceview-dev
libart2
libbonobo2-dev
libbonoboui2-dev
libgnome-dev
libgnomecanvas2-dev
libgnomeprint2.2-dev
libgnomeui-dev
pango1-xft2-dev
vte-dev
In the genius directory, run
./configure CFLAGS=-L/sw/lib
make
sudo make install
Add /usr/local/bin to your PATH if you haven't already done so (it's not
there by default.)
Finally, restore the fink.conf file:
sudo mv -f /sw/etc/fink.conf.bak /sw/etc/fink.conf