I'm having trouble compiling the lastest version of Celestia from the CVS repository.
I'm compiling it from my O.S Kubuntu Gutsy Gibbon.I use Cervisia to update and checkout the source.
Here's what I did,I right-clicked on my repository folder and selected "open terminal here".I then issued the command
Code: Select all
make -f Makefile.cvs
I then ran
Code: Select all
./configure --with-kde
Code: Select all
make
Make nearly finishes,but get stuck on this error
Code: Select all
make[5]: Entering directory `/home/steve/Desktop/celestia/src/celestia/kde'
g++ -DCONFIG_DATA_DIR='"/usr/local/share/celestia"' -DLOCALEDIR='"/usr/local/share/locale"' -DHAVE_CONFIG_H -I. -I../../.. -I../.. -I.. -isystem/usr/share/qt3/include -isystem/usr/include/kde -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 -I/usr/include/lua5.1 -DLUA_VER=0x050100 -DCELX -MT celsplashscreen.moc.o -MD -MP -MF .deps/celsplashscreen.moc.Tpo -c -o celsplashscreen.moc.o celsplashscreen.moc.cpp
celsplashscreen.moc.cpp:12:2: error: #error "The header file 'celsplashscreen.h' doesn't include <QObject>."
celsplashscreen.moc.cpp:36: error: ?€?const QMetaObject CelSplashScreen::staticMetaObject?€™ is not a static member of ?€?class CelSplashScreen?€™
celsplashscreen.moc.cpp:36: error: variable ?€?const QMetaObject CelSplashScreen::staticMetaObject?€™ has initializer but incomplete type
celsplashscreen.moc.cpp:41: error: prototype for ?€?const QMetaObject* CelSplashScreen::metaObject() const?€™ does not match any in class ?€?CelSplashScreen?€™
celsplashscreen.h:55: error: candidate is: virtual QMetaObject* CelSplashScreen::metaObject() const
celsplashscreen.moc.cpp:41: error: ?€?const QMetaObject* CelSplashScreen::metaObject() const?€™ cannot be overloaded
celsplashscreen.h:55: error: with ?€?virtual QMetaObject* CelSplashScreen::metaObject() const?€™
celsplashscreen.moc.cpp: In member function ?€?const QMetaObject* CelSplashScreen::metaObject() const?€™:
celsplashscreen.moc.cpp:43: error: cannot convert ?€?QMetaObject* (*)()?€™ to ?€?const QMetaObject*?€™ in return
celsplashscreen.moc.cpp: At global scope:
celsplashscreen.moc.cpp:46: error: no ?€?void* CelSplashScreen::qt_metacast(const char*)?€™ member function declared in class ?€?CelSplashScreen?€™
celsplashscreen.moc.cpp: In member function ?€?void* CelSplashScreen::qt_metacast(const char*)?€™:
celsplashscreen.moc.cpp:53: error: ?€?qt_metacast?€™ is not a member of ?€?QWidget?€™
celsplashscreen.moc.cpp: At global scope:
celsplashscreen.moc.cpp:56: error: ?€?int CelSplashScreen::qt_metacall?€™ is not a static member of ?€?class CelSplashScreen?€™
celsplashscreen.moc.cpp:56: error: incomplete type ?€?QMetaObject?€™ used in nested name specifier
celsplashscreen.moc.cpp:56: error: expected primary-expression before ?€?int?€™
celsplashscreen.moc.cpp:56: error: expected primary-expression before ?€?void?€™
celsplashscreen.moc.cpp:56: error: initializer expression list treated as compound expression
celsplashscreen.moc.cpp:57: error: expected ?€?,?€™ or ?€?;?€™ before ?€?{?€™ token
make[5]: *** [celsplashscreen.moc.o] Error 1
make[5]: Leaving directory `/home/steve/Desktop/celestia/src/celestia/kde'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/steve/Desktop/celestia/src/celestia/kde'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/steve/Desktop/celestia/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/steve/Desktop/celestia/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steve/Desktop/celestia'
make: *** [all] Error 2
steve@mernivia:~/Desktop/celestia$
I have put the entire compile process into text file,and uploaded it to MediaFire,the link to it should be here:
http://www.mediafire.com/?0xvtyllwmbz
I hope somebody can help me with this one.
Regards,
NIGHTCAST2000