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.
"Mark Hess" <address@hidden> writes: > Ed, > > Thanks for the fast response. I will try your suggestions. As far as > the binaries go, I initially wanted to go that route, but it appears > that these files are for HPUX 11.0 (On this machine I'm running 10.2). > I will, however, be downloading the binaries for my 11.0 machine. If > I'm wrong about the binaries, please feel free to set me straight. > > Mark No, you're right, those binaries probably won't work. We only have one HPUX and it's 11.0. Are you sure that your C compiler works? Do you have gcc installed? Ed > > ----- Original Message ----- > From: "Ed Hartnett" <address@hidden> > To: "Mark Hess" <address@hidden> > Sent: Thursday, February 10, 2005 9:24 AM > Subject: Re: 20050210: compiling netCDF 3.6.0 on HP-UX 10.2 > > >> Unidata Support <address@hidden> writes: >> >>> ------- Forwarded Message >>> >>>>To: <address@hidden> >>>>From: "Mark Hess" <address@hidden> >>>>Subject: >>>>Organization: Ocean Imaging >>>>Keywords: 200502101600.j1AG0Lv2002324 netCDF 3.6.0 >>> >>> This is a multi-part message in MIME format. >>> >>> ------=_NextPart_000_0083_01C50F4E.F86CE900 >>> Content-Type: text/plain; >>> charset="iso-8859-1" >>> Content-Transfer-Encoding: quoted-printable >>> >>> Dear Unidata, >>> >>> I'm trying to compile netcdf-3.6.0 on an older HPUX 10.2 machine. The = >>> configure script you provide as part of the install appears to work = >>> fine, however when running 'make' I encounter the following error = >>> message. I've tried modifying the macros.make file with no >>> success. Do = >>> you have any suggestions? >>> >>> error message: >>> >>> cc -c -g -I. attr.c >>> (Bundled) cc: warning 480: The -g option is available only with the = >>> C/ANSI C pro >>> duct; ignored. >>> (Bundled) cc: "netcdf.h", line 211: warning 5: "const" will become a = >>> keyword. >>> (Bundled) cc: "netcdf.h", line 211: error 1000: Unexpected symbol: = >>> "char". >>> (Bundled) cc: "netcdf.h", line 214: warning 5: "const" will become a = >>> keyword. >>> (Bundled) cc: "netcdf.h", line 214: error 1000: Unexpected symbol: = >>> "char". >>> (Bundled) cc: "netcdf.h", line 218: warning 5: "const" will become a = >>> keyword. >>> (Bundled) cc: "netcdf.h", line 218: error 1000: Unexpected symbol: = >>> "char". >>> (Bundled) cc: error 2017: Cannot recover from earlier errors, = >>> terminating. >>> *** Error exit code 1 >>> Stop. >>> *** Error exit code 1 >>> Stop. >>> *** Error exit code 1 >>> Stop.v >>> >>> >>> I apologize ahead of time that I am not a skilled programmer, but = >>> somewhat of a hack. Please form any responses in simpleton terms. If = >>> this is not the correct forum to send this question, please point me to = >>> the best person(s) to contact to get assistance. >>> >>> Thank you in advance, >>> >>> Mark >>> >>> ------=_NextPart_000_0083_01C50F4E.F86CE900 >>> Content-Type: text/html; >>> charset="iso-8859-1" >>> Content-Transfer-Encoding: quoted-printable >>> >>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> >>> <HTML><HEAD> >>> <META http-equiv=3DContent-Type content=3D"text/html; = >>> charset=3Diso-8859-1"> >>> <META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR> >>> <STYLE></STYLE> >>> </HEAD> >>> <BODY bgColor=3D#ffffff background=3D""> >>> <DIV><FONT face=3DArial size=3D2>Dear Unidata,</FONT></DIV> >>> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> >>> <DIV><FONT face=3DArial size=3D2>I'm trying to compile netcdf-3.6.0 on = >>> an older HPUX=20 >>> 10.2 machine. The configure script you provide as part of the = >>> install=20 >>> appears to work fine, however when running 'make' I encounter the = >>> following=20 >>> error message. I've tried modifying the macros.make file with no=20 >>> success. Do you have any suggestions?</FONT></DIV> >>> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> >>> <DIV><FONT face=3DArial size=3D2>error message:</FONT></DIV> >>> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> >>> <DIV><FONT face=3DArial size=3D2>cc -c -g -I. attr.c<BR>(Bundled) cc: = >>> warning 480:=20 >>> The -g option is available only with the C/ANSI C pro<BR>duct;=20 >>> ignored.<BR>(Bundled) cc: "netcdf.h", line 211: warning 5: "const" will = >>> become a=20 >>> keyword.<BR>(Bundled) cc: "netcdf.h", line 211: error 1000: Unexpected = >>> symbol:=20 >>> "char".<BR>(Bundled) cc: "netcdf.h", line 214: warning 5: "const" will = >>> become a=20 >>> keyword.<BR>(Bundled) cc: "netcdf.h", line 214: error 1000: Unexpected = >>> symbol:=20 >>> "char".<BR>(Bundled) cc: "netcdf.h", line 218: warning 5: "const" will = >>> become a=20 >>> keyword.<BR>(Bundled) cc: "netcdf.h", line 218: error 1000: Unexpected = >>> symbol:=20 >>> "char".<BR>(Bundled) cc: error 2017: Cannot recover from earlier >>> errors, = >>> >>> terminating.<BR>*** Error exit code 1<BR>Stop.<BR>*** Error exit code=20 >>> 1<BR>Stop.<BR>*** Error exit code 1<BR>Stop.v</FONT></DIV> >>> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> >>> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> >>> <DIV><FONT face=3DArial size=3D2>I apologize ahead of time that I >>> am not = >>> a skilled=20 >>> programmer, but somewhat of a hack. Please form any responses in = >>> simpleton=20 >>> terms. If this is not the correct forum to send this question, = >>> please=20 >>> point me to the best person(s) to contact to get = >>> assistance.</FONT></DIV> >>> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> >>> <DIV><FONT face=3DArial size=3D2>Thank you in advance,</FONT></DIV> >>> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> >>> <DIV><FONT face=3DArial size=3D2>Mark</FONT></DIV> >>> <DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML> >>> >>> ------=_NextPart_000_0083_01C50F4E.F86CE900-- >>> >>> -- >>> **************************************************************************** >>> Unidata User Support UCAR >>> (303)497-8643 >>> address@hidden Boulder, >>> ---------------------------------------------------------------------------- >>> >>> ---------------------------------------------------------------------------- >>> >>> NOTE: All email exchanges with Unidata User Support are recorded in the >>> Unidata inquiry tracking system and then made publicly available >>> through the web. If you do not want to have your interactions made >>> available in this way, you must let us know in each email you send to us. >>> >>> ------- End of Forwarded Message >>> >>> >> >> Could you please compare your configure and build output to the output >> found at: >> http://my.unidata.ucar.edu/content/software/netcdf/builds/HPUX_3_6_0.txt >> >> Go to your netcdf directory and do: >> >> make distclean;./configure && make test extra_test >> >> Have you considered getting the HPUX binaries? >> >> http://my.unidata.ucar.edu/content/software/netcdf/binaries.html >> >> Please let me know if you need more help. >> >> Thanks! >> >> Ed >> >> >> >> -- >> Ed Hartnett -- address@hidden > > -- Ed Hartnett -- address@hidden