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.
Frédéric, > To: <address@hidden> > From: =?iso-8859-1?q?Fr=E9d=E9ric=20Renaud?= <address@hidden> > Subject: Problem to install udunits!!! > Organization: Royal Observatory of Belgium > Keywords: 200112101140.fBABehN05928 UDUNITS The above message contained the following: > I try to install the library udunits and i've a problem when I tape make. In > annexe, there is the make.log. > Thanks to help me. > Fred > > +---------------- > | Frédéric RENAUD > | Royal Observatory of Belgium - Observatoire Royal de Belgique > | - Heure, Rotation de la Terre et Geodesie Spatiale - > | 3, avenue Circulaire | phone : +32-2-373-67-33 (work) > | B-1180 Bruxelles, Belgium | email : address@hidden > +-------------------------------------------------------- ... > making `all' in directory /home/renaudf/udunits-1.11.7/src/lib > > make[1]: Entering directory `/home/renaudf/udunits-1.11.7/src/lib' > cc -c -O -I../port/misc -I../port/cfortran > -DUT_DEFAULT_PATH='"/home/renaudf/udu > nits-1.11.7/etc/udunits.dat"' utlib.c > In file included from utlib.c:29: > ../port/cfortran/cfortran.h:132:3: #error "cfortran.h: Can't find your > environm > ent among: - MIPS cc and f77 2.0. (e.g. Silicon Graphics, DECstations, > ...) > - IBM AIX XL C and FORTRAN Compiler/6000 Version 01.01.0000.0000 > > - VAX VMS CC 3.1 and FORTRAN 5.4. - > Alpha > VMS DEC C 1.3 and DEC FORTRAN 6.0. - Alpha OSF > DE > C C and DEC Fortran for OSF/1 AXP Version 1.2 - Apollo DomainOS > 10. > 2 (sys5.3) with f77 10.7 and cc 6.7. - CRAY > > - NEC SX-4 SUPER-UX > > - CONVEX > > - Sun > > - PowerStation Fortran with Visual C++ > > - HP9000s300/s700/s800 Latest test with: HP-UX A.08.07 A > 9000/7 > 30 - LynxOS: cc or gcc with f2c. > > - VAXUltrix: vcc,cc or gcc with f2c. gcc or cc with f77. - > > f77 with vcc works; but missing link magic for f77 I/O. - > > NO fort. None of gcc, cc or vcc generate required names. - f2c : Use > #de > fine f2cFortran, or cc -Df2cFortran - NAG f90: Use #define > NA > Gf90Fortran, or cc -DNAGf90Fortran - Absoft UNIX F77: Use > #define A > bsoftUNIXFortran or cc -DAbsoftUNIXFortran - Absoft Pro Fortran: Use > #define > AbsoftProFortran - Portland Group Fortran: Use #define pgiFortran" > make[1]: *** [utlib.o] Error 1 > make[1]: Leaving directory `/home/renaudf/udunits-1.11.7/src/lib' > make: *** [lib/all] Error 1 The above indicates that a system-dependent C macro wasn't set in the CPPFLAGS environment variable before the configure script was executed. The C macro tells the C compiler what Fortran-calling-C conventions to use. I could not tell from your "make.log" file what your system was, so I cannot tell you what macro to set. I suggest that you look at the examples in the file INSTALL and carefully follow the instructions near the end of that file. Regards, Steve Emmerson <http://www.unidata.ucar.edu>