[MINC-users] HOWTO: building and installing brain-view2 on Ubuntu 14.04.3

Gabriel A. Devenyi gdevenyi at gmail.com
Wed Aug 26 20:02:54 EDT 2015


And once more with feeling, it seems the mailing list mangled the line
lengths:

https://gist.github.com/gdevenyi/df0f1f6c589b2b8f9481

-- 
Gabriel A. Devenyi B.Eng. Ph.D.
Research Computing Associate
Computational Brain Anatomy Laboratory
Cerebral Imaging Center
Douglas Mental Health University Institute
McGill University
t: 514.761.6131x4781
e: gdevenyi at gmail.com

On Wed, Aug 26, 2015 at 7:34 PM, Gabriel A. Devenyi <gdevenyi at gmail.com>
wrote:

> And I made some mistakes cleaning up my script with copy/paste, sorry!
>
> #!/bin/bashset -e
> apt-get update
> apt-get install -y build-essential gdebi-core git libcoin80-dev qt4-qmake libqt4-dev libqt4-core libboost-dev autogen pkg-config libtool libpcre++-dev gdb automake
> cd ~
> wget http://packages.bic.mni.mcgill.ca/minc-toolkit/Debian/minc-toolkit-1.9.10-20150710-Ubuntu_14.04-x86_64.deb
>
> gdebi -n ~/minc-toolkit-1.9.10-20150710-Ubuntu_14.04-x86_64.deb
> source /opt/minc-itk4/minc-toolkit-config.sh
> #brain-view2 mess
> mkdir ~/brain-view-buildcd ~/brain-view-build
> #Install Quarter#Original source of Quarter is dead...
> wget https://distfiles.macports.org/Quarter/Quarter-1.0.0.tar.gz
>
> tar -xzf Quarter-1.0.0.tar.gzcd ~/brain-view-build/Quarter-1.0.0 && ./configure --prefix=/opt/minc-itk4 && make && make install
> #Install bicInventorcd ~/brain-view-build
> #Cloning my patched version of bicInventor until pull-request to MNI version is integrated
> git clone https://github.com/gdevenyi/bicInventor.git
> cd ~/brain-view-build/bicInventor && ./autogen.sh && ./configure --prefix=/opt/minc-itk4 --with-build-path=/opt/minc-itk4 --with-minc2 && make && make install
> #Install brain-view2cd ~/brain-view-build
>
> git clone https://github.com/sghanavati/brain-view2.gitcd ~/brain-view-build/brain-view2 && qmake MINCDIR=/opt/minc-itk4 HDF5DIR=/opt/minc-itk4 INVENTORDIR=/opt/minc-itk4 QUARTERDIR=/opt/minc-itk4   && make && cp brain-view2 /opt/minc-itk4/bin
>
>>
> --
> Gabriel A. Devenyi B.Eng. Ph.D.
> Research Computing Associate
> Computational Brain Anatomy Laboratory
> Cerebral Imaging Center
> Douglas Mental Health University Institute
> McGill University
> t: 514.761.6131x4781
> e: gdevenyi at gmail.com
>
> On Wed, Aug 26, 2015 at 7:10 PM, Gabriel A. Devenyi <gdevenyi at gmail.com>
> wrote:
>
>> Hi all,
>>
>> Since I’ve had many collaborators who’ve recently wanted to start using
>> brain-view2 and found that it’s nearly impossible to install, I have
>> documented a minimal set of steps to install brain-view2 on a *fresh*
>> install of Ubuntu 14.04.3. This script makes no attempts to check anything.
>> Hopefully you can adapt this to your own needs based on your system:
>>
>> This is designed to be run as root, so do sudo -i before running the
>> script
>>
>> #!/bin/bashset -e
>> apt-get update
>> apt-get install -y build-essential gdebi-core git libcoin80-dev qt4-qmake libqt4-dev libqt4-core libboost-dev autogen pkg-config libtool libpcre++-dev gdb
>> cd ~
>> wget http://packages.bic.mni.mcgill.ca/minc-toolkit/Debian/minc-toolkit-1.9.10-20150710-Ubuntu_14.04-x86_64.deb
>>
>> gdebi -n ~/minc-toolkit-1.9.10-20150710-Ubuntu_14.04-x86_64.deb
>> source /opt/minc-itk4/minc-toolkit-config.sh
>> #brain-view2 mess
>> mkdir ~/brain-view-buildcd ~/brain-view-build
>> #Install Quarter#Original source of Quarter is dead...
>> wget https://distfiles.macports.org/Quarter/Quarter-1.0.0.tar.gz
>>
>> tar -xzf Quarter-1.0.0.tar.gzcd ~/brain-view-build/Quarter-1.0.0 && ./configure && make && make install
>> #Install bicInventor#Cloning my patched version of bicInventor until pull-request to MNI version is integrated
>> git clone https://github.com/gdevenyi/bicInventor.git
>> cd ~/brain-view-build/bicInventor && ./autogen.sh && ./configure --prefix=/opt/minc-itk4 --with-build-path=/opt/minc-itk4 --with-minc2 && make && make install
>> #Install brain-view2
>> git clone https://github.com/sghanavati/brain-view2.gitcd ~/brain-view-build/brain-view2 && qmake MINCDIR=/opt/minc-itk4 HDF5DIR=/opt/minc-itk4 && make && cp brain-view2 /opt/minc-itk4/bin
>>
>>>> --
>> Gabriel A. Devenyi B.Eng. Ph.D.
>> Research Computing Associate
>> Computational Brain Anatomy Laboratory
>> Cerebral Imaging Center
>> Douglas Mental Health University Institute
>> McGill University
>> t: 514.761.6131x4781
>> e: gdevenyi at gmail.com
>>
>
>


More information about the MINC-users mailing list