There is a download option for linux, but the package extention .package isn't really usable by any linux distribution I have ever used.
So, I went through the trouble of trying to compile it from source, spending hours trying to find and install missing dependencies and I finally managed to get it to configure. But when I got to the make step, I got this error:
Code: Select all
make all-recursive
make[1]: Entering directory '/home/caleb/Downloads/celestia-1.6.1'
Making all in src
make[2]: Entering directory '/home/caleb/Downloads/celestia-1.6.1/src'
Making all in celutil
make[3]: Entering directory '/home/caleb/Downloads/celestia-1.6.1/src/celutil'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/caleb/Downloads/celestia-1.6.1/src/celutil'
Making all in celmath
make[3]: Entering directory '/home/caleb/Downloads/celestia-1.6.1/src/celmath'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/caleb/Downloads/celestia-1.6.1/src/celmath'
Making all in cel3ds
make[3]: Entering directory '/home/caleb/Downloads/celestia-1.6.1/src/cel3ds'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/caleb/Downloads/celestia-1.6.1/src/cel3ds'
Making all in celtxf
make[3]: Entering directory '/home/caleb/Downloads/celestia-1.6.1/src/celtxf'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/caleb/Downloads/celestia-1.6.1/src/celtxf'
Making all in celengine
make[3]: Entering directory '/home/caleb/Downloads/celestia-1.6.1/src/celengine'
g++ -DHAVE_CONFIG_H -I. -I../.. -I.. -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -O2 -ffast-math -fexpensive-optimizations -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT libcelengine_a-cmdparser.o -MD -MP -MF .deps/libcelengine_a-cmdparser.Tpo -c -o libcelengine_a-cmdparser.o `test -f 'cmdparser.cpp' || echo './'`cmdparser.cpp
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/os_defines.h:39:0,
from /usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h:533,
from /usr/include/c++/7/utility:68,
from /usr/include/c++/7/algorithm:60,
from cmdparser.cpp:12:
/usr/include/features.h:183:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
In file included from ../celutil/bigfix.h:19:0,
from ../celengine/univcoord.h:17,
from ../celengine/astro.h:18,
from cmdparser.cpp:29:
../celutil/basictypes.h:34:0: warning: "INT64_MAX" redefined
#define INT64_MAX 9223372036854775807LL
In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h:9:0,
from ../celutil/basictypes.h:30,
from ../celutil/bigfix.h:19,
from ../celengine/univcoord.h:17,
from ../celengine/astro.h:18,
from cmdparser.cpp:29:
/usr/include/stdint.h:134:0: note: this is the location of the previous definition
# define INT64_MAX (__INT64_C(9223372036854775807))
In file included from cmdparser.cpp:30:0:
../celestia/celx.h:26:10: fatal error: lua.h: No such file or directory
#include "lua.h"
^~~~~~~
compilation terminated.
Makefile:975: recipe for target 'libcelengine_a-cmdparser.o' failed
make[3]: *** [libcelengine_a-cmdparser.o] Error 1
make[3]: Leaving directory '/home/caleb/Downloads/celestia-1.6.1/src/celengine'
Makefile:536: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/caleb/Downloads/celestia-1.6.1/src'
Makefile:599: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/caleb/Downloads/celestia-1.6.1'
Makefile:474: recipe for target 'all' failed
make: *** [all] Error 2
Any idea what to make of this and what I can do to correct this problem? I have no idea what any of this means or how to even begin to correct it.
Edit: I do have lua development files installed!