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.
>From: William C Klein <address@hidden> >Organization: Valparaiso >Keywords: 200207121534.g6CFYja05610 McIDAS-X 7.8 netCDF environment Bill, >We are trying a workstation install (Red Hat 7.2) of McIDAS and are >getting the following error(s). > >########################################## >Fri Jul 12 09:19:24 CDT 2002: BUILD BEGIN >########################################## > >cd ../netcdf && make >make[1]: Entering directory `/usr/local/mcidas/mcidas7.8/netcdf' >make[2]: Entering directory `/usr/local/mcidas/mcidas7.8/netcdf' > >Making `all' in directory /usr/local/mcidas/mcidas7.8/netcdf/libsrc > >make[3]: Entering directory `/usr/local/mcidas/mcidas7.8/netcdf/libsrc' >c89 -c -g -I. @CPPFLAGS@ -DVERSION=`cat ../VERSION` libvers.c >make[3]: Leaving directory `/usr/local/mcidas/mcidas7.8/netcdf/libsrc' >make[2]: Leaving directory `/usr/local/mcidas/mcidas7.8/netcdf' >make[1]: Leaving directory `/usr/local/mcidas/mcidas7.8/netcdf' > >Suggestions? It looks like you did not define several environment variables needed for the netCDF portion of the McIDAS build on this machine. Check out: http:/www.unidata.ucar.edu/packages/mcidas/780/mcx/warnings_mcx.html for information on environment variables you need to set. Define these in your shell-specific definition file (e.g., .cshrc for C shell; .profile for Bourne/Korn shell; etc.) and then make the settings active (easiest to log off and then log back on as 'mcidas'). Then get rid of the stuff built up to the point of the failure as follows: cd mcidas7.8/src make clobber and restart your build: make mcx -- or -- make all If you want to build using gcc and g77, then you have two choices: 1) edit ~mcidas/mcidas7.8/src/makefile and: change: VENDOR=-vendor to: VENDOR=-g77 -- or -- 2) tell make to use gcc/g77 on the command line: make mcx VENDOR=-g77 -- or -- make all VENDOR=-g77 By the way, I am answering this from a computer lab at the Universidade Federale de Para in Belem, Brazil (Lat: 1:27:00S Lon: 48:28:00W). Ain't the internet fabulous! Tom