[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #XPM-134840]: compiling udunits 1.12.9 using gfortran/gcc v 4.4.0 c ompilers



Yolande,

> I'm having trouble compiling udunits 1.12.9 using the gcc/gfortran
> compiler suite, v 4.4.0. Here is the output from uname -a
> 
> Darwin ocean.atmo.arizona.edu.30.196.128.in-addr.arpa 9.6.0 Darwin
> Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008;
> root:xnu-1228.9.59~1/RELEASE_I386 i386
> 
> I've attached the config.log and make.log files.

For some reason, those files were not attached to your email.  Would
you please resend them along with the file "configure.log", which is
the combined output from the standard output and standard error streams.

> I've set CPPFLAGS to '-Df2cFortran', CC to 'gcc', FC to 'gfortran'
> CFLAGS to '-g -O2' and FF to '-O'. I've also added the '-fno-common'
> to the CFLAGS and the '-DNDEBUG' to the CPPFLAGS based on some Linux
> compile setups I've found.
> 
> I've searched the udunits support site and noticed that someone wrote
> in that they compiled an earlier version of udunits with gfortran and
> g95 (I think in July 2007). I'm wondering if I just don't have the
> correct flags. It seems like the -Df2cFortan flag would be for using
> f2c not gfortran. There is no option for using gfortran for any of
> the systems listed in the INSTALL file. Do I need to install f2c to
> use udunits??
> 
> Thank you, Yolande Serra
> 
> ----------------------------------------------------------
> Yolande Serra, Assoc. Research Prof.
> Department of Atmospheric Science
> 524 PAS Bldg
> 1118 E 4th St, P.O. Box 210081
> University of Arizona
> Tucson, AZ 85721-0081
> Tel: (520) 621-6619; Fax: (520) 621-6833

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: XPM-134840
Department: Support UDUNITS
Priority: Normal
Status: On Hold