Talk:Compilation on Mac OS X

From Stellarium Wiki
Revision as of 10:50, 24 October 2007 by Tbender (Talk | contribs)
Jump to: navigation, search

Nigel,

I managed to "make" and "make install" without errors by using

 FreeType2_INCLUDE_DIR:PATH=/usr/X11R6/include/freetype2

instead of

 FreeType2_INCLUDE_DIR:PATH=/usr/X11R6/include

Should I change this in the doc?

I could not get the "make macosx_bundle" work. I get the following message :

 make: *** No rule to make target `macosx_bundle'.  Stop.

Can you help me?

--Mina 13:42, 3 July 2007 (PDT)

I was using an older snapshot (svn 2287) so didn't have the make rules for macosx_bundle. Found them now in recent version.

Thanks for these good compilation instructions !

--Mina 23:21, 4 July 2007 (PDT)

Hello Mina, I am sorry that i was not paying attention, but you seem to have got the right most recent version, and are on your way. I take it you've successfully compiled Stellarium, then? How's it working out? --Nigelkerr 18:36, 10 July 2007 (PDT)

Hi Nigel,

Yes I did it successfully, and it works very correctly. The last rev I built is 2340. As you mentioned it in the TO DO, I had to comment out the MAP_NONBLOCK and MAP_POPULATE code and add manually the icon. Any progress here?

May I change in the doc the point about Freetype2? (see above).

Thanks again for keeping a Mac OS X version in sync with the windows one ;-)

--Mina 00:39, 11 July 2007 (PDT)

Mina, do please by all means add as you see fit, i'm glad your interested! cheers!

--Nigelkerr 13:18, 21 July 2007 (PDT)

I'll do so. Thanks again ;-)

--Mina 02:49, 23 July 2007 (PDT)

Hi.

I tried to build the svn version (0.9+) of stellarium and failed with the follwing make goal: /Users/Shared/stellarium/builds/macosx $ make macosx_bundle make[3]: *** No rule to make target `../../install', needed by `CMakeFiles/macosx_bundle'. Stop. make[2]: *** [CMakeFiles/macosx_bundle.dir/all] Error 2 make[1]: *** [CMakeFiles/macosx_bundle.dir/rule] Error 2 make: *** [macosx_bundle] Error 2 Have I done anything wrong? Thanks in advance. --Tobias 11:37, 18 10 2007

Hallo Tobias,

the message you're seeing puzzles me a bit; i just downloaded fresh svn and started over from scratch here to see if i could duplicate that error, and i'm not getting it. here are things i'd try:

re-try make install, then follow that with a make macosx_bundle

failing that, try deleting your builds/macosx and start over from making that directory

that's all i have for you at the moment. anything special or odd about your configuration?

cheers, --Nigelkerr 08:27, 21 October 2007 (PDT)

Hi Nigel, I am using macports and have cmake version 2.4-patch 7 installed. Is there a difference to your version?

Tobias

Hi Tobias,

Please don't disturb the flow of the discussion in the Talk pages, so that anyone can still follow the discussions. Thanks in advance.

Did you try the very procedure that Nigel put on the Compilation on Macosx page, using Fink, etc. ? It could be interesting to see if that works on your machine, so that we could help you more efficiently.

--Mina 12:27, 23 October 2007 (PDT)

Hi. Sorry for confusing the discussion with my edit. I have installed all dependencies (qt4, cmake, boost, ...) via macports.

   cd /Users/Shared/
   svn co https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/stellarium stellarium
   [...Revision 2567.]
   cd stellarium 
   mkdir -p builds/macosx
   cd builds/macosx
   cmake -G "Unix Makefiles"  ../..
   make && make install [... works fine]
   make macosx_bundle
   make[3]: *** No rule to make target `../../install', needed by `CMakeFiles/macosx_bundle'.  Stop.
   make[2]: *** [CMakeFiles/macosx_bundle.dir/all] Error 2
   make[1]: *** [CMakeFiles/macosx_bundle.dir/rule] Error 2
   make: *** [macosx_bundle] Error 2

Can anybody who has made a successful macosx_bundle post his CMakeFiles/macosx_bundle.dir/build.make file? Thanks in advance, Tobias

Personal tools
Namespaces
Variants
Actions
in this wiki
other languages
Toolbox