1 |
cebix |
1.1 |
<HTML> |
2 |
|
|
<HEAD> |
3 |
|
|
<TITLE>Installation</TITLE> |
4 |
|
|
</HEAD> |
5 |
|
|
<BODY> |
6 |
|
|
|
7 |
|
|
<H1>Installation</H1> |
8 |
|
|
|
9 |
|
|
<HR> |
10 |
|
|
|
11 |
cebix |
1.2 |
There are two kinds of Frodo distributions. The source distributions |
12 |
|
|
(<TT>FrodoV?_?.Src.*</TT>) contain source code that has to be compiled on |
13 |
|
|
your system. The binary distributions (<TT>FrodoV?_?.<system |
14 |
|
|
name>.*</TT>) contain an executable that can be started directly. |
15 |
cebix |
1.1 |
|
16 |
cebix |
1.2 |
<H2>Compiling under Unix</H2> |
17 |
|
|
|
18 |
|
|
First you have to run the script <TT>configure</TT>. This can be done simply |
19 |
|
|
with the following command:<P> |
20 |
|
|
|
21 |
|
|
<KBD>$ cd Src<BR> |
22 |
|
|
$ ./configure</KBD><P> |
23 |
|
|
|
24 |
|
|
If there is no configure script in the distribution (for example, if you have |
25 |
|
|
checked out the Frodo sources from the CVS repository) run |
26 |
|
|
<TT>autogen.sh</TT> instead:<P> |
27 |
|
|
|
28 |
|
|
<KBD>$ cd Src<BR> |
29 |
|
|
$ ./autogen.sh</KBD><P> |
30 |
|
|
|
31 |
|
|
For optimum performance, Frodo needs the following prerequisites:<P> |
32 |
|
|
|
33 |
|
|
<UL> |
34 |
|
|
<LI><A HREF="http://www.libsdl.org">SDL 1.2.x</A> |
35 |
|
|
<LI>OpenGL 2.0 or higher |
36 |
|
|
<LI><A HREF="http://glew.sourceforge.net">GLEW</A> |
37 |
|
|
<LI>libglade2 and libgnomeui 2.x |
38 |
|
|
</UL> |
39 |
|
|
|
40 |
|
|
<TT>configure</TT> and <TT>autogen.sh</TT> accept optional arguments (type |
41 |
|
|
<KBD>./configure --help</KBD> for a full list). For example, to disable |
42 |
|
|
OpenGL support, you can enter<P> |
43 |
|
|
|
44 |
|
|
<KBD>$ ./configure --disable-opengl</KBD><P> |
45 |
cebix |
1.1 |
|
46 |
cebix |
1.2 |
To use SVGAlib on Linux systems, you have to do<P> |
47 |
cebix |
1.1 |
|
48 |
cebix |
1.2 |
<KBD>$ ./configure --without-x</KBD><P> |
49 |
cebix |
1.1 |
|
50 |
cebix |
1.2 |
After configuration has completed, type<P> |
51 |
cebix |
1.1 |
|
52 |
cebix |
1.2 |
<KBD>$ make</KBD><P> |
53 |
cebix |
1.1 |
|
54 |
cebix |
1.2 |
The Frodo GUI requires the <TT>Frodo.glade</TT> file to be present in the |
55 |
|
|
directory <TT>/usr/local/src/frodo</TT> (you can specify a different |
56 |
|
|
installation directory with <KBD>./configure --prefix</KBD>). Either copy |
57 |
|
|
this file manually from <TT>Src/glade/Frodo.glade</TT> or become root and |
58 |
|
|
type<P> |
59 |
cebix |
1.1 |
|
60 |
cebix |
1.2 |
<KBD># make install</KBD> |
61 |
cebix |
1.1 |
|
62 |
cebix |
1.2 |
<H2>Compiling under BeOS</H2> |
63 |
cebix |
1.1 |
|
64 |
cebix |
1.2 |
There are separate Makefiles for Frodo (<TT>Makefile.BeOS</TT>) and Frodo SC |
65 |
|
|
(<TT>Makefile.BeOS.SC</TT>). Type<P> |
66 |
cebix |
1.1 |
|
67 |
cebix |
1.2 |
<KBD>$ cd Src<BR> |
68 |
|
|
$ make -fMakefile.BeOS<BR> |
69 |
|
|
$ make -fMakefile.BeOS.SC</KBD><P> |
70 |
cebix |
1.1 |
|
71 |
cebix |
1.2 |
to compile both versions. |
72 |
cebix |
1.1 |
|
73 |
|
|
<H2>Compiling under AmigaOS</H2> |
74 |
|
|
|
75 |
cebix |
1.2 |
The makefile was written for the ADE with GCC. Other compilers have not been |
76 |
|
|
tested. You must rename (or copy) Src/sysconfig.h.Amiga to Src/sysconfig.h |
77 |
|
|
first. Then type<P> |
78 |
cebix |
1.1 |
|
79 |
|
|
<KBD>cd Src<BR> |
80 |
|
|
make -fMakefile.Amiga all</KBD><P> |
81 |
|
|
|
82 |
|
|
</BODY> |
83 |
|
|
</HTML> |