Alfresco on Mac
So I'm considering an Alfresco installation for a client to be hosted on an XServe Mac OS X Server. Alfresco seems like a viable open source replacement for Sharepoint. And I'd like to believe that, but I'm currently having troubles with the install on my local machine. So I'm going to log my attempt at solving this problem for future posterity.
As near as I can figure in about 10 minutes, Alfresco is a bunch of Java Server Pages (JSP's), bundled with a pre-configured Tomcat Server. Alfresco looks like a Mac OS executable, that really just launches a shell script that launches a web application server.
The app installed OK, in as much as it landed a bunch of stuff on my drive. But I get an error upon first launch:
The application convert quit unexpectedly
Library not loaded: /ImageMagick-6.4.6/lib/libMagickCore.1.dylib
Referenced from: /Users/johnny/Alfresco/ImageMagick/bin/convert
Reason: image not found
The error I get upon first launch, indicates that ImageMagick is not properly installed. It is. But clearly Alfresco doesn't think so. So somewhere in Alfresco is a config file that needs to point at the supplied version of ImageMagick (it's sitting in the Alfresco folder, right where the installer left it)...
-----------
So after futzing with it for awhile (1 hour) I discovered a solution through "web search forensics" (i.e., deducing a solution from piecemeal documentation and forum topics that sort of apply to my problem). If I add some ImageMagick items to my PATH, I can launch the app from a Terminal window. But the Mac OS Application bundle still has problems.
this is what I added to my .profile:
export MAGICK_HOME="${HOME}/Alfresco/ImageMagick"
PATH=${MAGICK_HOME}/bin:${PATH}
export PATH
export DYLD_LIBRARY_PATH="${MAGICK_HOME}/lib"
