[Insight-users] Errors Building ITK on MAC X 10.3.2
Jeff Plum
jplum at cc.nih.gov
Fri, 2 Jan 2004 11:45:59 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_000D_01C3D125.FDC35D20
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
No spaces are in the path, I work on SUNs more than MACs. :-)
Found the problem though. There are two different sets of source code for
ITK. The tar.gz files are pure UNIX. The zip files are Windows. The
scripts in the zip files were saved from a Windows machine and have the ^M$
for the carriage return causing the scripts to fail on a Unix machine. I
ran "cat -etv configure" and saw the extra hidden characters.
Is it possible to request the download files to be renamed to differentiate
the platforms?
Thanks
Jeff
Jeff Plum
Sr. Systems Analyst
MedData Research Inc.
jplum at j-tekllc.com
301-435-9365
-----Original Message-----
From: William A. Hoffman [mailto:billlist at nycap.rr.com]
Sent: Friday, January 02, 2004 11:21 AM
To: Jeff Plum; insight-users at itk.org
Subject: Re: [Insight-users] Errors Building ITK on MAC X 10.3.2
Are you building in a directory with spaces in the path?
At 10:44 AM 1/2/2004, Jeff Plum wrote:
>Any advice on getting the build to work?
>
>Thanks
>
>Jeff
>
>When building ITK 1.4 with cmake 1.8 on a G5 running 10.3.2, cmake
>generates the following error:
>
>cmake ../Insight
>
>Insight/Utilities/vxl/configure ...
>running cd "Insight-bin/Utilities/vxl" &&
>Insight/Utilities/vxl/configure 2>&1
>: bad interpreter: No such file or directoryes/vxl/configure: /bin/sh
>CMake Error: VXL configure script failed.
>
>
>The /bin/sh and the PATH look OK.
>
>ls -l /bin/sh
>-r-xr-xr-x 1 root wheel 603488 24 Sep 02:47 /bin/sh
>
>echo $PATH
>/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/
local/bin
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
------=_NextPart_000_000D_01C3D125.FDC35D20
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered)">
<style>
<!--
/* Font Definitions */
at font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
at page Section1
{size:8.5in 11.0in;
margin:1.0in 77.95pt 1.0in 77.95pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>No spaces are in the path, I work on SUNs more than MACs. =
</span></font><font
face=3DWingdings><span =
style=3D'font-family:Wingdings'>J</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Found the problem though. There are two different sets of =
source
code for ITK. The tar.gz files are pure UNIX. The zip files =
are Windows.
The scripts in the zip files were saved from a Windows machine and have =
the ^M$
for the carriage return causing the scripts to fail on a Unix =
machine. I
ran “cat –etv configure” and saw the extra hidden =
characters.
</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Is it possible to request the download files to be renamed to =
differentiate
the platforms?</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Thanks</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Jeff </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Jeff Plum</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Sr. Systems Analyst</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>MedData Research Inc.</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>jplum at j-tekllc.com</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>301-435-9365</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>-----Original Message-----<br>
From: William A. Hoffman [mailto:billlist at nycap.rr.com] <br>
Sent: Friday, January 02, 2004 11:21 AM<br>
To: Jeff Plum; insight-users at itk.org<br>
Subject: Re: [Insight-users] Errors Building ITK on MAC X =
10.3.2</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Are you building in a directory with spaces in the =
path?</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>At 10:44 AM 1/2/2004, Jeff Plum wrote:</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>Any advice on getting the build to work?</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>Thanks</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>Jeff</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>When building ITK 1.4 with cmake 1.8 on a G5 running 10.3.2,
cmake </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>generates the following error:</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>cmake ../Insight</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>Insight/Utilities/vxl/configure ...</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>running cd "Insight-bin/Utilities/vxl" =
&& </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>Insight/Utilities/vxl/configure =
2>&1</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>: bad interpreter: No such file or =
directoryes/vxl/configure:
/bin/sh</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>CMake Error: VXL configure script failed.</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>The /bin/sh and the PATH look OK.</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>ls -l /bin/sh</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>-r-xr-xr-x 1 root wheel 603488 24 Sep =
02:47
/bin/sh</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>echo $PATH</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin=
:/usr/
local/bin </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>_______________________________________________</span></font>=
</p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>Insight-users mailing list</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>Insight-users at itk.org</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>>http://www.itk.org/mailman/listinfo/insight-users</span></fon=
t></p>
</div>
</body>
</html>
------=_NextPart_000_000D_01C3D125.FDC35D20--