Hi James,<div><br></div><div>Looks like you extracted the patch into your home folder, rather than into the MRtrix folder. Is this the case? Assuming you downloaded and extracted MRtrix 0.2.10 into a folder in your home account, let's say ~/mrtrix, then you need to cd into that folder first:</div>
<div>$ cd ~/mrtrix</div><div>before extracting the patch. Essentially, all it does is overwrite some of the existing files in the MRtrix source folder, so it must be applied to your previously downloaded & extracted folder. It is not a standalone version of the code. </div>
<div><br></div><div>If that wasn't the problem, then I think you'd need to tell us more about the problem, starting with a set of commands to reproduce the problem from a clean download of both the source and patch files. </div>
<div><br></div><div>Cheers,</div><div><br>Donald.</div><div><br></div><div><br><div class="gmail_quote">On 2 August 2012 02:08, James Cole <span dir="ltr"><<a href="mailto:james.cole@ucl.ac.uk" target="_blank">james.cole@ucl.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi list,<br>
I'm quite new to MRtrix and I thought it would be really useful to
use the patch that allows Gzip .nii and .mif to be processed.
However, I stuck with the installation and wonder if someone can
help.<br>
I downloaded the patch and untarred it:<br>
jcole@ubuntu:~$ tar xvfj mrtrix-patch-GZ.tar-0001.bz2 <br>
build<br>
lib/image/format/list.cpp<br>
lib/image/format/mrtrix.cpp<br>
lib/image/format/nifti1.cpp<br>
lib/image/mapper.cpp<br>
lib/image/mapper.h<br>
lib/image/object.cpp<br>
lib/image/object.h<br>
sysconf/linux.py<br>
sysconf/darwin.py<br>
sysconf/windows.py<br>
<br>
But then got the following error when building:<br>
trackhd@ubuntu:~$ ./build<br>
Traceback (most recent call last):<br>
File "./build", line 61, in <module><br>
exec 'from sysconf.' + system.lower() + ' import *'<br>
File "<string>", line 1, in <module><br>
ImportError: No module named sysconf.linux<br>
<br>
I tried a clean build, but gave the same error. Any thoughts on how
to overcome this would be great.<br>
I'm running MRtrix on an Ubuntu VMware player VM on RHEL 5.3<br>
<br>
Thanks,<br>
James<span class="HOEnZb"><font color="#888888"><br>
<br>
<div>-- <br>
<b>James Cole PhD | Research Associate | Huntington's Disease
Research Group | Institute of Neurology | University College
London</b></div>
</font></span></div>
<br>_______________________________________________<br>
Mrtrix-discussion mailing list<br>
<a href="mailto:Mrtrix-discussion@www.nitrc.org">Mrtrix-discussion@www.nitrc.org</a><br>
<a href="http://www.nitrc.org/mailman/listinfo/mrtrix-discussion" target="_blank">http://www.nitrc.org/mailman/listinfo/mrtrix-discussion</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jacques-Donald Tournier (PhD)<br>Brain Research Institute, Melbourne, Australia<br>Tel: +61 (0)3 9035 7033<br>
</div>