[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #NTZ-230023]: NetCDF build problems
- Subject: [netCDF #NTZ-230023]: NetCDF build problems
- Date: Thu, 08 May 2008 11:24:29 -0600
> When I try to build NetCDF on a 64-bit arch it kicks me into a shell
> for reasons uknown to me. This is version 3.6.2 of netcdf.
>
> Here is a script session of the build:
> Script started on Thu 08 May 2008 09:23:37 AM MDT
> looneytr@milkyway ~/netcdf-3.6.2 $ ./configure --prefix=/usr/local/netcdf/
--disable-f77 --disable-f90 --enable-shared
> make[1]: Entering directory
`/home/milkyway/systems/looneytr/netcdf-3.6.2/cxx'
> source='netcdf.cpp' object='netcdf.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/sh ../depcomp \
> /bin/sh ../libtool --tag=CXX --mode=compile cl -DHAVE_CONFIG_H -I. -I. -I..
-I../fortran -DDEBUG -I../libsrc -c -o netcdf.lo netcdf.cpp
> libtool: compile: cl -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -DDEBUG
-I../libsrc -c netcdf.cpp
> Warning: no login.cl found in login directory
> ace dimsum images nlocal softools vol
> apropos fitsutil imcnv nmisc spectime websvc
> color fuzzy language noao stsdas xray
> ctio gemini lists obsolete system
> dataio gmisc mscred plot tables
> dbms guiapps mxtools proto utilities
>
> ecl> logout
> libtool: compile: mv -f "netcdf.o" ".libs/netcdf.o"
> mv: cannot stat `netcdf.o': No such file or directory
> make[1]: *** [netcdf.lo] Error 1
> make[1]: Leaving directory `/home/milkyway/systems/looneytr/netcdf-3.6.2/cxx'
> make: *** [check-recursive] Error 1
> looneytr@milkyway ~/netcdf-3.6.2 $
> Script done on Thu 08 May 2008 09:25:01 AM MDT
>
> It will build just fine on a 32-bit arch. This is RHEL 4.6 x64.
>
> Thanks for any help you can provide
>
> -Erinn
> ITS/Managed Services (UnixOps)
>
>
The configure is trying to use "cl" as a C++ compiler. Is this a working C++
compiler? Or is it something else?
You can specify the C++ compiler by setting the environment variable CXX before
running configure. If you don't want the C++ API at all then you can use the
--disable-cxx option to configure, or set environment variable CXX to null.
Please let me know if this doesn't help.
Thanks,
Ed
Ticket Details
===================
Ticket ID: NTZ-230023
Department: Support netCDF
Priority: Normal
Status: Closed