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

20021029: McIDAS 2002 build problem (cont.)

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: 20021029: McIDAS 2002 build problem (cont.)
  • Date: Tue, 29 Oct 2002 15:32:19 -0700

>From: Harry Edmon <address@hidden>

RE: various environment variables being set
>None of them are sent.

So, you should set these as per the Notes and Warnings page of the
Unidata McIDAS-X release:

http://www.unidata.ucar.edu/packages/mcidas/2002/mcx/warnings_mcx.htm

In particular, for Solaris 8 using Sun compilers, these would be
(C shell syntax):

setenv CC /opt/SUNWspro/bin/cc
setenv CPPFLAGS -DNDEBUG
setenv CFLAGS -O
setenv FC /opt/SUNWspro/bin/f77
setenv FFLAGS "-O -erroff=WDECL_LOCAL_NOTUSED"   # "-erroff=..." turns
                                                 # off an ignorable warning.
                                                 # Your compiler may differ.
setenv CXX

After setting these (preferably in your .cshrc file if you are using the
C shell), you should clobber the previous build attempt:

<login as 'mcidas'>
<modify .cshrc>
source .cshrc
cd mcidas2002/src
make clobber
make all

If you are using the gcc/f2c/mcfc compiler combination, you would need to
change your settings for CC, CPPFLAGS, etc. and run the make for McIDAS
as follows:

make all VENDOR=-gcc

The use of the gcc/g77 will force you to modify CC, CPPFLAGS, etc. differently
and run make differently:

make all VENDOR=-g77

Tom