Using OS-X as a developement platform

From OPeNDAP Documentation
Revision as of 03:28, 27 June 2007 by Ndp (talk | contribs)
⧼opendap2-jumptonavigation⧽

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.


libdap core development

These are the things you need to compile/modify the core OPeNDAP software known as 'libdap'.


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


HDF4