[Mrtrix-discussion] Gzip patch problem

Donald Tournier d.tournier at brain.org.au
Wed Aug 1 18:54:47 PDT 2012


Hi James,

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:
$ cd ~/mrtrix
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.

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.

Cheers,

Donald.


On 2 August 2012 02:08, James Cole <james.cole at ucl.ac.uk> wrote:

>  Hi list,
> 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.
> I downloaded the patch and untarred it:
> jcole at ubuntu:~$ tar xvfj mrtrix-patch-GZ.tar-0001.bz2
> build
> lib/image/format/list.cpp
> lib/image/format/mrtrix.cpp
> lib/image/format/nifti1.cpp
> lib/image/mapper.cpp
> lib/image/mapper.h
> lib/image/object.cpp
> lib/image/object.h
> sysconf/linux.py
> sysconf/darwin.py
> sysconf/windows.py
>
> But then got the following error when building:
> trackhd at ubuntu:~$ ./build
> Traceback (most recent call last):
>   File "./build", line 61, in <module>
>     exec 'from sysconf.' + system.lower() + ' import *'
>   File "<string>", line 1, in <module>
> ImportError: No module named sysconf.linux
>
> I tried a clean build, but gave the same error. Any thoughts on how to
> overcome this would be great.
> I'm running MRtrix on an Ubuntu VMware player VM on RHEL 5.3
>
> Thanks,
> James
>
> --
> *James Cole PhD | Research Associate | Huntington's Disease Research
> Group | Institute of Neurology | University College London*
>
> _______________________________________________
> Mrtrix-discussion mailing list
> Mrtrix-discussion at www.nitrc.org
> http://www.nitrc.org/mailman/listinfo/mrtrix-discussion
>
>


-- 
Jacques-Donald Tournier (PhD)
Brain Research Institute, Melbourne, Australia
Tel: +61 (0)3 9035 7033
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nitrc.org/pipermail/mrtrix-discussion/attachments/20120802/418a0a7a/attachment.html


More information about the Mrtrix-discussion mailing list