Changes between Version 72 and Version 73 of MacBuild
- Timestamp:
- Dec 12, 2012, 1:58:05 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MacBuild
v72 v73 1 1 = Building BOINC Client and Manager on Macintosh OS X = 2 '''Last updated 8/3/12'''3 4 This document applies to BOINC version 7.0. 34and 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.2 '''Last updated 12/12/12''' 3 4 This document applies to BOINC version 7.0.42 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. 5 5 6 6 '''Note''': the information in this document changes from time to time for different versions of BOINC. For any version of BOINC source files, the corresponding version of this document can be found in the source tree at: … … 25 25 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.7.x or OS 10.8.x and cross-compile for the various platforms. The remainder of this document describes that process. 26 26 27 '''The above requirements apply not only to BOINC itself, but also to the !WxWidgets, c-ares, cURL and openSSLlibraries, as well as all project applications.'''27 '''The above requirements apply not only to BOINC itself, but also to the !WxWidgets, c-ares, cURL, openSSL, freetype, ftgl and SQLite3 libraries, as well as all project applications.''' 28 28 29 29 Be sure to follow the directions in this document to ensure that these requirements are met. … … 53 53 == Building BOINC Manager with embedded BOINC Client == 54 54 55 BOINC depends on six third-party libraries: wxMac-2.8.10, c-ares-1.9.1, curl-7.26.0, openssl-1.0.1c, freetype-2.4.10 and ftgl-2.1.3~rc5. You can obtain the source files from the following URLs:55 BOINC depends on six third-party libraries: wxMac-2.8.10, c-ares-1.9.1, curl-7.26.0, openssl-1.0.1c, freetype-2.4.10, ftgl-2.1.3~rc5 and sqlite3.7.14.1. You can obtain the source files from the following URLs: 56 56 57 57 wxMac-2.8.10 (needed only if you are building the BOINC Manager): … … 62 62 63 63 [http://downloads.sourceforge.net/wxwindows/wxMac-2.8.10.tar.bz2] 64 65 sqlite3.7.14.1 (needed only if you are building the BOINC Manager): 66 67 [http://www.sqlite.org/] 68 69 [http://www.sqlite.org/sqlite-autoconf-3071401.tar.gz] 64 70 65 71 curl-7.26.0: … … 100 106 MAC_OS_X_VERSION_MIN_REQUIRED=1040 101 107 }}} 102 These are not done automatically 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.9.1, curl-7.26.0, openssl-1.0.1c, freetype-2.4.10 and ftgl-2.1.3~rc5. So be sure to use our special scripts to build these packages.108 These are not done automatically 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.9.1, curl-7.26.0, openssl-1.0.1c, freetype-2.4.10, ftgl-2.1.3~rc5 and sqlite3.7.14.1. So be sure to use our special scripts to build these packages. 103 109 104 110 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. … … 112 118 freetype-2.4.10 113 119 ftgl-2.1.3~rc5 120 sqlite3.7.14.1 114 121 }}} 115 122 Important: do not change the names of any of these 6 directories. … … 126 133 The command above retrieves the source code from the HEAD (TRUNK) or development branch of the SVN repository. See more information on [SourceCode getting the BOINC source code]. 127 134 128 4. Run the script to build the c-ares, curl, openssl, wxMac, freetype and ftgllibraries as follows:135 4. Run the script to build the c-ares, curl, openssl, wxMac, freetype, ftgl and sqlite3 libraries as follows: 129 136 {{{ 130 137 cd {path}/BOINC_dev/boinc/mac_build/ … … 135 142 '''Note 1:''' Be sure to run the script using the source command. Do not double-click on the scripts or use the sh command to run them. 136 143 137 '''Note 2:''' this script tries to build all six third-party libraries: wxMac-2.8.10, c-ares-1.9.1, curl-7.26.0, openssl-1.0.1c, freetype-2.4.10 and ftgl-2.1.3~rc5. when the script finishes, it will display a warning about any libraries was unable to build (for example, if you have not downloaded them.)144 '''Note 2:''' this script tries to build all six third-party libraries: wxMac-2.8.10, c-ares-1.9.1, curl-7.26.0, openssl-1.0.1c, freetype-2.4.10, ftgl-2.1.3~rc5 and sqlite3.7.14.1. when the script finishes, it will display a warning about any libraries was unable to build (for example, if you have not downloaded them.) 138 145 139 146 5. Build BOINC as follows: