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

[UDUNITS #RMZ-185423]: problems building udunits-1.12.4



Ellyn,

> Well, my colleague appears to have figured it out- sigh.  I don't even
> have the portland compiler, so have no idea why the make appears to have
> worked doing what he did (below)...
> 
> Is this about the right size for the libraries?
> -rw-r--r--  1 root root  2136 Oct 11 13:53 libudport.a
> -rw-r--r--  1 root root 47658 Oct 11 13:53 libudunits.a
> 
> Thanks for all the help!  Ellyn
> 
> < from Rich Signell>
> I just tried downloading udunits-1.12.4 and this worked for me:
> 
> 1099  export CFLAGS=-DpgiFortran
> 1100  export LDFLAGS=-lm
> 1101  export CC=gcc
> 1102  ./configure
> 1104  make

Yup.  In my "configure" example, I forgot to include a specification
of a Fortran compiler, i.e.,

    ./configure CPPFLAGS=-D_XOPEN_SOURCE=500 LD_MATH=-lm

should have been, instead,

    ./configure CPPFLAGS='-Df2cFortran -D_XOPEN_SOURCE=500' LD_MATH=-lm

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: RMZ-185423
Department: Support UDUNITS
Priority: Normal
Status: Closed