Recent OS X cvs commits

The place to discuss creating, porting and modifying Celestia's source code.
BlindedByTheLight
Posts: 485
Joined: 19.03.2005
With us: 19 years 8 months
Location: Los Angeles, CA

Post #21by BlindedByTheLight » 01.06.2005, 18:43

You never build so you can clean, but rather you clean if you think the next build could be tainted by unsuitable machine code (e.g., code generated using a different, incompatible build style) and/or you're just trying to force a compile.


I think I get it... To regurgitate: so basically (and what I didn't realize) is that when you BUILD, the compiler generates some kind of code that is "left behind" and will be used again the NEXT time you build...?... unless, as you suggest, you "clean" it - something that is good to do when switching build styles?
Steven Binder, Mac OS X 10.4.10

Avatar
Topic author
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #22by dirkpitt » 01.06.2005, 22:58

BlindedByTheLight wrote:I think I get it... To regurgitate: so basically (and what I didn't realize) is that when you BUILD, the compiler generates some kind of code that is "left behind" and will be used again the NEXT time you build...?... unless, as you suggest, you "clean" it - something that is good to do when switching build styles?


That's precisely it.

BlindedByTheLight
Posts: 485
Joined: 19.03.2005
With us: 19 years 8 months
Location: Los Angeles, CA

Post #23by BlindedByTheLight » 01.06.2005, 23:07

Thank you... slowly getting it. :)

I assume then, also, there is a way (through Terminal? Xcode?) to check back in with the cvs site (if that's the right terminology) to see if there are any new files and download those also?

And is it normal to get a several errors while compiling (in the Errors & Warnings section)?
Steven Binder, Mac OS X 10.4.10

neo albireo
Posts: 68
Joined: 03.02.2005
With us: 19 years 9 months
Location: Switzerland

Great!!

Post #24by neo albireo » 21.12.2006, 18:06

Using the instructions above, I learned to get the most recent cvs build using Xcode. I'm not into programming, so everybody can do this. It's really extremely easy. Just very few things changed, here are the relevant commands to update dirkpitt's very useful instructions:

2. type, or paste in: cvs -d:pserver:anonymous@celestia.cvs.sourceforge.net:/cvsroot/celestia login
3. As the Password: prompt, hit return
4. Type: cvs -z3 -d:pserver:anonymous@celestia.cvs.sourceforge.net:/cvsroot/celestia co celestia

Now that I am somewhere near where BlindedByTheLight was more than one year ago, I could theoretically also make a download available for test purposes. Would this be welcomed by the developers? I know that 1.5.0 is soon to come, but there are some bugs that potentially only occur in the Mac OS X version (I will report some of them in the bug forum). Maybe it would be good to have a few more testers.

Thank you, dirkpitt and Blinded! I really enjoy this new possibility. Now I only have to figure out how to download only the files that have changed since the last download.

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Re: Great!!

Post #25by ElChristou » 21.12.2006, 18:54

neo albireo wrote:...Thank you, dirkpitt and Blinded! I really enjoy this new possibility. Now I only have to figure out how to download only the files that have changed since the last download.


To update your source, just type in Terminal:

Code: Select all

cd celestia


then

Code: Select all

cvs update


After a while you will have all your files checked.

It would be nice to work with Blinded in the update of his MacosX Celestia download page; as he seems to be very busy perhaps he will accept some help...
Image

neo albireo
Posts: 68
Joined: 03.02.2005
With us: 19 years 9 months
Location: Switzerland

Re: Great!!

Post #26by neo albireo » 21.12.2006, 19:23

Thanks!!!

ElChristou wrote:It would be nice to work with Blinded in the update of his MacosX Celestia download page; as he seems to be very busy perhaps he will accept some help...


If Blinded does not have the time, I can put the current version online somewhere on my website and provide the download-link in the forum. If he has the time to download it from me, then upload and put it on his own website, that would be even better. Blinded? Are you out there?

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Re: Great!!

Post #27by ElChristou » 21.12.2006, 19:40

neo albireo wrote:Thanks!!!

Your're welcome!

neo albireo wrote:
ElChristou wrote:It would be nice to work with Blinded in the update of his MacosX Celestia download page; as he seems to be very busy perhaps he will accept some help...

If Blinded does not have the time, I can put the current version online somewhere on my website and provide the download-link in the forum. If he has the time to download it from me, then upload and put it on his own website, that would be even better. Blinded? Are you out there?


The ideal would be a real team work within the same server (to avoid multiple upload/download)... But this depend of Steven (Blinded) of course...
Image

BlindedByTheLight
Posts: 485
Joined: 19.03.2005
With us: 19 years 8 months
Location: Los Angeles, CA

Post #28by BlindedByTheLight » 21.12.2006, 23:18

Yo, I am out there. Just got a day off a work!!! Woo hoo! I can try to compile tonight. Last I checked though. When I follow the instructions to download the CVS (on source forge) it doesn't work. Any one have any tips!

P.S. Oh, yeah - and for what it's worth (and not that I'm bragging)... NCIS was the number one show on TV last week! Okay, maybe I am bragging.... ;)
Steven Binder, Mac OS X 10.4.10

neo albireo
Posts: 68
Joined: 03.02.2005
With us: 19 years 9 months
Location: Switzerland

Post #29by neo albireo » 22.12.2006, 15:43

Did you see the changes that I had to make to the command lines? Maybe something changed since the last time you downloaded. Maybe you can try with the lines that I posted.

BlindedByTheLight
Posts: 485
Joined: 19.03.2005
With us: 19 years 8 months
Location: Los Angeles, CA

Post #30by BlindedByTheLight » 25.12.2006, 06:18

neo albireo wrote:Did you see the changes that I had to make to the command lines? Maybe something changed since the last time you downloaded. Maybe you can try with the lines that I posted.


When I try this line in Terminal:

cvs -d:pserver:anonymous@celestia.cvs.sourceforge.net:/cvsroot/celestia login

I get this response:

-bash: cvs: command not found

Any ideas? I'm on an intel machine. Could that have anything to do with it?

UPDATE: So I just noticed that I haven't installed Xcode yet. I have an extremely noob suspicion that I need to have Xcode installed to get the CVS command-line thingy to work. Downloading now...but it's almost a gig so it's going to take a while. If someone doesn't respond to this post shortly, I'll guess I'll find out if that was the problem.

Oh -- and Happy Holidays!
Steven Binder, Mac OS X 10.4.10

BlindedByTheLight
Posts: 485
Joined: 19.03.2005
With us: 19 years 8 months
Location: Los Angeles, CA

Post #31by BlindedByTheLight » 25.12.2006, 08:09

Got it to work. As for tweaking my website, that is a whole other story. I no longer have access to the tools I used to edit it. Hopefully, I get can that up and running and then, if neo can do the builds, I can just upload them to the place people are used to finding them. In the meantime....

http://stevenbinder.net/

...for the latest Mac OS X build. 1.5pre2 I believe it's called.
Steven Binder, Mac OS X 10.4.10

neo albireo
Posts: 68
Joined: 03.02.2005
With us: 19 years 9 months
Location: Switzerland

Post #32by neo albireo » 25.12.2006, 09:22

BlindedByTheLight wrote:Any ideas? I'm on an intel machine. Could that have anything to do with it?

UPDATE: So I just noticed that I haven't installed Xcode yet. I have an extremely noob suspicion that I need to have Xcode installed to get the CVS command-line thingy to work. Downloading now...but it's almost a gig so it's going to take a while. If someone doesn't respond to this post shortly, I'll guess I'll find out if that was the problem.

Oh -- and Happy Holidays!


Probably has nothing to do with Intel, I'm on Intel too. So I guess it's Xcode. You don't need to download it, it's on one of the two Discs that you got together with your Mac.

[edit] oops, just saw your latest post now. Congratulatons![/edit]

Happy Holidays, too!

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #33by ElChristou » 25.12.2006, 10:51

BlindedByTheLight wrote:Got it to work. As for tweaking my website, that is a whole other story. I no longer have access to the tools I used to edit it...

...for the latest Mac OS X build. 1.5pre2 I believe it's called.


Cool to see you back!
Too bad for your old page. If you need some help, just call! :wink:
Image


Return to “Development”