[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 20030924: netcdf installation problem



Florence,

>Date: Thu, 25 Sep 2003 09:21:41 +0200
>From: "Florence Troude" <address@hidden>
>Organization: COPARLY
>To: "'Steve Emmerson'" <address@hidden>
>Subject: RE: 20030924: netcdf installation problem 

The above message contained the following:

> Steve,
> Please find below the "config.log" file as requested.
> Bests,
> Florence
> ______________________________________________________________
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> configure:928: checking for top-level source-directory
> configure:938: checking for m4 preprocessor
> configure:945: checking for m4
> configure:1012: checking m4 flags
> configure:1085: checking C compiler "/usr/bin/gcc"
> configure:1094: /usr/bin/gcc -c -o -Df2cFortran conftest.c 1>&5
> configure:1121: checking how to make dependencies
> configure:1189: checking for /usr/bin/c++
> configure:1225: checking C++ compiler "/usr/bin/c++"
> configure:1243: /usr/bin/c++ -o conftest -o -Df2cFortran  conftest.C  1>&5
> In file included from /usr/include/c++/3.2/backward/iostream.h:31,
>                  from configure:1235:
> /usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning
> This file includes at least one deprecated or antiquated header. Please
> consider using one of the 32 headers found in section 17.4.1.2 of the C++
> standard. Examples include substituting the <X> header for the <X.h> header
> for C++ includes, or <sstream> instead of the deprecated header
> <strstream.h>. To disable this warning use -Wno-deprecated.
> In file included from /usr/include/c++/3.2/cstdlib:52,
>                  from /usr/include/c++/3.2/bits/stl_algobase.h:67,
>                  from /usr/include/c++/3.2/memory:54,
>                  from /usr/include/c++/3.2/string:48,
>                  from /usr/include/c++/3.2/bits/localefwd.h:49,
>                  from /usr/include/c++/3.2/ios:48,
>                  from /usr/include/c++/3.2/ostream:45,
>                  from /usr/include/c++/3.2/iostream:45,
>                  from /usr/include/c++/3.2/backward/iostream.h:32,
>                  from configure:1235:
> /usr/include/stdlib.h:610: declaration of `void exit(int) throw ()' throws
>    different exceptions
> configure:1232: than previous declaration `void exit(int)'
> configure: failed program was:
> #line 1230 "configure"
> #include "confdefs.h"
> #ifdef __cplusplus
> extern "C" void exit(int);
> #endif
> ________________________________________________________

This can't be the entire "config.log" file because it ends with a test
of the C++ compiler yet the "configure.log" file shows that the
configure script went further and tested the Fortran-90 compiler:

    checking if Fortran "byte" is C "signed char"...
    on screen during "configure" :
    configure: warning: /usr/bin/c++ failed on test program
    configure: warning: Could not find working C++ compiler
    configure: warning: Setting CXX to the empty string
    configure: warning: The C++ interface will not be built
    configure: warning: The Fortran-90 interface will not be built
    configure: error: Could not compile conftest.c

I think we need to start over.  Please try to rebuild the package from
scratch:

    1.  Go to the top-level source directory.

    2.  Perform steps 3 through 6 which are described near the end of
        the file INSTALL.html.

Please ensure that BOTH standard output AND standard error of the
configure script are simutaneously redirected to the file 
"configure.log".  For example:

    ./configure >configure.log 2>&1

or

    ./configure >&! configure.log

depending on your user-shell.

Then, please send me the files "configure.log" and "config.log".

Regards,
Steve Emmerson