Dear Mrtrix experts,
I have a couple of questions about the installation procedure:
-
This is my current setup:
-
final destination for mrtrix software is a computer (from now on: WS) equipped with CentOS 68.
-
for compiling the sources I am using a virtual machine (from now on: VM) equipped with Debian 8.
-
To produce a working version on WS I followed these steps, I cloned the github repository on VM and I compiled the software with -static option:
git clone https://github.com/MRtrix3/mrtrix3.git ARCH=x86-64 ./configure -static -nogui ./build
-
I then followed the instructions and I put the bin directory in a /release/bin directory on WS system (this was not completely clear to me after reading the documentation, though). Mrtrix commands seem to work.
-
However, I was missing mrtrix scripts. In the documentation I could not find instructions about this. To solve this problem, I simply tried to copy the scripts subdirectory included in the sources on WS in /scripts, added it to my PATH environmental variable and this seems to work.
-
Question 1: Am I missing something? Is this simple copy procedure enough to have a working version of the software?
-
I also tried another strategy:
-
In order to obtain a consistent version of the software (including the scripts), I tried to use the package_mrtrix command. I cloned the sources in a fresh directory on VM, I ran configure and build commands following the instructions. but after running package_mrtrix command I am always getting this error:
cp: cannot stat 'bin/': No such file or directory
-
Question 2: Is
package_mrtrix
procedure somehow better than static compiling? Should I create in advance a bin sub-directory within the source one to prepare this kind of standalone installation? Am I missing something?
Thank you so much for the answers.
Best,
Vittorio