Page 1 of 1

Compile failure

Posted: 06.03.2007, 18:27
by dravenloft
I'm trying to install Celestia 1.4.1 from source and the ./configure goes ok, but when I try to run make it keeps stopping here:

Code: Select all

Making all in celengine
make[3]: Entering directory `/home/draco/test/celestia-1.4.1/src/celengine'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer  -MT asterism.o -MD -MP -MF ".deps/asterism.Tpo" \
          -c -o asterism.o `test -f 'asterism.cpp' || echo './'`asterism.cpp; \
        then mv -f ".deps/asterism.Tpo" ".deps/asterism.Po"; \
        else rm -f ".deps/asterism.Tpo"; exit 1; \
        fi
../celengine/star.h:33: error: extra qualification 'StarDetails::' on member 'StarDetails'
../celengine/orbit.h:19: warning: 'class Orbit' has virtual functions but non-virtual destructor
../celengine/orbit.h:35: warning: 'class EllipticalOrbit' has virtual functions but non-virtual destructor
../celengine/orbit.h:62: warning: 'class OrbitSampleProc' has virtual functions but non-virtual destructor
../celengine/orbit.h:77: warning: 'class CachingOrbit' has virtual functions but non-virtual destructor
make[3]: *** [asterism.o] Error 1
make[3]: Leaving directory `/home/draco/test/celestia-1.4.1/src/celengine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/draco/test/celestia-1.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/draco/test/celestia-1.4.1'
make: *** [all] Error 2

Any suggestions how to fix this?

Posted: 06.03.2007, 21:32
by Christophe
These are incompatibilities with the more recent versions of GCC, they are fixed in CVS.

To build from cvs, follow the instructions on the SourceForge page to do a checkout. Then run "make -f Makefile.cvs" to build the configure script. You need to have autoconf and automake installed.

Posted: 07.03.2007, 01:18
by dravenloft
Oh. Thanks. I'll try that then.