forked from CelestiaProject/Celestia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
88 lines (66 loc) · 3.51 KB
/
INSTALL
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
76
77
78
79
80
81
82
83
84
85
86
87
88
Celestia Install instructions for UNIX
--------------------------------------
You need to have the following components installed before Celestia
will build: OpenGL (tested with Mesa 3.4), glu, libjpeg, and libpng.
Should you have a package based installation (most Linux distributions these
days are), you will also need to install the devel packages for your OpenGL,
glu and glibc packages.
OK, assuming you've collected all the necessary libraries, here's
what you need to do to build and run Celestia:
./configure --with-INTERFACE [*]
make
make install
[*] INTERFACE must be replaced with one of "kde", "gtk", "gnome", or "glut".
Four interfaces are available for Celestia:
- glut: minimal interface, barebone Celestia core with no toolbar or menu...
- GTK: A full interface with minimal dependencies, adds a menu, a configuration
dialog some other utilities.
- Gnome: The full GTK interface plus a few Gnome integration goodies, such as
preference saving in GConf. This looks and works very much like the
Windows interface.
- KDE3: brings contextual menus, toolbars, KDE integration,
internationalization, bookmarks...
To build the KDE interface (requires various kde-devel packages):
configure --with-kde
To build the Gnome interface (requires gnome-devel and all GTK requirements):
configure --with-gnome
To build the GTK interface (requires gtkglext and gtkglext-devel):
configure --with-gtk
To build the GLUT interface (requires glut and glut-devel):
configure --with-glut
At the end of the configure output shows which interface has been selected, you
should check it is correct before running make.
Starting with version 1.3.1, Lua is the new scripting engine for Celestia,
the old homegrown scripting engine is still available. By default Lua support
will NOT be compiled in, to enable it you need to download the Lua library
from:
http://www.lua.org/
Version 5.0 or newer is required.
Once Lua has been installed on your system, you need to run:
configure --with-lua=/path/to/lua
To check wether your Celestia has been compiled with Lua support, go to File
-> Open. If you have '*.cel *.celx' in the filter box, then Lua is available
otherwise the filter will contain only '*.cel'.
The GtkGLExt widget that is required in order to build Celestia with Gtk+ may
be downloaded from http://gtkglext.sf.net. Note that depending in your
distribution you may also need other packages containing various files needed
by the build process. For instance, to build under SUSE Linux, you will also
need to have the gtk-devel package installed.
Celestia will be installed into /usr/local by default, with data files landing
in /usr/local/share/celestia , but you may specify a new location with the
--prefix option to configure:
configure --prefix=/home/my_directory
All the other usual configure parameters apply; you may see which options
are available using 'configure --help'
If while running configure you see an error reporting that gl.h,
is missing, you either don't have OpenGL installed on your system,
or you don't have the corresponding devel package installed. If for
instance you have Mesa installed, you will also have to install the
mesa-devel package (or something named similarly). Missing glu.h or glut.h
means that you don't have GLU, GLUT, or their devel pacakges installed.
Chris Laurel & Deon Ramsey
Updated 2003-06-10 by
Christophe Teyssier
Updated 2004-04-28 by [email protected]