Using OS-X as a developement platform: Difference between revisions

From OPeNDAP Documentation
⧼opendap2-jumptonavigation⧽
(New page: There are a number of tricks tto get OS-X to work as an OPeNDAP development platform: 1) [http://subversion.tigris.org/ Subversion] - You will need to get a binary image of a recent [http...)
 
No edit summary
Line 1: Line 1:
There are a number of tricks tto get OS-X to work as an OPeNDAP development platform:
There are a number of tricks to get OS-X to work as an OPeNDAP development platform. Apple provides their own versions of some of these tools and they are not compatible with the production rules for OPeNDAP. You do not need to install thses in any particular order. Once you've got them installed '''make sure that they are on your path'''! Otherwise the exisiting Apple versions may be used and that would be a bad thing.


1) [http://subversion.tigris.org/ Subversion] - You will need to get a binary image of a recent [http://subversion.tigris.org/ Subversion] client. I had good luck with [http://downloads.open.collab.net/binaries.html This One]


2)
==GCC, The Gnu Compiler (Apple Developer Tools)==
The easy way to get the Gnu compiler is to install the developers bundle from the OS-X installation disks. This is appears as an "Xcode Tools" on (my) Tiger distribution disks. Open that folder and run the '''XcodeTools''' installer. The default install should be enough.  This will give you the GNU gcc 4.x compiler, which you must have.
 
Once you have that installed I suggest that you run the appliction ''/Developer/Applications/Utilities/CrashReporterPrefs'' and use it to set the system crash reporting level to "Developer". You'll thank me for this later.
 
 
==[http://subversion.tigris.org/ Subversion]==
Although OS-X comes with a bundled Subversion client I suggest that you get a recent one.
 
'''''Minimum''''': subversion 1.4.4
 
'''''Recommended''''': subversion 1.4.4
 
You will probably want to get a to get a binary of the Subversion client. I had good luck with [http://downloads.open.collab.net/binaries.html This One]
 
 
==[http://www.gnu.org/software/autoconf/ autoconf]==
Apple ships OS-X with an ''unusual'' version of autoconf. Got get the Gnu one, compile, test, and install it.
 
'''''Minimum''''': autoconf 2.57
 
'''''Recommended''''': autoconf 2.61
 
 
==[http://www.gnu.org/software/automake/ automake]==
Apple ships OS-X with an ''unusual'' version of automake. Got get the Gnu one, compile, test, and install it.
 
'''''Minimum''''': automake 1.9.6
 
'''''Recommended''''': automake 1.9.6
 
 
==[http://www.gnu.org/software/libtool libtool]==
Apple ships OS-X with an ''unusual'' version of libtool. Got get the Gnu one, compile, test, and install it.
 
'''''Minimum''''': libtool 1.5.18
 
'''''Recommended''''': libtool 1.5.22
 
 
==[http://www.gnu.org/software/dejagnu/ DejaGnu]==
If you intend to actually test your changes to the software you will need to install the GNU DejaGnu package to run the bundled tests.
 
'''''Minimum''''': dejagnu 1.4.4
 
'''''Recommended''''': dejagnu 1.4.4

Revision as of 03:21, 27 June 2007

There are a number of tricks to get OS-X to work as an OPeNDAP development platform. Apple provides their own versions of some of these tools and they are not compatible with the production rules for OPeNDAP. You do not need to install thses in any particular order. Once you've got them installed make sure that they are on your path! Otherwise the exisiting Apple versions may be used and that would be a bad thing.


GCC, The Gnu Compiler (Apple Developer Tools)

The easy way to get the Gnu compiler is to install the developers bundle from the OS-X installation disks. This is appears as an "Xcode Tools" on (my) Tiger distribution disks. Open that folder and run the XcodeTools installer. The default install should be enough. This will give you the GNU gcc 4.x compiler, which you must have.

Once you have that installed I suggest that you run the appliction /Developer/Applications/Utilities/CrashReporterPrefs and use it to set the system crash reporting level to "Developer". You'll thank me for this later.


Subversion

Although OS-X comes with a bundled Subversion client I suggest that you get a recent one.

Minimum: subversion 1.4.4

Recommended: subversion 1.4.4

You will probably want to get a to get a binary of the Subversion client. I had good luck with This One


autoconf

Apple ships OS-X with an unusual version of autoconf. Got get the Gnu one, compile, test, and install it.

Minimum: autoconf 2.57

Recommended: autoconf 2.61


automake

Apple ships OS-X with an unusual version of automake. Got get the Gnu one, compile, test, and install it.

Minimum: automake 1.9.6

Recommended: automake 1.9.6


libtool

Apple ships OS-X with an unusual version of libtool. Got get the Gnu one, compile, test, and install it.

Minimum: libtool 1.5.18

Recommended: libtool 1.5.22


DejaGnu

If you intend to actually test your changes to the software you will need to install the GNU DejaGnu package to run the bundled tests.

Minimum: dejagnu 1.4.4

Recommended: dejagnu 1.4.4