Difference between revisions of "How To Build Micro Manager From Source On Ubuntu 13.10"
Line 1: | Line 1: | ||
− | {{Note|This page has | + | {{Note|This page has been updated to reflect the build system changes of r13120, but the updated script has not been tested. Ask on the mailing list if you run into issues.}} |
Here is a small script I use to build MM on Linux to be able to test new features and develop plugins with DemoAdaptaters. I can provide help to adapt build system to your Linux. Contact me on the MM mailing list: https://micro-manager.org/wiki/Micro-Manager_Community. | Here is a small script I use to build MM on Linux to be able to test new features and develop plugins with DemoAdaptaters. I can provide help to adapt build system to your Linux. Contact me on the MM mailing list: https://micro-manager.org/wiki/Micro-Manager_Community. | ||
Line 6: | Line 6: | ||
# Instal dependencies | # Instal dependencies | ||
− | Here you have debian packages you can install with sudo apt-get install | + | # Here you have debian packages you can install with sudo apt-get install |
− | Find equivalent packages for others distributions: | + | # Find equivalent packages for others distributions: |
− | subversion build-essential automake libtool \ | + | # |
− | libboost1.54-all-dev zlib1g-dev swig \ | + | # subversion build-essential autoconf automake libtool \ |
− | openjdk-7-jdk python- | + | # libboost1.54-all-dev zlib1g-dev swig \ |
+ | # openjdk-7-jdk python-dev python-numpy-dev | ||
mkdir mm/ | mkdir mm/ | ||
Line 19: | Line 20: | ||
# Get ImageJ (use it even if you already have another copy of ImageJ or Fiji) | # Get ImageJ (use it even if you already have another copy of ImageJ or Fiji) | ||
− | wget http:// | + | wget http://imagej.nih.gov/ij/download/zips/ij148.zip |
− | unzip | + | unzip ij148.zip |
# Retrieve MM source code (can be long) | # Retrieve MM source code (can be long) | ||
Line 29: | Line 30: | ||
cd micro-manager/ | cd micro-manager/ | ||
− | + | ./autogen.sh | |
− | ./ | + | |
− | ./configure --prefix=$MM_DIR/ImageJ -- | + | ./configure --prefix=$MM_DIR/ImageJ --enable-imagej-plugin=$MM_DIR/ImageJ --with-python |
# Build binaries (can take a while) | # Build binaries (can take a while) | ||
make | make | ||
− | # Install MM | + | # Install MM as ImageJ plugin |
− | make install | + | make install-ijplugin |
− | # | + | # Run MM |
− | + | # $MM_DIR/mmimagej | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | # | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</pre>}} | </pre>}} |
Revision as of 17:02, 22 April 2014
Note
This page has been updated to reflect the build system changes of r13120, but the updated script has not been tested. Ask on the mailing list if you run into issues.
Here is a small script I use to build MM on Linux to be able to test new features and develop plugins with DemoAdaptaters. I can provide help to adapt build system to your Linux. Contact me on the MM mailing list: https://micro-manager.org/wiki/Micro-Manager_Community.
Command Line
# Instal dependencies # Here you have debian packages you can install with sudo apt-get install # Find equivalent packages for others distributions: # # subversion build-essential autoconf automake libtool \ # libboost1.54-all-dev zlib1g-dev swig \ # openjdk-7-jdk python-dev python-numpy-dev mkdir mm/ cd mm/ # Save directory path MM_DIR=$(pwd) # Get ImageJ (use it even if you already have another copy of ImageJ or Fiji) wget http://imagej.nih.gov/ij/download/zips/ij148.zip unzip ij148.zip # Retrieve MM source code (can be long) svn co https://valelab.ucsf.edu/svn/micromanager2/trunk micro-manager svn co https://valelab.ucsf.edu/svn/3rdpartypublic # Build MM cd micro-manager/ ./autogen.sh ./configure --prefix=$MM_DIR/ImageJ --enable-imagej-plugin=$MM_DIR/ImageJ --with-python # Build binaries (can take a while) make # Install MM as ImageJ plugin make install-ijplugin # Run MM # $MM_DIR/mmimagej