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

20021029: McIDAS 2002 build problem (cont.)



>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