[Insight-users] building from source

Rocky Rhodes rhodes at sgi.com
Fri Jun 25 12:33:20 EDT 2004


Thanks for the help.  Picking a different tar tool did fix the truncation
problem.

My new problem now is:  ;^)

Cmake now completes its job.  When I run make, I get an error compiling
Utilities/.../Templates/vcl_algorithm+vnl_rational-.cxx.  The compiler
complains:

Building object file Templates/vcl_algorithm+vnl_rational-.o...
/.automount/ironman/root/usr/people/rhodes/itk/InsightToolkit-1.6.0/Utilitie
s/vxl/core/vnl/Templates/vcl_algorithm+vnl_rational-.cxx(8): warning #799:
qualified name is not allowed in namespace member declaration
    template vnl_rational* std::fill_n<vnl_rational*, unsigned long,
vnl_rational>(vnl_rational*, unsigned long, vnl_rational const&);
                           ^

/.automount/ironman/root/usr/people/rhodes/itk/InsightToolkit-1.6.0/Utilitie
s/vxl/core/vnl/Templates/vcl_algorithm+vnl_rational-.cxx(8): error: no
instance of overloaded function "std::fill_n" matches the specified type
    template vnl_rational* std::fill_n<vnl_rational*, unsigned long,
vnl_rational>(vnl_rational*, unsigned long, vnl_rational const&);
                           ^

compilation aborted for
/.automount/ironman/root/usr/people/rhodes/itk/InsightToolkit-1.6.0/Utilitie
s/vxl/core/vnl/Templates/vcl_algorithm+vnl_rational-.cxx (code 2)


I was trying to use version 8.0.066 of Intel's icc/icpc compiler for ia64.
Any thoughts on the problem?  I will try gcc and see if I have better luck
if nothing comes to mind.

	Rocky

> -----Original Message-----
> From: Luis Ibanez [mailto:luis.ibanez at kitware.com]
> Sent: Thursday, June 24, 2004 9:05 PM
> To: Rocky Rhodes
> Cc: 'insight-users at itk.org'
> Subject: Re: [Insight-users] building from source
> 
> 
> 
> Hi Rocky,
> 
> 
> This sounds like your tar tool is broken.  :-/
> 
> 
> Here are two alternatives that come to mind.
> 
> 1) Expand the tar file in a "normal" machine
>     e.g. a Linux PC or a Sun workstation.
>     Then copy the source tree throuugh the
>     network into your particular IA64 machine.
> 
> XOR
> 
> 2) Get the source code through CVS.
> 
>     Simply follow the instructions on the Download
>     page. If you want to stick to version 1.6, you
>     can after downloading, sync to that version by
>     doing:
> 
>               cvs upate -r Release-1-6
> 
> 
> Note that as far as we know, ITK has never been
> built in a IA64 machine, so, be prepared for
> surprises and get ready your coffee supplies.
> 
> 
> Please let us know what you find.
> 
> 
>     Thanks
> 
> 
> 
>        Luis
> 
> 
> 
> ----------------------
> Rocky Rhodes wrote:
> > I just downloaded the 1.6.0 source and am trying to build it on an
> > IA64/Linux machine.  When I run cmake I get a number of 
> errors caused by the
> > truncation of various long file names.  "tar -tvf" shows 
> the names to be
> > truncated in the archive file when the total path name is about 100
> > characters long.
> > 
> > For instance, cmake says it cannot find file
> > "itkExpectationMaximizationMixtureModeEstimatorTest.cxx" in 
> the Testing
> > directory tree.  The file it wants is there, but is called
> > "itkExpectationMaximizationMixtureModeEstimat" instead.  Is 
> this a known
> > problem, and is there a quick fix?
> > 
> > Thanks for the help.
> > 
> > 	Rocky
> > 
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org
> > http://www.itk.org/mailman/listinfo/insight-users
> > 
> 
> 
> 


More information about the Insight-users mailing list