AccessGrid.org

AG Development Environment for Mac OSX (in Development)

The following guide provides step by step instructions for setting up a development environment on Mac OSX.

Prerequisites

Xcode

For building, developing and testing of the media tools for the Access Grid, Xcode is required to be installed. Xcode provides the compilers and tools required for “vic” and “rat” development.

One of the easiest method to install Xcode is to use the installer found on the Mac OSX installation media (either OSX 10.5 or 10.6). Simply load the installation media, select the “Optional Installs” and launch the “Xcode” installer.

Access Grid Media Tools (Vic and Rat)

 Developer information on the media tools can be found at http://mediatools.cs.ucl.ac.uk/nets/mmedia/wiki/SvnDev.

Downloading source code

RAT

svn co https://mediatools.cs.ucl.ac.uk/repos/mmedia/rat/trunk rat 

VIC

 svn co https://mediatools.cs.ucl.ac.uk/repos/mmedia/vic/branches/mpeg4 vic
 

Common library (required to build both vic and rat)

svn co https://mediatools.cs.ucl.ac.uk/repos/mmedia/common/trunk common  

Building packages

Common library

Change into common directory, then issue the configure and make commands.

cd /[base install directory]/common 
./configure 
make 

RAT

Note: The Common Library must be built before building RAT.  To build RAT, Simply change into rat directory, then issue the configure and make commands.

cd /[base install directory]/rat 
./configure 
make 

VIC

Note: The Common Library must be built before building VIC.  To build VIC, Simply change into rat directory, then issue the configure and make commands.

cd /[base install directory]/vic
./configure 
make

 

Access Grid Toolkit (AGTK)

 

Downloading source code

To check out the most recent code (the development trunk) using a command-line svn client, issue the following command:

	svn co https://svn.ci.uchicago.edu/svn/accessgrid/trunk AccessGrid 
 

Bootstrap the environment

The toolkit includes a script for setting up checkout-out code to actually run. This includes building required packages and generating SOAP interface code, among other things.

python tools/bootstrap.py

 

login or register to post comments