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: Robert Benites <address@hidden> >Organization: UNCA >Keywords: 200009141532.e8EFWQb27728 McIDAS-X servutil.c Linux Bob, >Thanks for your prompt response! No problem. re: Linux is not standardized >So true! >Here's a diff of servutil.c with a file which contains your suggested >change: > >308c308,309 >< rc == GLOB_NOMATCH || rc == GLOB_ABORTED ) >--- >> rc == GLOB_NOCHECK || rc == GLOB_ABEND ) >> /* rc == GLOB_NOMATCH || rc == GLOB_ABORTED )*/ > >FYI, here's the full original code fragment: > > rc = glob( filename, GLOB_NOSORT, NULL, &matches ); > > if ( rc == GLOB_NOSPACE || >#if defined(FREEBSD) /* <<<<< UPC mod 990731 - Plymouth FreeBSD >>>>> > */ > rc == GLOB_NOCHECK || rc == GLOB_ABEND ) >#else > rc == GLOB_NOMATCH || rc == GLOB_ABORTED ) >#endif > >As you suspected it was because of a difference between the different >flavors of Linux. I believe this machine is running Slackware, but I'm >not sure which version. If the output of the uname command is to be >believed: > > Linux storm2 2.0.35 #57 Tue Oct 13 23:02:53 CDT 1998 i586 unknown > >It's an old version of the kernel. I think that it is Slackware. I remember Jim Heimbach telling me that he was using Slackware 'cause he had used it before and felt comfortable with it. >The "make all" completed without error. But when I tried doing the >make install.all, I see: > > storm2:~/mcidas7.6/src> make install.all > make: ERROR: Lack files needed for install: decoder > > You must do a 'make' before doing a 'make install' > > make: *** [chkgen] Error 1 > >I did just a plain make to see if that would build what was needed and >the output was: > > ########################################## > Thu Sep 14 17:02:14 EDT 2000: BUILD BEGIN > ########################################## > > link decoder: done > > ########################################## > Thu Sep 14 17:02:23 EDT 2000: BUILD END > ########################################## > >But with the same error when I tried the "make install.all" again. > >Any suggestions: Please send in the section in ~mcidas/mcidas7.6/src/makelog that relates to the build of 'decoder'. Since 'decoder' is not used by McIDAS-X or XCD in your context, you can get past this by a simply 'touch decoder'. The installation will then continue since the file will exist (even though it will/should be zero length). The only reason I am not real keen on finding out and patching decoder.cp is that it is a _real_ bugger. The fact that it is not used at all just screams at me to not worry about it (it is used in conjunction with another McIDAS product that you do not have and are not likely to ever have). Tom