Re: 20041116:help with gribtonc

NOTE: The decoders mailing list is no longer active. The list archives are made available for historical reasons.

On Tue, 16 Nov 2004, Unidata Support wrote:


------- Forwarded Message

>To: support@xxxxxxxxxxxxxxxx
>From: Craig Collier <craigc@xxxxxxxxxxxxx>
>Subject: help with gribtonc
>Organization: UCAR/Unidata
>Keywords: 200411161757.iAGHvg7j026547


--Apple-Mail-32--85909524
Content-Type: multipart/alternative;
        boundary=Apple-Mail-33--85909524


--Apple-Mail-33--85909524
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
        charset=US-ASCII;
        format=flowed

Hi,

I am trying to install gribtonc on my mac running OS 10.3.6.  I have
downloaded "decoders.tar.Z", unzipped it, untarred it, and executed
"configure" from /decoders-3.0.6/src/ .  The following is reported to
the screen:

craig,

first, CC must be set to gcc, otherwise wrong compiler flags, ie

% setenv CC gcc

also netcdf, udunits, and netcdf-perl must be installed on the system. if
you are not going to use perl decoders forget about netcdf-perl.

since the decoders package needs to know where the netcdf and udunits
headers and includes are, edit file src/CUSTOMIZE

uncomment and set CPP_NETCDF, LD_NETCDF, CPP_UDUNITS, & LD_UDUNITS
environment vars.  Change the paths to your install locations
of netcdf and udunits.

rm config.log config.status

start again, ie

% ./configure

....


robb...



checking for catman... catman
checking for manual-page index command... catman -w -M $(MANDIR)
checking the installation prefix... /Users/craig/decoders-3.0.6
checking the installation exec-prefix... /Users/craig/decoders-3.0.6
checking for c89... no
checking for cc... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.


Do you know what the problem is here?   "gcc" has been installed and
"udunits-1.11.7.tar.Z" was untarred and unzipped but I cannot find any
means to install it (if that's necessary).   I have attached the
"config.log" file below.

Thanks,

Craig


--Apple-Mail-33--85909524
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
        charset=US-ASCII

Hi,


I am trying to install gribtonc on my mac running OS 10.3.6.  I have
downloaded "decoders.tar.Z", unzipped it, untarred it, and executed
"configure" from /decoders-3.0.6/src/ .  The following is reported to
the screen:


checking for catman... catman

checking for manual-page index command... catman -w -M $(MANDIR)

checking the installation prefix... /Users/craig/decoders-3.0.6

checking the installation exec-prefix... /Users/craig/decoders-3.0.6

checking for c89... no

checking for cc... no

checking for gcc... gcc

checking for C compiler default output file name... configure: error:
C compiler cannot create executables

See `config.log' for more details.



Do you know what the problem is here?   "gcc" has been installed and
"udunits-1.11.7.tar.Z" was untarred and unzipped but I cannot find any
means to install it (if that's necessary).   I have attached the
"config.log" file below.


Thanks,


Craig



--Apple-Mail-33--85909524--

--Apple-Mail-32--85909524
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
        x-unix-mode=0644;
        name="config.log"
Content-Disposition: attachment;
        filename=config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = asia2.ucsd.edu
uname -m = Power Macintosh
uname -r = 7.6.0
uname -s = Darwin
uname -v = Darwin Kernel Version 7.6.0: Sun Oct 10 12:05:27 PDT 2004; 
root:xnu/xnu-517.9.4.obj~1/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 7.6.0:
Sun Oct 10 12:05:27 PDT 2004; root:xnu/xnu-517.9.4.obj~1/RELEASE_PPC


Kernel configured for a single processor only.
1 processor is physically available.
Processor type: ppc750 (PowerPC 750)
Processor active: 0
Primary memory available: 640.00 megabytes.
Default processor set: 79 tasks, 208 threads, 1 processors
Load average: 2.26, Mach factor: 0.27
unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /Users/craig/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/bsd
PATH: /usr/X11R6/bin
PATH: /usr/X11/bin
PATH: .


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1317: checking for catman
configure:1333: found /usr/sbin/catman
configure:1343: result: catman
configure:1365: checking for manual-page index command
configure:1367: result: catman -w -M $(MANDIR)
configure:1372: checking the installation prefix
configure:1388: result: /Users/craig/decoders-3.0.6
configure:1390: checking the installation exec-prefix
configure:1396: result: /Users/craig/decoders-3.0.6
configure:1714: checking for c89
configure:1743: result: no
configure:1714: checking for cc
configure:1743: result: no
configure:1714: checking for gcc
configure:1730: found /usr/local/bin/gcc
configure:1740: result: gcc
configure:2124: checking for C compiler version
configure:2127: gcc --version </dev/null >&5
gcc (GCC) 3.5-tree-ssa-lno 20041009 (merged 20040718)
Copyright (C) 2004 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:2130: $? = 0
configure:2132: gcc -v </dev/null >&5
Reading specs from 
/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.5-tree-ssa-lno/specs
Configured with: ../gcc/configure --enable-threads=posix 
--enable-languages=c,f95 --enable-static --disable-shared
Thread model: posix
gcc version 3.5-tree-ssa-lno 20041009 (merged 20040718)
configure:2135: $? = 0
configure:2137: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2140: $? = 1
configure:2163: checking for C compiler default output file name
configure:2166: gcc    conftest.c  >&5
gcc: installation problem, cannot exec 'as': No such file or directory
configure:2169: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2208: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

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_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_prog_CC=gcc
ac_cv_prog_prog=catman

## ----------------- ##
## Output variables. ##
## ----------------- ##

CC='gcc'
CC_MAKEDEPEND=''
CFLAGS=''
CONFIG_FILES=' port/master.mk port/Makefile'
CPP=''
CPPFLAGS=''
CPP_NETCDF=''
CPP_UDUNITS=''
CPP_ULOG=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
FTPDIR=''
LDFLAGS=''
LD_NETCDF=''
LD_RPC=''
LD_SOCKET=''
LD_UDUNITS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAJOR_NO=''
MAKEWHATIS_CMD='catman -w -M $(MANDIR)'
MINOR_NO=''
NEQN=''
OBJEXT=''
OPSYS=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PORT_ALL=''
PORT_CLEAN=''
PORT_DISTCLEAN=''
PORT_INSTALL=''
PORT_MANIFEST=''
PORT_SUBDIRS=''
RANLIB=''
SHELL='/bin/sh'
TARFLAGS=''
TBL=''
VERSION=''
WHATIS='whatis'
ac_ct_CC=''
ac_ct_RANLIB=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='/Users/craig/decoders-3.0.6'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/Users/craig/decoders-3.0.6'
prog='catman'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""

configure: exit 77

--Apple-Mail-32--85909524
Content-Type: multipart/alternative;
        boundary=Apple-Mail-34--85909522


--Apple-Mail-34--85909522
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
        charset=US-ASCII;
        delsp=yes;
        format=flowed




------------------------------------------------------------------------
--
Craig Collier
Postgraduate researcher
University of California, San Diego
Scripps Institution of Oceanography
9500 Gilman Dr., Dept. #0221
La Jolla, CA  92093-0221
(858) 534-1119 (voice)  (858) 534-7452 (fax)
--Apple-Mail-34--85909522
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
        charset=US-ASCII




<fontfamily><param>Arial</param>

--------------------------------------------------------------------------

Craig Collier

Postgraduate researcher

</fontfamily>University of California, San Diego

Scripps Institution of Oceanography

9500 Gilman Dr., Dept. #0221

La Jolla, CA  92093-0221

(858) 534-1119 (voice)  (858) 534-7452 (fax)
--Apple-Mail-34--85909522--

--Apple-Mail-32--85909524--

--
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


==============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
rkambic@xxxxxxxxxxxxxxxx                   WWW: http://www.unidata.ucar.edu/
==============================================================================


  • 2004 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the decoders archives: