====== Source Installation for Mac ====== ==== requirements ==== Java 1.4 or greater (tick) Set the environment variable JAVA_HOME sp:~/greenstone3 spdegabrielle$ sudo emacs /etc/profile My current /etc/profile #For Tomcat export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home export CATALINA_HOME=/usr/local/tomcat export JAVA_OPTS="-Xmx512M -Xms64M -Dfile.encoding=UTF-8" Ant 1.6.2 or later * install XCode tools from the apple developer site ant -version Apache Ant version 1.6.5 compiled on September 12 2006 GDBM... http://www.gnu.org/software/gdbm/gdbm.html follow the instructions at http://greenstone.sourceforge.net/wiki/index.php/Compiling_Greenstone#Darwin.2FMac_OS_X you will also need to add the path to the ''gdbm.installed.path'' property (in ''build.properties'') === Install Procedure === svn co http://svn.greenstone.org/greenstone3/trunk greenstone3 {wait for it...} cd greenstone3/ ant prepare {read then agree to default build settings **y**} hopefully: BUILD SUCCESSFUL Total time: 6 minutes 6 seconds see if this works... ant install ==== ImageMagick on X ==== The quickest way to get ImageMagick running on OS X for Greenstone. - [[http://www.entropy.ch/software/macosx/#imagemagick|Download ImageMagick]] - open .dmg - install package - open term - type sudo bash - edit /etc/profile to include /usr/local/bin in the path (you will have to use and editor in term - try vi or emacs) so it looks something like this PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin" - save and exit - Restart the GLI in a new term window. No more 'imagemagick not installed' complaints! Happy image collection building. Stephen PS your ///etc/profile// should have these two lines: PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin" export PATH