[Debian-med-packaging] Bug#478500: insighttoolkit - FTBFS: error: math.h: No such file or directory

Bastian Blank waldi at debian.org
Tue Apr 29 15:37:49 UTC 2008


On Tue, Apr 29, 2008 at 09:09:16AM -0500, Steve M. Robbins wrote:
> 1. what architecture is this

The software used to produce the output identified itself[1].

> 2. it looks like GCC 4.3 is used, yes?

http://packages.debian.org/ and similar sources exists[2].

> 3. where is complete build log?

Reread the developers reference, it is linked from there[3].

> > > [ 64%] wrap_vnl_matrix.xml from 
> > > In file included from /usr/include/c++/4.3/complex:51,
> > >                  from /build/buildd/insighttoolkit-3.4.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
> > >                  from /build/buildd/insighttoolkit-3.4.0/Utilities/vxl/vcl/vcl_complex.h:62,
> > >                  from /build/buildd/insighttoolkit-3.4.0/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
> > > /usr/include/c++/4.3/cmath:51:23: error: math.h: No such file or directory
> > > In file included from /usr/include/c++/4.3/bits/postypes.h:47,
> > >                  from /usr/include/c++/4.3/iosfwd:47,
> > >                  from /usr/include/c++/4.3/ios:44,
> > >                  from /usr/include/c++/4.3/istream:45,
> > >                  from /usr/include/c++/4.3/sstream:44,
> > >                  from /usr/include/c++/4.3/complex:52,
> > >                  from /build/buildd/insighttoolkit-3.4.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
> > >                  from /build/buildd/insighttoolkit-3.4.0/Utilities/vxl/vcl/vcl_complex.h:62,
> > >                  from /build/buildd/insighttoolkit-3.4.0/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
> > > /usr/include/c++/4.3/cwchar:52:24: error: wchar.h: No such file or directory
> > math.h and wchar.h are standard headers. The build overrides critical
> > compiler information.
> How come the compiler cannot find standard headers?

The output lacks critical informations: the complete g++ call.

>                                                      Do they exist on
> your system?  What path?  

Sure they exist. In the standard path. For further informations use
http://packages.debian.org/.

> Can you start the build by hand; then, when it fails, run "make VERBOSE=1" to
> see what -I options are on the compile line?

Use http://db.debian.org/machines.cgi.

Just for the information, the build died on 6 architecture, on 4 with
this error.

Bastian

[1]: "by sbuild/s390 98"
[2]: http://packages.debian.org/sid/g++. And yes, it is 4.3 for most
     architectures.
[3]: http://buildd.debian.org/

-- 
Wait!  You have not been prepared!
		-- Mr. Atoz, "Tomorrow is Yesterday", stardate 3113.2





More information about the Debian-med-packaging mailing list