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

Re: 19990128: problems making netCDF 3.4 on Cray C90

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: Re: 19990128: problems making netCDF 3.4 on Cray C90
  • Date: Fri, 29 Jan 1999 08:40:22 -0700

Dear Ki-Young Kim,

> To: address@hidden
> From: Ki-Young Kim <address@hidden>
> Organization: ?
> Keywords: 199901290145.SAA11396 netCDF 3.4

In the above message, you wrote:

> I just install netCDF-3.4,
> when I execute the command 'make', I met error following message
> 
> ###########make.log################################
>         CC -c -O3  -I../libsrc  -DNDEBUG netcdf.cc
> $(INCLUDES):
> cc-412 cc: ERROR in command line
>   The source file "$(INCLUDES)" is unavailable.
> $(DEFINES):
> cc-412 cc: ERROR in command line
>   The source file "$(DEFINES)" is unavailable.
> netcdf.cc:
> CC: cpp failure: 2
> Make: "CC -c -O3  -I../libsrc  -DNDEBUG netcdf.cc": Error code 1
> cmd-2436 make: Stop.
> Make: "cd cxx && \
>     echo "Making \`all' in directory `pwd`" && \
>     echo "" && \
>     make all || exit 1": Error code 1
> Make: "case "CC" in \
>     '') echo 1>&2 "Not making \`cxx/all' because no C++ compiler"; \
>         ;; \
>     *)  subdir=`echo cxx/all | sed 's,/.*,,'`; \
>         target=`echo cxx/all | sed 's,.*/,,'`; \
>         make SUBDIR=$subdir TGET=$target subdir_target; \
>         ;; \
> esac": Error code 1
> cmd-2436 make: Stop.
> 
> ################################################################
> uname -a
>     sn4019 crayc90 9.0.1ai 1.2.8 CRAY C90
> version
>     netCDF 3.4
> pathnames of  C , Fortran compilers
>      /bin/
> 
> Best regards,
> 
> Ki-Young Kim
> 
> e-mail : address@hidden
> 
> 
> - -- make log --
> 
> Making `all' in directory /export/edunx/e698hkj/model/netcdf/src/libsrc
> 
> FORCE: No action was taken.
> 
> Returning to directory /export/edunx/e698hkj/model/netcdf/src
> 
> 
> Making `all' in directory /export/edunx/e698hkj/model/netcdf/src/fortran
> 
> FORCE: No action was taken.
> 
> Returning to directory /export/edunx/e698hkj/model/netcdf/src
> 
> 
> Making `all' in directory /export/edunx/e698hkj/model/netcdf/src/ncdump
> 
> 
> Returning to directory /export/edunx/e698hkj/model/netcdf/src
> 
> 
> Making `all' in directory /export/edunx/e698hkj/model/netcdf/src/ncgen
> 
> 
> Returning to directory /export/edunx/e698hkj/model/netcdf/src
> 
> 
> Making `all' in directory /export/edunx/e698hkj/model/netcdf/src/cxx
> 
>       CC -c -O3  -I../libsrc  -DNDEBUG netcdf.cc
> $(INCLUDES):
> cc-412 cc: ERROR in command line
>   The source file "$(INCLUDES)" is unavailable.
> $(DEFINES):
> cc-412 cc: ERROR in command line
>   The source file "$(DEFINES)" is unavailable.
> netcdf.cc:
> CC: cpp failure: 2
> Make: "CC -c -O3  -I../libsrc  -DNDEBUG netcdf.cc": Error code 1
> cmd-2436 make: Stop.
> Make: "cd cxx && \
>     echo "Making \`all' in directory `pwd`" && \
>     echo "" && \
>     make all || exit 1": Error code 1
> Make: "case "CC" in \
>     '') echo 1>&2 "Not making \`cxx/all' because no C++ compiler"; \
>       ;; \
>     *)  subdir=`echo cxx/all | sed 's,/.*,,'`; \
>       target=`echo cxx/all | sed 's,.*/,,'`; \
>       make SUBDIR=$subdir TGET=$target subdir_target; \
>       ;; \
> esac": Error code 1
> cmd-2436 make: Stop.
> 
> 
> ------- End of Forwarded Message

I'm afraid the above doesn't make much sense to me.  There's not enough
information to diagnose the problem.

Would you please do the following:

    1.  Go to the top-level source directory.

    2.  Execute the command "make distclean".

    3.  Remove the file "config.cache" if it exists.

    4.  Set your environment variables as before as indicated by the
        INSTALL file.

    5.  Execute the configure script.  Redirect standard output and
        standard error to the file "configure.log".  Send me the file.

    6.  Execute the command "make".  Redirect standard output and
        standard error to the file "make.log".  Send me the file.

--------
Steve Emmerson   <http://www.unidata.ucar.edu>