Home ·
Classes ·
Annotated Classes ·
Modules ·
Members ·
Namespaces ·
Related Pages
- Warning:
- Installation of OpenMS on MacOS X is experimental and has been tested with MacOS 10.4 only.
- Note:
- If you want to try using a different MacOS X version, use the right Xcode tools (should be version 1.X for 10.3) and things might work out fine. This document might still give you valuable hints.
-
get and install a recent Xcode (>= 2.4.1) from http://connect.apple.com
-
get and install Qt4, e.g. the original .dmg from http://www.trolltech.com be sure your Qt has MySQL support and uses a socket that you actually have. I had to create a symbolic link to get database access working: ln -s /opt/local/var/run/mysql5/mysqld.sock /tmp/mysql.sock
-
get and install a recent MySQL, 4 or 5, e.g. with MacPorts from http://www.macports.org/: port install mysql5
-
download OpenMS source and unpack This directory is from now on referenced as $OPENMSDIR in this document.
-
export OPENMSDIR="please-insert-your-OpenMS-directory-here" (just to make this manual easier to follow)
-
download OpenMS contrib source and unpack to $OPENMSDIR/contrib
-
export MACOSX_DEPLOYMENT_TARGET=10.4
-
cd $OPENMSDIR/contrib
-
autoconf
-
./configure
-
make
-
export DYLD_LIBRARY_PATH=$OPENMSDIR/contrib/lib
-
cd $OPENMSDIR/source
-
autoconf
-
./configure might complain about "rpc/xdr.h: present but cannot be compiled". That's not an error, but to get rid of it anyway, add the line #include <rpc/types.h> to /usr/include/rpc/xdr.h (line 66).
-
make QT bug: if "make" complains about "'QtValidLicenseForCoreModule' does not name a type", then edit /Library/Frameworks/QtCore.framework/Headers/qconfig.h and replace QT_EDITION_UNKNOWN by QT_EDITION_DESKTOP (or fix the real bug and contact me :)
-
make install
-
export DYLD_FALLBACK_LIBRARY_PATH=$OPENMSDIR/lib/Darwin-8.8.0-g++_4.0.1 The exact number depends on your MacOS X version - might be 8.9.0 on MacOS 10.4.9. Better go and check.
-
make TOPP
-
optionally: defaults write ~/.MacOSX/environment DYLD_FALLBACK_LIBRARY_PATH $OPENMSDIR/lib/Darwin-8.8.0-g++_4.0.1 (same comment as three lines above - better double-check your own path)
cd $OPENMSDIR/bin mkdir -p TOPPView.app/Contents/MacOS mkdir TOPPView.app/Contents/Resources touch TOPPView.app/Contents/PgkInfo cp TOPPView TOPPView.app/Contents/MacOS
edit TOPPView.app/Contents/Info.plist
and insert the following:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>Englisch</string> <key>CFBundleDisplayName</key> <string>ToppView</string> <key>CFBundleExecutable</key> <string>TOPPView</string> <key>CFBundleIdentifier</key> <string>de.openms.TOPPView</string> <key>CFBundleVersion</key> <string>0.9</string> </dict> </plist>
This did not work reliably - sometimes the application does not start and the bouncing symbol disappears again immediately. If you can find the bug, please contact us.
Further information on Info.plist can be found here.
Generated Tue Apr 1 15:36:40 2008 -- using doxygen 1.5.4 |
OpenMS / TOPP 1.1 |