Changes between Version 65 and Version 66 of MacBuild
- Timestamp:
- Oct 8, 2010, 4:03:38 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MacBuild
v65 v66 1 1 = Building BOINC Client and Manager on Macintosh OS X = 2 '''Last updated 10/ 7/10'''2 '''Last updated 10/8/10''' 3 3 4 4 This document applies to BOINC version 6.11.9 and later. It has instructions for building the BOINC Client and Manager for Macintosh OS X. For information on building science project applications to run under BOINC on Macintosh OSX, see BuildMacApp. … … 26 26 You need to take certain steps to ensure that you use only APIs that are available in all the OS versions BOINC supports for each architecture. The best way to accomplish this is to use a single development system running OS 10.6.x and cross-compile for the various platforms. The remainder of this document describes that process. 27 27 28 '''The above requirements apply not only BOINC itself, but also the !WxWidgets, JPEG, c-ares and cURL libraries, as well as all project applications.''' Only theJPEG library must be built for the x86_64 architecture, since it is used by the libboinc_graphics_api library.28 '''The above requirements apply not only to BOINC itself, but also to the !WxWidgets, JPEG, c-ares and cURL libraries, as well as all project applications.''' Note: only the JPEG library must be built for the x86_64 architecture, since it is used by the libboinc_graphics_api library. 29 29 30 30 Be sure to follow the directions in this document to ensure that these requirements are met. … … 39 39 Apple provides the tools necessary to cross-compile for all three BOINC Mac platform on any Mac running OS 10.6.x. 40 40 41 You get these tools, including the GCC compilers and system library header files, by installing the XCode Tools package. Building BOINC and the library packages on which it depends requires XCode 3.2 or later running under OS 10.6.x or later. If you have the OS 10.6 installation DVD for your system, you can install XCode Tools at the time you install the OS, or you can install it later by opening the file Optional Installs/XCode Tools/XCodeTools.mpkg.41 You get these tools, including the GCC compilers and system library header files, by installing the XCode Tools package. Building BOINC and the library packages on which it depends requires XCode 3.2 or later running under OS 10.6.x or later. If you have the OS 10.6 installation DVD for your system, you can install XCode Tools at the time you install the OS, or you can install it later by opening the file `Optional Installs/XCode Tools/XCodeTools.mpkg`. 42 42 43 43 Otherwise, you can download it from Apple's web site (it is large: 1.1 GB). You must be a member of the Apple Developer Connection to download the software, but you can join for free at: 44 44 http://connect.apple.com 45 45 46 '''Building BOINC now requires XCode Tools version 3.2 or later.''' Note that the MacOS10.4u SDK is not automatically included unless you customize the installation; click the '''Customize''' button in the ''Installation type'' step when you run the XCode Tools installe . The MacOS10.4u SDK is required to build wxWidgets (wxMac-2.8.10).46 '''Building BOINC now requires XCode Tools version 3.2 or later.''' Note that the MacOS10.4u SDK is not automatically included unless you customize the installation; click the '''Customize''' button in the ''Installation type'' step when you run the XCode Tools installer. The MacOS10.4u SDK is required to build wxWidgets (wxMac-2.8.10). 47 47 48 48 Source files are now archived using Subversion. You can download svnX, a free GUI application for running Subversion from either [http://www.apple.com/downloads/macosx/development_tools/svnx.html] or [http://www.lachoseinteractive.net/en/community/subversion/svnx/]. … … 57 57 == Building BOINC Manager with embedded Core Client == 58 58 59 BOINC depends on four third-party libraries: wxMac-2.8.10, c-ares-1.6.0, curl-7.19. 4, and jpeg-6b. You can obtain these from the following URLs:59 BOINC depends on four third-party libraries: wxMac-2.8.10, c-ares-1.6.0, curl-7.19.7, and jpeg-6b. You can obtain these from the following URLs: 60 60 61 61 wxMac-2.8.10 (needed only if you are building the BOINC Manager): … … 67 67 [http://downloads.sourceforge.net/wxwindows/wxMac-2.8.10.tar.bz2] 68 68 69 curl-7.19. 4:69 curl-7.19.7: 70 70 71 71 [http://curl.haxx.se] 72 72 73 [http://curl.haxx.se/download/curl-7.19. 4.tar.gz]73 [http://curl.haxx.se/download/curl-7.19.7.tar.gz] 74 74 75 75 c-ares-1.6.0 (used by curl): … … 90 90 MAC_OS_X_VERSION_MIN_REQUIRED=1030 91 91 }}} 92 These are not done by either the XCode projects which come with wxMac-2.8.10, nor the !AutoMake scripts supplied with wxMac-2.8.10, c-ares-1.6.0, curl-7.19. 4, or jpeg-6b. So be sure to use our special scripts to build these packages.92 These are not done by either the XCode projects which come with wxMac-2.8.10, nor the !AutoMake scripts supplied with wxMac-2.8.10, c-ares-1.6.0, curl-7.19.7, or jpeg-6b. So be sure to use our special scripts to build these packages. 93 93 94 94 1. Create a parent directory within which to work. In this description , we will call it BOINC_dev, but you can name it anything you wish. 95 2. Put the following 3directories inside the BOINC_dev folder (omit any you don't need):95 2. Put the following 4 directories inside the BOINC_dev folder (omit any you don't need): 96 96 {{{ 97 97 c-ares-1.6.0 98 curl-7.19. 498 curl-7.19.7 99 99 jpeg-6b 100 100 wxMac-2.8.10 101 101 }}} 102 Important: do not change the names of any of these 3directories.102 Important: do not change the names of any of these 4 directories. 103 103 3. Get the BOINC source tree from SVN, and put it in the same BOINC_dev folder. To do this, type the following in Terminal: 104 104 {{{ … … 160 160 == Building BOINC Manager Installer == 161 161 162 In order to execute BOINC Manager, you have to install it using BOINC Manager Installer. Otherwise, you will encounter an error prompting for improper installation.162 In order to execute BOINC Manager, you have to install it using BOINC Manager Installer. Otherwise, you will encounter an error prompting for proper installation. 163 163 164 164 To build the Installer for the BOINC Manager, you must be logged in as an administrator. If you are building BOINC version number x.y.z, type the following in Terminal, then enter your administrator password when prompted by the script: … … 169 169 }}} 170 170 171 Substitute the 3 parts of the BOINC version number for x y and z in the above. For example, to build the installer for BOINC version 5.5.4, the command would be171 Substitute the 3 parts of the BOINC version number for x y and z in the above. For example, to build the installer for BOINC version 6.11.9, the command would be 172 172 173 173 {{{ 174 source {path}/BOINC_dev/boinc/mac_installer/release_boinc.sh 5 5 4174 source {path}/BOINC_dev/boinc/mac_installer/release_boinc.sh 6 11 9 175 175 }}} 176 176 177 This will create a directory 'BOINC_Installer/New_Release_5_5_4' in the BOINC_dev directory. 178 179 The installer is located in 'BOINC_Installer/New_Release_x_y_z/boinc_x.y.z_macOSX_universal'. 177 This will create a directory 'BOINC_Installer/New_Release_6_11_9' in the BOINC_dev directory, and the installer will be located in `{path}/BOINC_dev/BOINC_Installer/New_Release_6_11_9/boinc_6.11.9_macOSX_universal`. 180 178 181 179 == Debugging and BOINC security ==