[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error from building netCDF
- Subject: Re: Error from building netCDF
- Date: Fri, 02 Aug 1996 09:09:20 -0600
Hi,
> My attempt to build netCDF on St.-Elmo this a.m. came up with another
> error message, attached below. Any hints as to what may be happening?
> I have saved the config.status file if that's any help. I compiled
> it with cft77 (decided not to try f90).
Yes, it was trying to invoke the C++ compiler as "CC", but couldn't find
it. The configure script is supposed to determine that you don't have a
C++ compiler and not try to build the C++ interface, but I guess it
hasn't been tested on this platform. A workaround would be to follow
the instructions for manually not including the C++ interface, by
setting CXX="" in the environment or in the CUSTOMIZE file before you
invoke the "configure" script (after doing "make clean").
--Russ
> making `all' in directory /usr/tmp/JULIANA/netcdf-2.4.2/src/cxx
>
> CC -c -I../libsrc netcdf.cc
> sh-56 /opt/ctl/bin/CC[268]: /usr/bin/CC: not found.
> Make: "CC -c -I../libsrc netcdf.cc": Error code 127
> cmd-2436 make: Stop.
> Make: "dir=`echo cxx/all | sed 's,/.*,,'`; \
> target=`echo cxx/all | sed "s,$dir/,,"`; \
> cd $dir && \
> echo "making \`$target' in directory `pwd`" && \
> echo "" && \
> make \
> prefix=/usr/tmp/JULIANA/netcdf-2.4.2
> exec_prefix=/usr/tmp/JULIANA/netcdf
> -2.4.2 \
> $target || exit 1": Error code 1