[ITK-dev] [ANN] ITK 4.9 Release Candidate 3 is ready for testing!

Sean McBride sean at rogue-research.com
Thu Jan 7 12:42:37 EST 2016


On Tue, 5 Jan 2016 22:01:50 -0500, Matt McCormick said:

>> It seems that OS X's sed, dirname, and basename do not accept '--
>version', and so I hit the 'die' at line 67.  If I change it to 'echo'
>and let it proceed, I get:
>>
>> Command "sed" not found
>> Command "dirname" not found
>> Command "basename" not found
>> sed: 1: "/GDCM 20[0-9][0-9]-[0-9 ...": extra characters at the end of
>p command
>> Modules/ThirdParty/GDCM/../../../Utilities/Maintenance/
>UpdateThirdPartyFromUpstream.sh: line 125: upstream-$
>{thirdparty_module_name,,}: bad substitution
>>
>> I guess it's one of those subtle GNU vs BSD differences tripping
>things up... I didn't debug further though, I think the author of this
>script could find the issue faster than me. :)
>
>Thanks for giving it a whirl. It is worth another try after this patch
>is merged:
>
>  http://review.source.kitware.com/#/c/20400/

Matt,

Sorry I wasn't more clear... the '--version' thing is trivial and I bypassed it already (though that patch is great!), the problem is the last line of output:

sed: 1: "/GDCM 20[0-9][0-9]-[0-9 ...": extra characters at the end of p command
Modules/ThirdParty/GDCM/../../../Utilities/Maintenance/UpdateThirdPartyFromUpstream.sh: line 125: upstream-${thirdparty_module_name,,}: bad substitution

This is the real problem.  It's what I was referring to wrt 'subtle GNU vs BSD differences'.  Commands like 'sed' don't behave exactly the same on GNU vs BSD.  Or that's my guess anyway... for all I know, the script doesn't work on linux either...

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the Insight-developers mailing list