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

Re: 20060103:netCDF installation error mac os 10.4 tiger



Unidata Support <address@hidden> writes:

> ------- Forwarded Message
>
>>To: address@hidden
>>From: address@hidden
>>Subject: netCDF installation error
>>Organization: UCAR/Unidata
>>Keywords: 200601032254.k03MsD7s017241
>
> This is a multi-part message in MIME format.
>
> --Boundary_(ID_5dJaYPCFi5gG2v3PCpTJlg)
> Content-type: text/plain; charset=us-ascii
> Content-transfer-encoding: 7BIT
> Content-disposition: inline
>
> I am attempting to install netCDf onto a machine running mac os 10.4 tiger. I 
> am using the provided GCC package from apple as my compiler. I have attached 
> the configure log to show the error. Any help would be appreciated. Thanks. 
> Jeremy Gibbs
>
> --Boundary_(ID_5dJaYPCFi5gG2v3PCpTJlg)
> Content-type: text/plain; NAME=config.txt
> Content-transfer-encoding: 7BIT
> Content-disposition: attachment; filename=config.txt
>
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by netCDF configure 3.6.1, which was
> generated by GNU Autoconf 2.59.  Invocation command line was
>
>   $ ./configure 
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = Macintosh.local
> uname -m = Power Macintosh
> uname -r = 8.3.0
> uname -s = Darwin
> uname -v = Darwin Kernel Version 8.3.0: Mon Oct  3 20:04:04 PDT 2005; 
> root:xnu-792.6.22.obj~2/RELEASE_PPC
>
> /usr/bin/uname -p = powerpc
> /bin/uname -X     = unknown
>
> /bin/arch              = unknown
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> hostinfo               = Mach kernel version:
>        Darwin Kernel Version 8.3.0: Mon Oct  3 20:04:04 PDT 2005; 
> root:xnu-792.6.22.obj~2/RELEASE_PPC
> Kernel configured for a single processor only.
> 1 processor is physically available.
> Processor type: ppc7450 (PowerPC 7450)
> Processor active: 0
> Primary memory available: 1.00 gigabytes
> Default processor set: 55 tasks, 185 threads, 1 processors
> Load average: 0.98, Mach factor: 0.70
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
>
> PATH: /bin
> PATH: /sbin
> PATH: /usr/bin
> PATH: /usr/sbin
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:1369: checking build system type
> configure:1387: result: powerpc-apple-darwin8.3.0
> configure:1395: checking host system type
> configure:1409: result: powerpc-apple-darwin8.3.0
> configure:1423: WARNING: FFLAGS=
> configure:1428: checking Where to put large files
> configure:1431: result: .
> configure:1436: checking for top-level source-directory
> configure:1439: result: /Users/Jeremy/WRFV2/netcdf-3.6.1-beta3/src
> configure:1496: checking for xlc
> configure:1525: result: no
> configure:1496: checking for cc
> configure:1512: found /usr/bin/cc
> configure:1522: result: cc
> configure:1543: checking for C compiler version
> configure:1546: cc --version </dev/null >&5
> cc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809)
> Copyright (C) 2002 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.
>
> configure:1549: $? = 0
> configure:1551: cc -v </dev/null >&5
> Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
> Thread model: posix
> gcc version 3.3 20030304 (Apple Computer, Inc. build 1809)
> configure:1554: $? = 0
> configure:1556: cc -V </dev/null >&5
> cc: `-V' option must have argument
> configure:1559: $? = 1
> configure:1582: checking for C compiler default output file name
> configure:1585: cc -g   conftest.c  >&5
> ld: can't locate file for: -lcrt1.o
> configure:1588: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "netCDF"
> | #define PACKAGE_TARNAME "netcdf"
> | #define PACKAGE_VERSION "3.6.1"
> | #define PACKAGE_STRING "netCDF 3.6.1"
> | #define PACKAGE_BUGREPORT "address@hidden"
> | /* end confdefs.h.  */
> | 
> | int
> | main ()
> | {
> | 
> |   ;
> |   return 0;
> | }
> configure:1627: error: C compiler cannot create executables
> See `config.log' for more details.
>
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
>
> ac_cv_build=powerpc-apple-darwin8.3.0
> ac_cv_build_alias=powerpc-apple-darwin8.3.0
> ac_cv_env_CC_set=
> ac_cv_env_CC_value=
> ac_cv_env_CFLAGS_set=
> ac_cv_env_CFLAGS_value=
> ac_cv_env_CPPFLAGS_set=
> ac_cv_env_CPPFLAGS_value=
> ac_cv_env_CPP_set=
> ac_cv_env_CPP_value=
> ac_cv_env_CXXFLAGS_set=
> ac_cv_env_CXXFLAGS_value=
> ac_cv_env_CXX_set=
> ac_cv_env_CXX_value=
> ac_cv_env_FCFLAGS_set=
> ac_cv_env_FCFLAGS_value=
> ac_cv_env_FC_set=
> ac_cv_env_FC_value=
> ac_cv_env_LDFLAGS_set=
> ac_cv_env_LDFLAGS_value=
> ac_cv_env_build_alias_set=
> ac_cv_env_build_alias_value=
> ac_cv_env_host_alias_set=
> ac_cv_env_host_alias_value=
> ac_cv_env_target_alias_set=
> ac_cv_env_target_alias_value=
> ac_cv_host=powerpc-apple-darwin8.3.0
> ac_cv_host_alias=powerpc-apple-darwin8.3.0
> ac_cv_prog_ac_ct_CC=cc
>
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>
> ALLOCA=''
> AR=''
> ARFLAGS=''
> CC='cc'
> CC_MAKEDEPEND=''
> CFLAGS='-g'
> COMPILE_F=''
> CPP=''
> CPPFLAGS=''
> CXX=''
> CXXFLAGS=''
> DEFS=''
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP=''
> EXEEXT=''
> F90=''
> F90FLAGS=''
> F90LIBS=''
> FC=''
> FCFLAGS=''
> FFLAGS=''
> FLIBS=''
> FPP=''
> FPPFLAGS=''
> FTPBINDIR=''
> IGNORE_FPE=''
> INSTALL_DATA=''
> INSTALL_PROGRAM=''
> INSTALL_SCRIPT=''
> LDFLAGS=''
> LIBOBJS=''
> LIBS=''
> LTLIBOBJS=''
> M4=''
> M4FLAGS=''
> MAKEWHATIS_CMD=''
> MATHLIB=''
> NM=''
> NMFLAGS=''
> OBJEXT=''
> PACKAGE_BUGREPORT='address@hidden'
> PACKAGE_NAME='netCDF'
> PACKAGE_STRING='netCDF 3.6.1'
> PACKAGE_TARNAME='netcdf'
> PACKAGE_VERSION='3.6.1'
> PATH_SEPARATOR=':'
> RANLIB=''
> SHELL='/bin/sh'
> SRCDIR='/Users/Jeremy/WRFV2/netcdf-3.6.1-beta3/src'
> TEMP_LARGE='.'
> WHATIS=''
> ac_ct_CC='cc'
> ac_ct_CXX=''
> ac_ct_FC=''
> ac_ct_RANLIB=''
> bindir='${exec_prefix}/bin'
> build='powerpc-apple-darwin8.3.0'
> build_alias=''
> build_cpu='powerpc'
> build_os='darwin8.3.0'
> build_vendor='apple'
> datadir='${prefix}/share'
> exec_prefix='NONE'
> host='powerpc-apple-darwin8.3.0'
> host_alias=''
> host_cpu='powerpc'
> host_os='darwin8.3.0'
> host_vendor='apple'
> includedir='${prefix}/include'
> infodir='${prefix}/info'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localstatedir='${prefix}/var'
> mandir='${prefix}/man'
> oldincludedir='/usr/include'
> prefix='NONE'
> prog=''
> program_transform_name='s,x,x,'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='${prefix}/etc'
> target_alias=''
>
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>
> #define PACKAGE_BUGREPORT "address@hidden"
> #define PACKAGE_NAME "netCDF"
> #define PACKAGE_STRING "netCDF 3.6.1"
> #define PACKAGE_TARNAME "netcdf"
> #define PACKAGE_VERSION "3.6.1"
>
> configure: exit 77
>
> --Boundary_(ID_5dJaYPCFi5gG2v3PCpTJlg)--
>
> --
> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publicly available
> through the web.  If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.
>
> ------- End of Forwarded Message
>
>


Looks like there is a problem with your c compiler.

I suggest you grab the latest gcc and build and install it. Then try
netCDF again...

Ed
-- 
Ed Hartnett  -- address@hidden