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.
>To: address@hidden >From: address@hidden (BULENT YAGCI) >Subject: building and installiation problem for sgi(Irix 6.4) machine >Organization: Devlet Meteoroloji Isleri Genel Mudurlugu, Turkiye >Keywords: 200111141526.fAEFQPN04987 Hi Bülent, > I am working Turkish Met. Office. I have tryed to install netcdf > latest version for along time on my system (sgi onyx2 workstation > and irix 6.4). But I couldn't install yet successfully. There is a problem with your C compiler environment, as indicated by the "configure" output: ... > checking for sys/types.h... yes > checking for strerror... yes > checking for working ftruncate()... yes > checking for working alloca.h... yes > checking for alloca... yes > checking for st_blksize in struct stat... yes > checking for IEEE floating point format... yes > checking for ANSI C header files... no > checking for size_t... no > checking for off_t... yes > checking for ssize_t... no > checking for ptrdiff_t... no ... The above says that the compiler cannot find the definition for the "size_t", "ssize_t", or "ptrdiff_t" type definitions, which should be available to any standard C compiler. Can you please try to compile the following small standard C source? If your C compiler cannot compile this, you need to reinstall or reconfigure your C compiler environment: ==== snip & compile ==== #include <sys/types.h> #include <stddef.h> int main() { size_t p[10]; ptrdiff_t d = &p[9] - &p[0]; return 0; } ===== If that compiles OK, please check if there was a "config.cache" file left over from a previous build attempt and delete it. Then run "make clean" and try running "configure" again. You might also try setting the environment variable CC=c89 instead of CC=cc. If you still have the problem, send us the "config.log" file and the "libsrc/ncconfig.h" file that were generated by running the "configure" script. > ilkbahar:/usr/local/netcdf-3.5.0/src>make > > Making `all' in directory /usr/local/netcdf-3.5.0/src/libsrc > > cc -c -g -I. -DNDEBUG attr.c > Feature has expired (-10,32) > > The MIPSpro C Compiler > (license FEATURE string = cc) > requires a license password. > > For license installation and trouble shooting > information visit the web page: > > http://www.sgi.com/Support/Licensing/install_docs.html > > To obtain a Permanent license (proof of purchase > required) or an Evaluation license please > visit our license request web page: > > http://www.sgi.com/Products/license.html > > or send a blank email message to: > > address@hidden > > In North America, Silicon Graphics' customers may request > Permanent licenses by sending a facsimile to: > > (650) 932-0537 > > or by calling our technical support hotline > > 1-800-800-4SGI > > If you are Outside of North America or you are not a Silicon > Graphics support customer then contact your local support provider. > > "/usr/include/stddef.h", line 37: error(1084): invalid combination of type > specifiers > typedef int ptrdiff_t; > ^ > > "/usr/include/stddef.h", line 46: warning(1213): duplicate specifier in > declaration > typedef unsigned int size_t; > ^ > > "/usr/include/stddef.h", line 46: warning(1349): declaration requires a > typedef name > typedef unsigned int size_t; > ^ > > "/usr/include/sys/types.h", line 206: error(1084): invalid combination of type > specifiers > typedef int ssize_t; > ^ > > 2 errors detected in the compilation of "attr.c". > *** Error code 2 (bu21) > *** Error code 1 (bu21) --Russ _____________________________________________________________________ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu