Compile failure

General discussion about Celestia that doesn't fit into other forums.
Topic author
dravenloft
Posts: 6
Joined: 06.03.2007
With us: 17 years 8 months
Contact:

Compile failure

Post #1by dravenloft » 06.03.2007, 18:27

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?

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #2by Christophe » 06.03.2007, 21:32

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.
Christophe

Topic author
dravenloft
Posts: 6
Joined: 06.03.2007
With us: 17 years 8 months
Contact:

Post #3by dravenloft » 07.03.2007, 01:18

Oh. Thanks. I'll try that then.


Return to “Celestia Users”