i can't install celestia 1.4.1...

General discussion about Celestia that doesn't fit into other forums.
Topic author
bu11dog85
Posts: 1
Joined: 23.03.2007
With us: 17 years 8 months

i can't install celestia 1.4.1...

Post #1by bu11dog85 » 23.03.2007, 15:34

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

DonAVP
Posts: 109
Joined: 01.12.2005
With us: 18 years 11 months
Location: SF BayArea

Post #2by DonAVP » 24.03.2007, 03:04

Never heard of it sorry. As far as I know it will run on PC's, Mac's & Linux.

Don
Don't know anything

Thruth
Posts: 4
Joined: 23.04.2007
With us: 17 years 7 months

Post #3by Thruth » 23.04.2007, 07:25

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&);
Thruth

Thruth
Posts: 4
Joined: 23.04.2007
With us: 17 years 7 months

Post #4by Thruth » 23.04.2007, 10:24

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.

8)
Thruth

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #5by t00fri » 23.04.2007, 11:09

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.

8)


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
Image

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 3 months

re

Post #6by John Van Vliet » 14.05.2007, 23:23

good news i had heard of the prob. but from the Fedora forum people


Return to “Celestia Users”