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.
James, Its possible that you had some trouble in unpacking the tarfile or ran out of space. The flex command shouldn't be needed if the tar directory of $GEMPAK/source/netcdf-3.4/src/ncgen is complete (eg all files exist - 18 of them, and not zero length etc). I'm assuming you are building 5.6.c.1 from the gbuddy ftp account. Try: cd $GEMPAK/source/netcdf-3.4/src/ncgen make distclean then verify that the files in the directort match the tarfile: drwxr-xr-x 500/2000 0 Apr 18 19:50 2001 gempak/source/netcdf-3.4/src/ncgen/ -rw-r--r-- 500/2000 4877 Mar 2 14:17 1998 gempak/source/netcdf-3.4/src/ncgen/Makefile -rw-r--r-- 500/2000 992 Oct 8 12:56 1996 gempak/source/netcdf-3.4/src/ncgen/depend -rw-r--r-- 500/2000 2113 Mar 19 16:15 1997 gempak/source/netcdf-3.4/src/ncgen/escapes.c -rw-r--r-- 500/2000 543 Apr 7 11:23 1997 gempak/source/netcdf-3.4/src/ncgen/generic.h -rw-r--r-- 500/2000 54208 Sep 17 12:31 1997 gempak/source/netcdf-3.4/src/ncgen/ncgenyy.c -rw-r--r-- 500/2000 41586 Sep 17 12:31 1997 gempak/source/netcdf-3.4/src/ncgen/ncgentab.c -rw-r--r-- 500/2000 449 Sep 17 12:31 1997 gempak/source/netcdf-3.4/src/ncgen/ncgentab.h -rw-r--r-- 500/2000 45095 Mar 2 17:52 1998 gempak/source/netcdf-3.4/src/ncgen/genlib.c -rw-r--r-- 500/2000 2886 Jul 11 13:46 1997 gempak/source/netcdf-3.4/src/ncgen/genlib.h -rw-r--r-- 500/2000 2743 Apr 7 11:23 1997 gempak/source/netcdf-3.4/src/ncgen/getfill.c -rw-r--r-- 500/2000 1555 May 23 10:36 1997 gempak/source/netcdf-3.4/src/ncgen/init.c -rw-r--r-- 500/2000 13339 Jul 11 13:46 1997 gempak/source/netcdf-3.4/src/ncgen/load.c -rw-r--r-- 500/2000 3163 Sep 2 11:06 1997 gempak/source/netcdf-3.4/src/ncgen/main.c -rw-r--r-- 500/2000 14371 Oct 8 12:57 1996 gempak/source/netcdf-3.4/src/ncgen/ncgen.1 -rw-r--r-- 500/2000 2267 Jul 11 13:46 1997 gempak/source/netcdf-3.4/src/ncgen/ncgen.h -rw-r--r-- 500/2000 6314 Sep 2 16:23 1997 gempak/source/netcdf-3.4/src/ncgen/ncgen.l -rw-r--r-- 500/2000 22520 Sep 2 16:23 1997 gempak/source/netcdf-3.4/src/ncgen/ncgen.y -rw-r--r-- 500/2000 4945 Dec 18 15:27 1997 gempak/source/netcdf-3.4/src/ncgen/c0.cdl Let me know what you find. If nothing else, you might be able to change the "flex" to "lex" in the Makefile. Steve Chiswell Unidata User SUpport >From: James Murakami <address@hidden> >Organization: UCAR/Unidata >Keywords: 200107182256.f6IMua121673 >Hi, > >I starting the process of installing GEMPAK5.6. >The compilation didn't last long before an error >cropped up. Part of the make.out file is below. >I have followed the installation guide. I altered >the Gemenviron file, but left the config files >alone (still running solaris2.6). > >I'm not a programmer. So, any advice will be of >great help. Thank you in advance. > >James > >-------------------------------------- >James Murakami >Staff Meteorologist/Student Affairs >Department of Atmospheric Sciences >University of California, Los Angeles >405 Hilgard Ave. >Los Angeles, CA 90095-1565 > > > e-mail: address@hidden >telephone: 310-825-2418 > Fax: 310-206-5219 >--------------------------------------- > > >============================================================================ >Returning to directory /home/ldm/5.6/gempak/source/netcdf-3.4/src > > >Making `all' in directory /home/ldm/5.6/gempak/source/netcdf-3.4/src/ncgen > >c89 -c -O -I../libsrc -I. -DNDEBUG main.c >c89 -c -O -I../libsrc -I. -DNDEBUG load.c >sh: flex: not found >*** Error code 1 >make: Fatal error: Command failed for target `ncgenyy.c' >Current working directory /home/ldm/5.6/gempak/source/netcdf-3.4/src/ncgen >*** Error code 1 >make: Fatal error: Command failed for target `subdir_target' >Current working directory /home/ldm/5.6/gempak/source/netcdf-3.4/src >*** Error code 1 >make: Fatal error: Command failed for target `ncgen/all' >Current working directory /home/ldm/5.6/gempak/source/netcdf-3.4/src >*** Error code 1 >make: Fatal error: Command failed for target `lnetcdf' >Current working directory /home/ldm/5.6/gempak/source/netcdf-3.4 >*** Error code 1 >make: Fatal error: Command failed for target `/unidata/ldm/5.6/netcdf/sol/lib/ > libnetcdf.a' >Current working directory /home/ldm/5.6/gempak/source/netcdf-3.4 >*** Error code 1 >make: Fatal error: Command failed for target `all' >=========================================================================== >