Difference between revisions of "Using voms-proxy-init on an OSX (10.4 or higher) system"
Line 16: | Line 16: | ||
== The interesting snippets from my .bashrc: == | == The interesting snippets from my .bashrc: == | ||
− | export LD_LIBRARY_PATH="/opt/local/lib:/opt/glite/lib:/opt/globus/lib" | + | export LD_LIBRARY_PATH="/opt/local/lib:/opt/glite/lib:/opt/globus/lib" |
− | export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH | + | export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH |
− | export DYLD_FALLBACK_LIBRARY_PATH=$LD_LIBRARY_PATH | + | export DYLD_FALLBACK_LIBRARY_PATH=$LD_LIBRARY_PATH |
− | PATH=$PATH:/opt/globus/bin | + | PATH=$PATH:/opt/globus/bin |
− | PATH=$PATH:/opt/glite/bin | + | PATH=$PATH:/opt/glite/bin |
− | export PATH | + | export PATH |
− | export VOMS_USERCONF=/Users/okoeroo/.glite/vomses | + | export VOMS_USERCONF=/Users/okoeroo/.glite/vomses |
− | export VOMS_LOCATION=/Users/okoeroo/.glite/vomses | + | export VOMS_LOCATION=/Users/okoeroo/.glite/vomses |
Revision as of 12:00, 30 September 2009
This is a quick and dirty HOWTO to get voms-proxy-init and voms-proxy-info working on your Mac. This has been tested on OSX Tiger (10.4) and Snow Leopard (10.6).
Download the following http://vdt.cs.wisc.edu/software//voms/1.8.8-2p1/voms-client-1.8.8-2p1-x86_macos_10.4.tar.gz http://vdt.cs.wisc.edu/software//voms/1.8.8-2p1/voms-essentials-1.8.8-2p1-x86_macos_10.4.tar.gz http://vdt.cs.wisc.edu/software//globus/4.0.8_VDT-1.10.1/vdt_globus_essentials-VDT1.10.1-x86_macos_10.4.tar.gz
Install these packages in the regular /opt/globus and /opt/glite directories. Check with tar tzf <file> to be sure. Usually they are easily unpackable from the root directory.
You will need to install expat. This is something you can get through the Mac Ports project: http://www.macports.org/
The Mac Ports will install usually in /opt/local.
To get the VOMS tools working you will need to add Globus, gLite and Mac Ports libraries to the active library path.
The interesting snippets from my .bashrc:
export LD_LIBRARY_PATH="/opt/local/lib:/opt/glite/lib:/opt/globus/lib" export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH export DYLD_FALLBACK_LIBRARY_PATH=$LD_LIBRARY_PATH
PATH=$PATH:/opt/globus/bin PATH=$PATH:/opt/glite/bin export PATH
export VOMS_USERCONF=/Users/okoeroo/.glite/vomses export VOMS_LOCATION=/Users/okoeroo/.glite/vomses
Gebruik een $HOME/.edg/vomses
En gebruik DYLD_LIBRARY_PATH naar /opt/glite/lib en /opt/globus/lib. Je hebt ook expat nodig, dat is te vinden via ports (bij mij /opt/local/lib).