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

[netCDF #FDV-951529]: pb with installing netcdf library



Hi Delphine,

I just tried to duplicate the problem you reported by running the configure
script from netCDF-3.6.2, and it worked fine:

 ...
checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
(cached) yes
 ...
checking if Fortran "byte" is C "signed char"... yes

I have made the complete output from running configure and "make check"
available for you to compare at:

http://www.unidata.ucar.edu/software/netcdf/builds/3_6_2/groucho_Darwin_netcdf-3.6.2_gfortran.txt

The version of the OS, from running "uname -a", matches what you reported:

Darwin groucho.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28
PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386

The versions of gcc, g++, and /usr/bin/ld were:

$ gcc --version
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ g++ --version
i686-apple-darwin8-g++-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ /usr/bin/ld -v
Apple Computer, Inc. version cctools-622.5.obj~13

It's possible you encountered the error due to older versions of gcc
and g++, perhaps from a previous version of XCode (the Apple
Development Tools).  You should probably have at least version 2.4 of
XCode for a recent verion of gcc, g++, etc.  You can download XCode
updates from

  http://developer.apple.com/tools/download/

We would be interested in knowing if this is a compiler version
problem, so if you can get it working with an update to XCode, please
let us know.

--Russ



Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: FDV-951529
Department: Support netCDF
Priority: Normal
Status: Closed