[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Support #IDP-181170]: I want to download UDUNITS
- Subject: [Support #IDP-181170]: I want to download UDUNITS
- Date: Fri, 11 Mar 2011 13:34:55 -0700
Huozhenhua,
> I have found that I have downloaded the wrong version of udunits because the
> UDUNITS 2.1.21 package doesn't have a Fortran
> interface,and then I downloaded the version of udunits-1.12.11.
>
> But I still encountered some errors.I have put my installation attemp into
> the attachment,and you can read it after you install it.
> I am looking forward to your suggestions,and I hope you can offor an example
> with the modification steps on the system of Linux Ubuntu for me,
> if it is convenient for you.
>
>
> best regards,
>
> Huozhenhua
The configure(1) script wasn't told what argument-passing
conventions to use when compiling C functions that are callable
from Fortran routines. Please try the following:
1. Go to the top-level source-directory.
2. Execute the command "make distclean".
3. Ensure that the environment variable CPPFLAGS contains the
string "-Df2cFortran" (or whatever macro definition is
appropriate for your Fortran compiler), e.g.,
CPPFLAGS=-Df2cFortran; export CPPFLAGS
The set of potential macros can be found in the examples of
the file INSTALL in the top-level source-directory.
4. Execute the "configure" script. Redirect both the
standard output and standard error streams to the file
"configure.log".
5. Execute the command "make". Redirect both the standard
output and standard error streams to the file "make.log".
6. Execute the command "make test". Redirect both the
standard output and standard error streams to the file
"test.log".
7. Execute the command "make install". Redirect both the
standard output and standard error streams to the file "install.log".
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: IDP-181170
Department: Support UDUNITS
Priority: Normal
Status: Closed