Page 1 of 1
Problem building from svn on osX
Posted: 07.08.2010, 12:34
by ElChristou
Hi there! I'm back for a quick question to resolve a problem I meet trying to build from source... (first try since my departure! I need a fresh build to test out a model...)
My actual config is Xcode 3.2.3 (64bit) under 10.6.4.
First of all, when updating via Terminal, I end with revision 5043 then get an additionnal info:
Code: Select all
Summary of conflicts:
Skipped paths: 1
No idea of what is this and if it's normal. Anyway, in Xcode, I asked for an Universal_Release for i386 architecture. Build fail with 251 warnings and 40 errors, the same:
Code: Select all
Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
Chris or any osX guru, any hint on what's going on?
(For info, I went in the project info panel to verify the compiler version but it is already set to gcc 4.2)
Re: Problem building from svn on osX
Posted: 07.08.2010, 16:49
by chris
I'll take a look at the Mac OS X project file in SVN. I've only built the Qt4 version on Mac lately, so the Xcode project may have gotten out of date.
--Chris
Re: Problem building from svn on osX
Posted: 11.08.2010, 17:22
by ElChristou
Meanwhile, despite the source and Xcode, I think I remember we do need another download (Qt source?) to build a Qt version, is this still right?
Re: Problem building from svn on osX
Posted: 11.08.2010, 18:10
by chris
ElChristou wrote:Meanwhile, despite the source and Xcode, I think I remember we do need another download (Qt source?) to build a Qt version, is this still right?
Sorry that I haven't had a chance to work on the Xcode project yet. To build the Qt version, you need the Qt SDK for Mac:
http://qt.nokia.com/downloadsIt's big (584 megs!) because of the support for multiple architectures. Download and install it, start Qt Creator, and load celestia.pro. Then build and run.
--Chris
Re: Problem building from svn on osX
Posted: 12.08.2010, 18:34
by ElChristou
Chris, in the Qt SDK installer we can do a custom install; are the debug libraries (1,1 Go) necessary for such a basic use as building Celestia? What about the headers, examples and documentation? May I skip them too? (If I can avoid any unnecessary install, better...)
Re: Problem building from svn on osX
Posted: 16.08.2010, 21:16
by ElChristou
chris wrote:...Download and install it, start Qt Creator, and load celestia.pro. Then build and run.
Too bad it wasn't that straight on my config! The compile output gives me:
Code: Select all
Could not find make command: make in the build environment
Error while building project celestia (target: Desktop)
When executing build step 'Make'
That sounds serious no? ^^
Re: Problem building from svn on osX
Posted: 18.08.2010, 08:42
by ElChristou
As the Qt compile process seems not that easy I'll wait for an efficient tutorial or something for the noobs!
Meanwhile, what about the osX version? Is there something I can do on my side to dig out what is wrong??
Re: Problem building from svn on osX
Posted: 19.08.2010, 15:59
by chris
ElChristou wrote:chris wrote:...Download and install it, start Qt Creator, and load celestia.pro. Then build and run.
Too bad it wasn't that straight on my config! The compile output gives me:
Code: Select all
Could not find make command: make in the build environment
Error while building project celestia (target: Desktop)
When executing build step 'Make'
That sounds serious no? ^^
This sounds like you may not have the developer tool set from Apple installed. The program 'make' should be included with that. I thought that 'make' and related tools got installed along with Xcode, but it's possible that they are in a separate package. I can't remember exactly which boxes I checked when installing Snow Leopard. You might want to check your OS install disks and see if there are some packages missing.
I'll work on the Xcode build some more today.
--Chris
Re: Problem building from svn on osX
Posted: 19.08.2010, 21:31
by ElChristou
chris wrote:This sounds like you may not have the developer tool set from Apple installed. The program 'make' should be included with that. I thought that 'make' and related tools got installed along with Xcode, but it's possible that they are in a separate package. I can't remember exactly which boxes I checked when installing Snow Leopard. You might want to check your OS install disks and see if there are some packages missing.
To be sure: is the make command used by the osX building process? Or is this command something specific to the Qt environment? I ask because if the first case is true, the tools are present (Xcode DO build the osX version - with errors) and then it sounds like a path problem with Qt...
Re: Problem building from svn on osX
Posted: 26.08.2010, 11:31
by ElChristou
bump
Re: Problem building from svn on osX
Posted: 27.08.2010, 17:28
by chris
ElChristou wrote:chris wrote:This sounds like you may not have the developer tool set from Apple installed. The program 'make' should be included with that. I thought that 'make' and related tools got installed along with Xcode, but it's possible that they are in a separate package. I can't remember exactly which boxes I checked when installing Snow Leopard. You might want to check your OS install disks and see if there are some packages missing.
To be sure: is the make command used by the osX building process? Or is this command something specific to the Qt environment? I ask because if the first case is true, the tools are present (Xcode DO build the osX version - with errors) and then it sounds like a path problem with Qt...
When you install Xcode from the Snow Leopard DVD, you need to check the box 'Unix Dev Support'. Otherwise, the command line build tools needed by Qt4 (and lots of other software for developers) doesn't get installed. I think that these tools used to get installed automatically with Xcode, but they're a separate package on Snow Leopard. You can go back to the Xcode installer and add the Unix Dev Support tools if you didn't do it the first time.
--Chris
Re: Problem building from svn on osX
Posted: 01.09.2010, 20:45
by MiR
Hi Christophe,
don't know much about these things. It's always good if someone is interested and willingly to learn new skills.
But if I take a look at my Celestia/extras directory... I see a lot of your excellent models there. So I cannot understand why... oh, stop... ah, yes,
I see... on closer examination I realize that you couldn't be a real modeller. Your exceptional worked out models got such a very realistic touch... I just see it now: Also like Chris; i think he is even more than a developper. Take a simple look at Celestia... and all the other guys here, too; you are an artist, not a modeller.
Do not read this: Unfortunately artists in every field of knowledge are often... a little complicated. (and I hope I'll be one of those complicated guys sometime, of course ). It seems to me that this might be the price to pay for their extraordinarity. So please stay tuned and many thanks for your wonderful work here for Celestia
Best Regards
Michael
Re: Problem building from svn on osX
Posted: 03.09.2010, 08:38
by ElChristou
MiR wrote:...Unfortunately artists in every field of knowledge are often... a little complicated.
You spotted it right!
Happy to see that someone still know about these models... I'm far from Celestia now and this compile issue makes me think it's better this way; I wanted to help someone with a fresh build and... too bad, impossible... That's so frustrating! So has you can see I'm still THAT anxious!
Anyway, Tx for the kind words!
--
Chris, haven't reinstall the Xcode unix package... will do that... soon!