File: INSTALL.MacOSX

package info (click to toggle)
genius 1.0.3-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 9,636 kB
  • ctags: 5,388
  • sloc: ansic: 66,486; sh: 9,110; xml: 6,820; makefile: 514; lex: 492; yacc: 235; perl: 54
file content (72 lines) | stat: -rw-r--r-- 1,639 bytes parent folder | download | duplicates (3)
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
Installing genius under Mac OS X
--------------------------------

(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