[MINC-users] Bug in MNI Perl routines
conover
Kent.Conover at concordia.ca
Mon Dec 18 09:33:44 EST 2006
Hi Andrew,
Thank you for these suggestions, I will try them soon!
-Kent
On 16-Dec-06, at 9:06 AM, Andrew Janke wrote:
> Hi Kent,
>
> check what "echo $PATH" gives you. It should include /usr/local/
> mni/bin
>
> If not add a line like this to your .bashrc (presuming you are
> using bash)
>
> export PATH=$PATH:/usr/local/mni/bin
>
>
> a
>
>
> On 12/12/06, conover <Kent.Conover at concordia.ca> wrote:
>> Hi Andrew,
>>
>> I thank you for your reply. Here is the text of the error message:
>>
>> fmr_preprocess_ver_mni.pl: couldn't find program "mincconcat"
>> fmr_preprocess_ver_mni.pl: couldn't find program "mincreshape"
>> fmr_preprocess_ver_mni.pl: couldn't find program "mincblur"
>> fmr_preprocess_ver_mni.pl: couldn't find program "mincresample"
>> fmr_preprocess_ver_mni.pl: couldn't find program "autocrop"
>> fmr_preprocess_ver_mni.pl: couldn't find program "minctracc"
>> fmr_preprocess_ver_mni.pl: couldn't find program "param2xfm"
>>
>> Usage: fmr_preprocess_ver_mni.pl input.mnc -options
>>
>> I strongly suspect that I am having path problems. I have tried many
>> options, but to no avail.
>>
>> Regards,
>>
>> -Kent
>>
>> On 12-Dec-06, at 12:47 AM, Andrew Janke wrote:
>>
>>> Hi Kent,
>>>
>>> First, just checking that you realise that AutoLoader.pm is part of
>>> the base perl distribution and has nothing to do with MINC.
>>>
>>> I suspect that what you are seeing is a problem caused by some
>>> missing
>>> dependency. What was the error message that led you to this bit of
>>> code?
>>>
>>> a
>>>
>>>
>>> On 12/7/06, conover <Kent.Conover at concordia.ca> wrote:
>>>> Hi Everybody,
>>>>
>>>> There seems to be a bug in the Perl module "AutoLoader.pm" in
>>>> that it
>>>> fails to recognize my operating system as that of Mac OS X:
>>>>
>>>> Here is the code segment:
>>>>
>>>> if (defined($filename = $INC{"$pkg.pm"})) {
>>>> if ($is_macos) {
>>>> $pkg =~ tr#/#:#;
>>>> $filename =~ s#^(.*)$pkg\.pm\z#$1auto:$pkg:
>>>> $func.al#s;
>>>> } else {
>>>> $filename =~ s#^(.*)$pkg\.pm\z#$1auto/$pkg/
>>>> $func.al#s;
>>>> }
>>>>
>>>> Upon evaluating "if ($is_macos)", this routine jumps to the "else"
>>>> condition. I suspect that I need to modify the file separators that
>>>> define the $filename string somehow. I would appreciate your
>>>> insights.
>>>>
>>>> Regards,
>>>> -Kent
>>>
>>> --
>>> Andrew Janke (a.janke at gmail.com || http://
>>> a.janke.googlepages.com/)
>>> Canada->Montreal Cell: +1 (514)
>>> 924 2012
>>> _______________________________________________
>>> MINC-users at bic.mni.mcgill.ca
>>> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>>>
>>
>> _______________________________________________
>> MINC-users at bic.mni.mcgill.ca
>> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>>
>
>
> --
> Andrew Janke (a.janke at gmail.com || http://a.janke.googlepages.com/)
> Canada->Montreal Cell: +1 (514)
> 924 2012
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>
More information about the MINC-users
mailing list