1 |
<HTML> |
2 |
<HEAD> |
3 |
<TITLE>Installation</TITLE> |
4 |
</HEAD> |
5 |
<BODY> |
6 |
|
7 |
<H1>Installation</H1> |
8 |
|
9 |
<HR> |
10 |
|
11 |
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 |
|
16 |
<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 |
|
46 |
To use SVGAlib on Linux systems, you have to do<P> |
47 |
|
48 |
<KBD>$ ./configure --without-x</KBD><P> |
49 |
|
50 |
After configuration has completed, type<P> |
51 |
|
52 |
<KBD>$ make</KBD><P> |
53 |
|
54 |
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 |
|
60 |
<KBD># make install</KBD> |
61 |
|
62 |
<H2>Compiling under BeOS</H2> |
63 |
|
64 |
There are separate Makefiles for Frodo (<TT>Makefile.BeOS</TT>) and Frodo SC |
65 |
(<TT>Makefile.BeOS.SC</TT>). Type<P> |
66 |
|
67 |
<KBD>$ cd Src<BR> |
68 |
$ make -fMakefile.BeOS<BR> |
69 |
$ make -fMakefile.BeOS.SC</KBD><P> |
70 |
|
71 |
to compile both versions. |
72 |
|
73 |
<H2>Compiling under AmigaOS</H2> |
74 |
|
75 |
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 |
|
79 |
<KBD>cd Src<BR> |
80 |
make -fMakefile.Amiga all</KBD><P> |
81 |
|
82 |
</BODY> |
83 |
</HTML> |