Talk:Compilation on Mac OS X

From Stellarium Wiki
Revision as of 16:58, 23 October 2007 by Tbender (Talk | contribs)
Jump to: navigation, search


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


instead of


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.

As you can see on the bottom of the page, I have the same Problem. Here is the makefile hal:/Users/Shared/stellarium/builds/macosx tbender$ cat CMakeFiles/macosx_bundle.dir/build.make # CMAKE generated file: DO NOT EDIT! # Generated by "Unix Makefiles" Generator, CMake Version 2.4 #============================================================================= # Special targets provided by cmake. # Disable implicit rules so canoncical targets will work. .SUFFIXES: .SUFFIXES: .hpux_make_needs_suffix_list # Suppress display of executed commands. $(VERBOSE).SILENT: # A target that is always out of date. cmake_force: #============================================================================= # Set environment variables for the build. # The shell in which to execute make rules. SHELL = /bin/sh # The CMake executable. CMAKE_COMMAND = /opt/local/bin/cmake # The command to remove a file. RM = /opt/local/bin/cmake -E remove -f # The program to use to edit the cache. CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake # The top-level source directory on which CMake was run. CMAKE_SOURCE_DIR = /Users/Shared/stellarium # The top-level build directory on which CMake was run. CMAKE_BINARY_DIR = /Users/Shared/stellarium/builds/macosx # Utility rule file for macosx_bundle. CMakeFiles/macosx_bundle: ../../install $(CMAKE_COMMAND) -E cmake_progress_report /Users/Shared/stellarium/builds/macosx/CMakeFiles $(CMAKE_PROGRESS_1) @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold "making the macosx bundle." cd /Users/Shared/stellarium && mv /Users/Shared/stellarium/ /Users/Shared/stellarium/ cd /Users/Shared/stellarium && mv /Users/Shared/stellarium/ /Users/Shared/stellarium/ cd /Users/Shared/stellarium && mv /Users/Shared/stellarium/* /Users/Shared/stellarium/ cd /Users/Shared/stellarium && rmdir /Users/Shared/stellarium/ cd /Users/Shared/stellarium && mkdir /Users/Shared/stellarium/ macosx_bundle: CMakeFiles/macosx_bundle.dir/build.make # Rule to build all files generated by this target. CMakeFiles/macosx_bundle.dir/build: macosx_bundle CMakeFiles/macosx_bundle.dir/build: CMakeFiles/macosx_bundle CMakeFiles/macosx_bundle.dir/clean: $(CMAKE_COMMAND) -P CMakeFiles/macosx_bundle.dir/cmake_clean.cmake </nowik> Can you help me? --[[User:Mina|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 ! --[[User:Mina|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? --[[User:Nigelkerr|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 ;-) --[[User:Mina|Mina]] 00:39, 11 July 2007 (PDT) Mina, do please by all means add as you see fit, i'm glad your interested! cheers! --[[User:Nigelkerr|Nigelkerr]] 13:18, 21 July 2007 (PDT) I'll do so. Thanks again ;-) --[[User:Mina|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. --[[User:Tbender|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, --[[User:Nigelkerr|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

Personal tools
in this wiki
other languages