hello guys...i have some problem with celestia 1.4.1 (i have opensuse 10.2 as OS and i tried to install celestia from source code...)
when i give "make" command, on the shell appears some error....
i have used to configure the kde option
the result of make (latest rows...that give me errors o warnings) is:
3dsread.cpp:118: warning: unused parameter ?€?chunkSize?€™
3dsread.cpp:251: warning: unused parameter ?€?nBytes?€™
3dsread.cpp:263: warning: unused parameter ?€?nBytes?€™
3dsread.cpp:275: warning: unused parameter ?€?nBytes?€™
3dsread.cpp:307: warning: unused parameter ?€?in?€™
3dsread.cpp:307: warning: unused parameter ?€?chunkType?€™
3dsread.cpp:307: warning: unused parameter ?€?contentSize?€™
3dsread.cpp:307: warning: unused parameter ?€?obj?€™
3dsread.cpp:343: warning: unused parameter ?€?contentSize?€™
3dsread.cpp:489: warning: unused parameter ?€?contentSize?€™
3dsread.cpp:513: warning: unused parameter ?€?contentSize?€™
---etc---
../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/flavio/Documents/linux/celestia-1.4.1/src/celengine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/flavio/Documents/linux/celestia-1.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/flavio/Documents/linux/celestia-1.4.1'
make: *** [all] Error 2
it's all for now....at next...
i can't install celestia 1.4.1...
Try patch the source first. I'm working on RPMs of suse, of course, with some odds so far...
--- src/celengine/star.h.orig 2005-12-06 11:30:23.000000000 -0600
+++ src/celengine/star.h 2006-02-10 15:21:49.000000000 -0600
@@ -30,7 +30,7 @@
// orbits and StarDetails objects. Currently, it's assumed that they
// have lifetimes that continue until program termination.
public:
- StarDetails::StarDetails();
+ StarDetails();
inline float getRadius() const;
inline float getTemperature() const;
--- src/celengine/command.h.orig 2004-12-22 16:07:15.000000000 -0600
+++ src/celengine/command.h 2006-02-10 18:46:25.000000000 -0600
@@ -94,10 +94,10 @@
class CommandGotoLongLat : public InstantaneousCommand
{
public:
- CommandGotoLongLat::CommandGotoLongLat(double t,
- double dist,
- float _longitude, float _latitude,
- Vec3f _up);
+ CommandGotoLongLat(double t,
+ double dist,
+ float _longitude, float _latitude,
+ Vec3f _up);
~CommandGotoLongLat();
void process(ExecutionEnvironment&);
--- src/celengine/star.h.orig 2005-12-06 11:30:23.000000000 -0600
+++ src/celengine/star.h 2006-02-10 15:21:49.000000000 -0600
@@ -30,7 +30,7 @@
// orbits and StarDetails objects. Currently, it's assumed that they
// have lifetimes that continue until program termination.
public:
- StarDetails::StarDetails();
+ StarDetails();
inline float getRadius() const;
inline float getTemperature() const;
--- src/celengine/command.h.orig 2004-12-22 16:07:15.000000000 -0600
+++ src/celengine/command.h 2006-02-10 18:46:25.000000000 -0600
@@ -94,10 +94,10 @@
class CommandGotoLongLat : public InstantaneousCommand
{
public:
- CommandGotoLongLat::CommandGotoLongLat(double t,
- double dist,
- float _longitude, float _latitude,
- Vec3f _up);
+ CommandGotoLongLat(double t,
+ double dist,
+ float _longitude, float _latitude,
+ Vec3f _up);
~CommandGotoLongLat();
void process(ExecutionEnvironment&);
Thruth
Good News for you suse guys.
I successfully built 1.4.1 RPMs for 10.2/10.1/SLE10 with heavily patched source codes. And I'm currently using my package. IT Just works.
I'm pushing it into my repo at opensuse build service, so RPMs will be there later today. Of course, if things go right.
For openSUSE 10.2 users:
http://software.opensuse.org/download/h ... nSUSE_10.2
btw. I disabled the lua support to avoid lua version issues, hope you don't mind. I'll consider enable it later, if it's necessary.
I successfully built 1.4.1 RPMs for 10.2/10.1/SLE10 with heavily patched source codes. And I'm currently using my package. IT Just works.
I'm pushing it into my repo at opensuse build service, so RPMs will be there later today. Of course, if things go right.
For openSUSE 10.2 users:
http://software.opensuse.org/download/h ... nSUSE_10.2
btw. I disabled the lua support to avoid lua version issues, hope you don't mind. I'll consider enable it later, if it's necessary.
Thruth
- t00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
Thruth wrote:Good News for you suse guys.
I successfully built 1.4.1 RPMs for 10.2/10.1/SLE10 with heavily patched source codes. And I'm currently using my package. IT Just works.
I'm pushing it into my repo at opensuse build service, so RPMs will be there later today. Of course, if things go right.
For openSUSE 10.2 users:
http://software.opensuse.org/download/h ... nSUSE_10.2
btw. I disabled the lua support to avoid lua version issues, hope you don't mind. I'll consider enable it later, if it's necessary.
The only relevant issue here is whether you used gcc 3.x or 4.0x?? I strongly suspect you were using 4.0x, right? I never had any problems compiling Celestia 1.4.1 with SuSE Linux and gcc 3.4.4. As a Celestia developer, I use to compile the code almost daily .
When Celestia 1.4.1 was released a long time ago, the actual gcc version was 3.4.x. Since there are quite a few incompatibilities between gcc 3.x and 4.x, most distributions still offer both versions, in fact. CYGWIN, for example, still does NOT offer gcc 4.x, for example.
If instead of this outdated Celestia version, you had compiled Celelstia 1.5.0 from CVS, you had noticed that all these compile-related problems are gone.
Before heavily patching source code (that you are not familiar with), it's always a good idea to look into CVS. Notably if the sources in question are older than 1 year
Bye Fridger
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 3 months
re
good news i had heard of the prob. but from the Fedora forum people