So then I go and do ./configure --without-kde, and get the following:
Code: Select all
make[3]: Entering directory `/export/home/soft/celestia-1.3.0/src/celengine'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT body.o -MD -MP -MF ".deps/body.Tpo" \
-c -o body.o `test -f 'body.cpp' || echo './'`body.cpp; \
then mv ".deps/body.Tpo" ".deps/body.Po"; \
else rm -f ".deps/body.Tpo"; exit 1; \
fi
In file included from body.cpp:16:
body.h:146: syntax error before numeric constant
body.h:148: syntax error before numeric constant
body.h:151: syntax error before numeric constant
body.h:153: `float Body::getApparentMagnitude(...) const' and `float
Body::getApparentMagnitude(...) const' cannot be overloaded
body.cpp:354: syntax error before numeric constant
body.cpp: In member function `float Body::getLuminosity(...) const':
body.cpp:358: request for member `getLuminosity' in `1', which is of
non-aggregate type `int'
body.cpp:364: `distanceFromSun' undeclared (first use this function)
body.cpp:364: (Each undeclared identifier is reported only once for each
function it appears in.)
body.cpp: At global scope:
body.cpp:376: syntax error before numeric constant
body.cpp: In member function `float Body::getApparentMagnitude(...) const':
body.cpp:381: `distanceFromViewer' undeclared (first use this function)
body.cpp: At global scope:
body.cpp:386: syntax error before numeric constant
body.cpp:389: redefinition of `float Body::getApparentMagnitude(...) const'
body.cpp:379: `float Body::getApparentMagnitude(...) const' previously defined
here
body.cpp:389: no `float Body::getApparentMagnitude(...) const' member function
declared in class `Body'
body.cpp: In member function `float Body::getApparentMagnitude(...) const':
body.cpp:390: `viewerPosition' undeclared (first use this function)
body.cpp:391: `sunPosition' undeclared (first use this function)
body.cpp:379: prior parameter's size depends on `const Body* const this'
body.cpp:379: prior parameter's size depends on `const Body* const this'
make[3]: *** [body.o] Error 1
make[3]: Leaving directory `/export/home/soft/celestia-1.3.0/src/celengine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/home/soft/celestia-1.3.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/soft/celestia-1.3.0'
make: *** [all] Error 2