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: Thomas Finkbeiner <address@hidden> >Organization: Stanford >Keywords: 199706040139.TAA05059 netCDF lex Tom, >we are currently trying to install netcdf on our SUN Sparc 20 running >solaris 2.5 >When trying to run the make commands, we are getting the following error >messages: > >1) > >making `all' in directory /pele/GMT/netcdf-232pl2/ncgen > >lex ncgen.l >sh: lex: not found >*** Error code 1 >make: Fatal error: Command failed for target `ncgenyy.c' >Current working directory /pele/GMT/netcdf-232pl2/ncgen >*** Error code 1 >make: Fatal error: Command failed for target `ncgen/all' You should be able to find lex in the /usr/ccs/bin directory. Try adjusting your PATH so that this directory is included in it and rerun configure and make. >2) > >making `test' in directory /pele/GMT/netcdf-232pl2/ncdump > >../ncgen/ncgen -o test0.nc -n test0.cdl >sh: ../ncgen/ncgen: not found >*** Error code 1 >make: Fatal error: Command failed for target `test' >Current working directory /pele/GMT/netcdf-232pl2/ncdump >*** Error code 1 >make: Fatal error: Command failed for target `ncdump/test' This was caused by lex not being found in the first place. >3) > >making `install' in directory /pele/GMT/netcdf-232pl2/ncgen > >lex ncgen.l >sh: lex: not found >*** Error code 1 >make: Fatal error: Command failed for target `ncgenyy.c' >Current working directory /pele/GMT/netcdf-232pl2/ncgen >*** Error code 1 >make: Fatal error: Command failed for target `installed_program' >Current working directory /pele/GMT/netcdf-232pl2/ncgen >*** Error code 1 >make: Fatal error: Command failed for target `ncgen/install' See above. >++++++++++++++++++++++++++++++++++++++++++++++ > >We would appreciate any comments or suggestions you might have in order to >resolve this problem. > >Thanks very much for your help. Please adjust your PATH and try again. >Regards Thomas >================================================================ >This message was brought to you by: > >THOMAS FINKBEINER phone : +(415) 725-5831 >DEPT. OF GEOPHYSICS fax : +(415) 725-7344 >STANFORD, CA 94305-2215 e-mail: address@hidden > http://pangea.stanford.edu/~fink/home.html Tom Yoksas