[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20001011: no f77 in Sun WS6
- Subject: 20001011: no f77 in Sun WS6
- Date: Wed, 11 Oct 2000 10:03:03 -0600
>From: Robert Mullenax <address@hidden>
>Organization: NMSU/NSBF
>Keywords: 200010111603.e9BG34420808 Solaris x86 WS6 Fortran
Robert,
>FYI on the Sun compilers. In the latest version..Sun WorkShop
>6.0, there is no longer a Fortran compiler for Intel, there
>still is for Sparc. If you want the Sun Fortran compilers, you'll
>have to try to get 5.0, but that may not be possible. I just received
>my copy of WorkShop 6.0 anf I can confirm that there is Fortran
>for Sparc, but not Intel.
Your message for the community was a timely one. We learned about this
about a month and a half ago, but it was only last night that I added a
warning about this to my 7.7 "Notes and Warnings" page advising users
to do exactly as you say: get SC5.x if you can, otherwise transition to
use of gcc/f2c.
Its funny how things seem to happen concunnently :-)
Tom
From address@hidden Wed Oct 11 09:49:05 2000
by unidata.ucar.edu (UCAR/Unidata) with SMTP id e9BFn4420145;
Wed, 11 Oct 2000 09:49:05 -0600 (MDT)
Message-Id: <address@hidden>
Organization: UCAR/Unidata
To: address@hidden
cc: address@hidden
Subject: 20001011: 7.7 build error on make mcx (installing netcdf?)
In-reply-to: Your message of "Wed, 11 Oct 2000 11:41:20 EDT."
Reply-to: address@hidden
Date: Wed, 11 Oct 2000 09:49:04 -0600
From: Tom Yoksas <address@hidden>
>From: address@hidden
>Organization: UVa
>Keywords: 200010111541.e9BFfL419853 McIDAS-X 7.70 netCDF
Jennie,
>It looked like everything was going okay (man, windfall is soooo
>slow compared to the new Dell!), but then I hit an error in
>netcdf/cxx. For some reason it didn't log this into the
>makelog file (??),
The netCDF build stuff is not logged into makelog.
Because of problems building the C++ portion of the netCDF on some systems,
just last night I changed my "Notes and Warnings" file to tell people
to define CXX as nothing before building McIDAS-X.
The C shell syntax for doing this is:
setenv CXX
I am not really sure what the the Korn shell syntax for doing this is,
but it must be something like:
export CXX=
You should set this in your shell environment file (.kshrc in your case
I believe) and make sure that an 'env' listing shows that CXX is
defined as nothing before doing the build.
>but I cut and pasted the error message part:
>
>Making `all' in directory /p0/users/mcadde/mcidas7.7/netcdf/ncgen
>
>/opt/SUNWspro/bin/c89 -c -O -I../libsrc -I. -DNDEBUG main.c
>/opt/SUNWspro/bin/c89 -c -O -I../libsrc -I. -DNDEBUG load.c
>Warning: ncgentab.c is out-of-date with respect to ncgenyy.c
>Warning: It should be recreated via yacc on an OSF/1 system
>/opt/SUNWspro/bin/c89 -c -O -I../libsrc -I. -DNDEBUG ncgentab.c
>/opt/SUNWspro/bin/c89 -c -O -I../libsrc -I. -DNDEBUG escapes.c
>/opt/SUNWspro/bin/c89 -c -O -I../libsrc -I. -DNDEBUG getfill.c
>/opt/SUNWspro/bin/c89 -c -O -I../libsrc -I. -DNDEBUG init.c
>/opt/SUNWspro/bin/c89 -c -O -I../libsrc -I. -DNDEBUG genlib.c
>/opt/SUNWspro/bin/c89 -o ncgen -O main.o load.o ncgentab.o
>escapes.o getfill.o init.o genlib.o ../libsrc/libnetcdf.a
>
>Returning to directory /p0/users/mcadde/mcidas7.7/netcdf
>
>
>Making `all' in directory /p0/users/mcadde/mcidas7.7/netcdf/cxx
>
>/opt/SUNWspro/bin/CC -c -O -I../libsrc -DNDEBUG netcdf.cc
>/opt/SUNWspro/bin/CC -c -O -I../libsrc -DNDEBUG ncvalues.cc
>"./SunWS_cache/CC_state", line 3: Error: ";" not allowed here.
>** Assertion ** : 0
>(/export/sambox/zephyr/builds/test1214/sparc-S2/lang/cafe/resources/cdr/src/c_
> dataparse.cc: 763)
>*** Error code 251
>make: Fatal error: Command failed for target `ncvalues.o'
>Current working directory /p0/users/mcadde/mcidas7.7/netcdf/cxx
>*** Error code 1
>make: Fatal error: Command failed for target `subdir_target'
>Current working directory /p0/users/mcadde/mcidas7.7/netcdf
>*** Error code 1
>make: Fatal error: Command failed for target `cxx/all'
>Current working directory /p0/users/mcadde/mcidas7.7/netcdf
>*** Error code 1
>make: Fatal error: Command failed for target
>`../netcdf/libsrc/libnetcdf.a'
>Now what?
At the point you are now, you should:
<setup the CXX environment definition and make sure it is active in your
session>
cd mcidas7.7/netcdf
make distclean
cd ~/mcidas7.7/src
make mcx
The netCDF should be rebuilt without the C++ interface and things should
proceed.
Tom