-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.MacOSX
75 lines (49 loc) · 1.62 KB
/
README.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
75
GtkMathView can be compiled under MacOSX 10.2.8 (and presumably later
versions). Currently only the SVG backend is supported.
Requirements
============
You will need the following libraries installed:
* GLib >= 2.2.1
* libxml2 >= 2.6.7
* popt >= 1.7
In order to create the configuration files from the CVS repository,
the following packages are also needed:
* automake >= 1.7.6
* autoconf >= 2.57
* libxslt-bin >= 1.0.32 (xsltproc)
It is possible that GtkMathView will compile with older versions of
the libraries/packages above, but this has not been tested.
Compiling
=========
I'm assuming that you will be using fink packages. In this case most
or all of the required libraries and include files will be installed
under
/sw/lib
/sw/include
To configure GtkMathView properly, use this line
./configure
CPPFLAGS=-I/sw/include
LDFLAGS=-L/sw/lib
--disable-gtk
[--disable-custom-reader]
[--disable-libxml2-reader]
[--disable-boxml]
The options in square brackets will disable some unusual features to
save you considerable compilation time.
With
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5341)
you need
make CCLD=g++
in order to avoid linking issues.
Fonts
=====
In order to use Computer Modern fonts, download and drag them in your
Font folder.
Note about the GTK+ backend
===========================
The compiler
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1493)
which is installed in some versions of MacOSX cannot compile
src/backend/gtk/Gtk_RenderingContext
so in order to compile GtkMathView you have to disable the GTK+ backend by
specifying --disable-gtk at configuration time.