Mac: Update the build instructions with the current URL for c-ares-1.7.4

svn path=/trunk/boinc/; revision=25159
This commit is contained in:
Charlie Fenton 2012-01-27 00:42:45 +00:00
parent de71062295
commit affb960712
1 changed files with 18 additions and 11 deletions

View File

@ -1,7 +1,7 @@
{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230 {\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 Courier;\f2\fswiss\fcharset0 ArialMT; {\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 Courier;\f2\fswiss\fcharset0 ArialMT;
\f3\fnil\fcharset0 LucidaGrande;} \f3\fnil\fcharset0 LucidaGrande;}
{\colortbl;\red255\green255\blue255;} {\colortbl;\red255\green255\blue255;\red186\green0\blue0;\red246\green246\blue246;}
{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid1\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid1}} {\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid1\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid1}}
{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}} {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}}
\margl1440\margr1440\vieww14740\viewh11840\viewkind0 \margl1440\margr1440\vieww14740\viewh11840\viewkind0
@ -56,11 +56,15 @@ You need to take certain steps to ensure that you use only APIs that are availab
\cf0 \ \cf0 \
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
\b \cf0 The above requirements apply not only to BOINC itself, but also to the WxWidgets, c-ares and cURL libraries, as well as all project applications \b \cf0 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
\b0 . \ \b0 . Note: only the JPEG library must be built for the x86_64 architecture, since it is used by the libboinc_graphics_api library.\
\ \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640
\cf0 Be sure to follow the directions in this document to ensure that these requirements are met.\ \cf0 Be sure to follow the directions in this document to ensure that these requirements are met.\
\
\pard\pardeftab720\sa260
\cf0 Starting with version 6.1.0, the BOINC Client supports only Mac OS X 10.3.9 and later; support for OS 10.3.0 through 10.3.8 has been discontinued. This allows us to build the BOINC Client and Manager using only GCC 4.0, which offers a number of advantages.\
Starting with version 6.10.58, the BOINC Client supports only Mac OS X 10.4.0 and later. This allows it to be built with XCode 3.2 under OS 10.6.x, which does not support the Mac OS 10.3.9 SDK.\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
\cf0 \ \cf0 \
\pard\pardeftab720\sa260\qc \pard\pardeftab720\sa260\qc
@ -69,7 +73,7 @@ You need to take certain steps to ensure that you use only APIs that are availab
\f2\fs32 \ \f2\fs32 \
\pard\pardeftab720\sa260 \pard\pardeftab720\sa260
\f0\b0\fs24 \cf0 Apple provides the tools necessary to cross-compile for all three BOINC Mac platform on any Mac running OS 10.6.x or OS 10.7.x.\ \f0\b0\fs24 \cf0 Apple provides the tools necessary to cross-compile for both BOINC Mac platforms on any Mac running OS 10.6.x or OS 10.7.x.\
You get these tools, including the GCC compilers and system library header files, by installing the Xcode Tools package. \ You get these tools, including the GCC compilers and system library header files, by installing the Xcode Tools package. \
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
@ -81,7 +85,7 @@ You get these tools, including the GCC compilers and system library header files
\cf0 If you have the OS 10.6 installation DVD for your system, you can install Xcode Tools 3.2 at the time you install the OS, or you can install it later by opening the file \cf0 If you have the OS 10.6 installation DVD for your system, you can install Xcode Tools 3.2 at the time you install the OS, or you can install it later by opening the file
\f1\fs26 Optional Installs/XCode Tools/XCodeTools.mpkg \f1\fs26 Optional Installs/XCode Tools/XCodeTools.mpkg
\f0\fs24 . \ \f0\fs24 . \
You can also download Xcode from Apple's web site: {\field{\*\fldinst{HYPERLINK "http://developer.apple.com"}}{\fldrslt http://developer.apple.com}}.\ You can download Xcode 3.2 or 4.2 from Apple's web site: {\field{\*\fldinst{HYPERLINK "http://developer.apple.com"}}{\fldrslt http://developer.apple.com}} (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: {\field{\*\fldinst{HYPERLINK "http://connect.apple.com/"}}{\fldrslt \cf2 http://connect.apple.com}}\cf2 .\cf0 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640
\cf0 Source files are now archived using Subversion. You can download svnX, a free GUI application for running Subversion from either\ \cf0 Source files are now archived using Subversion. You can download svnX, a free GUI application for running Subversion from either\
{\field{\*\fldinst{HYPERLINK "http://www.apple.com/downloads/macosx/development_tools/svnx.html"}}{\fldrslt http://www.apple.com/downloads/macosx/development_tools/svnx.html}}\ {\field{\*\fldinst{HYPERLINK "http://www.apple.com/downloads/macosx/development_tools/svnx.html"}}{\fldrslt http://www.apple.com/downloads/macosx/development_tools/svnx.html}}\
@ -115,7 +119,7 @@ Enter your administrator password when prompted to do so.\
\b0\fs24 \cf0 \ \b0\fs24 \cf0 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
\cf0 BOINC depends on three third-party libraries: wxMac-2.8.10, c-ares-1.7.4, and curl-7.21.7. You can obtain these from the following URLs:\ \cf0 BOINC depends on four third-party libraries: wxMac-2.8.10, c-ares-1.7.4, curl-7.21.7 and jpeg-6b. The source files for jpeg-6b are included with the BOINC sources. You can obtain the other three from the following URLs:\
\ \
wxMac-2.8.10 (needed only if you are building the BOINC Manager):\ wxMac-2.8.10 (needed only if you are building the BOINC Manager):\
{\field{\*\fldinst{HYPERLINK "http://www.wxwidgets.org"}}{\fldrslt {\field{\*\fldinst{HYPERLINK "http://www.wxwidgets.org"}}{\fldrslt
@ -205,7 +209,7 @@ source setupForBoinc.sh -clean
If you don't wish to force a full rebuild of everything, omit the -clean argument.\ If you don't wish to force a full rebuild of everything, omit the -clean argument.\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640
\cf0 \ \cf0 \
Note: this script builds c-ares and curl first and finally wxMac. If you haven't downloaded wxMac because you aren't building the BOINC Manager, the script will build c-ares and curl. \ Note: this script builds c-ares and curl first, followed by jpeg and finally wxMac. If you haven't downloaded wxMac because you aren't building the BOINC Manager, the script will build c-ares, curl and jpeg before quitting. \
\ \
[5] Build BOINC as follows:\ [5] Build BOINC as follows:\
\ \
@ -243,7 +247,7 @@ The options for BuildMacBOINC.sh are:\
\ \
-lib build the five libraries: libboinc_api.a, libboinc_graphics_api.a, libboinc.a, libboinc_opencl.a, jpeglib.a\ -lib build the five libraries: libboinc_api.a, libboinc_graphics_api.a, libboinc.a, libboinc_opencl.a, jpeglib.a\
\ \
-client build two targets: boinc client and command-line utility boinc_cmd\ -client build two targets: boinc client and command-line utility {\field{\*\fldinst{HYPERLINK "http://boinc.berkeley.edu/wiki/Boinccmd_tool"}}{\fldrslt boinc_cmd}}\
(also builds libboinc.a, since boinc_cmd requires it.)\ (also builds libboinc.a, since boinc_cmd requires it.)\
\ \
Both -lib and -client may be specified to build seven targets (no BOINC Manager or screensaver.)\ Both -lib and -client may be specified to build seven targets (no BOINC Manager or screensaver.)\
@ -265,7 +269,7 @@ The options for BuildMacBOINC.sh are:\
\ \
\b Note: \b Note:
\b0 To perform a release build under Xcode 4.2, select "Build for archiving" from Xcode's Product menu. Do \b0 To perform a release build under Xcode 4.2 when not using the BuildMacBOINC.sh script, select "Build for archiving" from Xcode's Product menu. Do
\b not \b not
\b0 select "Archive."\ \b0 select "Archive."\
\ \
@ -279,7 +283,7 @@ However, if you want to build BOINC so it will run on OS 10.4 and OS 10.5, you m
\'95 build with Xcode 3.2, or \ \'95 build with Xcode 3.2, or \
\'95 build with Xcode 4.x after copying the MacOSX10.5.sdk from an older version of Xcode to your \'95 build with Xcode 4.x after copying the MacOSX10.5.sdk from an older version of Xcode to your
\f1\fs26 /Developer/SDKs/ \f1\fs26 /Developer/SDKs/
\f0\fs24 folder . The BOINC Xcode project will automatically detect the presence of that SDK and use the two older libraries needed for backward compatibility.\ \f0\fs24 folder. The BOINC Xcode project will automatically detect the presence of that SDK and use the two older libraries needed for backward compatibility.\
\ \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc
@ -339,6 +343,9 @@ The
\i0 of the BOINC Manager allows you to change the ownership and permission settings of the BOINC Data and executables by entering an administrator user name and password. This also streamlines the development cycle by avoiding the need to run the installer for every change. (To generate the development build under Xcode 4.2, choose "Build" from the product menu, or enter command-B on the keyboard.)\ \i0 of the BOINC Manager allows you to change the ownership and permission settings of the BOINC Data and executables by entering an administrator user name and password. This also streamlines the development cycle by avoiding the need to run the installer for every change. (To generate the development build under Xcode 4.2, choose "Build" from the product menu, or enter command-B on the keyboard.)\
\ \
To restore the standard ownerships and permissions, run the installer.\ To restore the standard ownerships and permissions, run the installer.\
\
\pard\pardeftab720\sa260
\cf0 \cb3 \CocoaLigature1 For information on interpreting crash dumps and backtraces, see {\field{\*\fldinst{HYPERLINK "http://boinc.berkeley.edu/trac/wiki/MacBacktrace"}}{\fldrslt \cf2 Mac Backtrace}}.\cb1 \CocoaLigature0 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640
\f3 \cf0 \CocoaLigature1 \ \f3 \cf0 \CocoaLigature1 \