[Insight-users] DOS carriage returns ^M in CableSwig-ITK-3.4.0.zip
- causes problem on OS X
Dan White
white at mpi-cbg.de
Thu Nov 1 11:31:48 EDT 2007
Hi all,
watch out if you are using CableSwig on unix / OS X systems,
there are DOS carriage return characters in some files of the
CableSwig-ITK-3.4.0.zip
package.
Hopefully these arent there in the .tar.gz package.
i will try to file a bug report.
for instance cmake is tying to run a shell called sh^M
instead of sh
see below
this is dangerous because zip is the native archive format on OSX,
so OS X users might often get the .zip instead of the .tar.gz
like i did!
cheers
Dan
private-white:Insight dan$ cmake .
WrapITK is an experimental system for wrapping ITK. It is tested on
Linux, Mac OS and Solaris, but is known to have some problems on some
Windows platforms.
running /bin/sh "/Users/dan/Desktop/ITK/Insight/Utilities/CableSwig/
GCC/config_cmake/gcc_platform.sh" "/Users/dan/Desktop/ITK/Insight/
Utilities/CableSwig/GCC/config_cmake/gcc_platform.cmake" "/usr/bin/
cmake" 2>&1
/Users/dan/Desktop/ITK/Insight/Utilities/CableSwig/GCC/config_cmake/
gcc_platform.sh: /Users/dan/Desktop/ITK/Insight/Utilities/CableSwig/
GCC/config.guess: /bin/sh^M: bad interpreter: No such file or directory
/Users/dan/Desktop/ITK/Insight/Utilities/CableSwig/GCC/config_cmake/
gcc_platform.sh: /Users/dan/Desktop/ITK/Insight/Utilities/CableSwig/
GCC/config.sub: /bin/sh^M: bad interpreter: No such file or directory
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 3:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 5:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 10:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 15:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 20:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 28:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 42:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 153:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 176:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 212:
'Users/dan/Desktop/ITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 214: syntax error near unexpected token `in
'Users/dan/Desktop/ITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 214: `case $machine in
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 3:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 5:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 10:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 15:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 20:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 28:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 42:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 153:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 176:
: command not foundITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 212:
'Users/dan/Desktop/ITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 214: syntax error near unexpected token `in
'Users/dan/Desktop/ITK/Insight/Utilities/CableSwig/GCC/gcc/config.gcc:
line 214: `case $machine in
CMake Error: Cannot find source file "/Users/dan/Desktop/ITK/Insight/
Utilities/CableSwig/GCC/gcc/config/.c"
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h+
+ .hm .hpp .hxx .in .txx
CMake Error: CMake failed to properly look up cmSourceFile: /Users/dan/
Desktop/ITK/Insight/Utilities/CableSwig/GCC/gcc/config//.c
Dr. Daniel James White BSc. (Hons.) PhD
Senior Microscopist / Image Processing and Analysis
Light Microscopy Facility
Max Planck Institute of Molecular Cell Biology and Genetics
Pfotenhauerstrasse 108
01307 DRESDEN
Germany
+49 (0)176 61262128 (German Mobile)
+49 (0)351 210 2627 (Work phone at MPI-CBG)
+49 (0)351 3265048 (German Festnetz "landline" - cheaper)
+49 (0)351 210 1078 (Fax MPI-CBG LMF)
+358 (0) 468102840 (Finnish mobile, only when I'm in Finland)
http://www.bioimagexd.net
http://www.chalkie.org.uk
dan at chalkie.org.uk
( white at mpi-cbg.de )
More information about the Insight-users
mailing list