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

20040120: problems building udunits on Solaris 9 x86 gcc



Robert,

>Date: Tue, 20 Jan 2004 09:50:46 -0600
>From: Robert Mullenax <address@hidden>
>Organization: Universal Weather and Aviation
>To: "'Steve Emmerson'" <address@hidden>
>Subject: RE: 20040120: problems building udunits on Solaris 9 x86 gcc 
>Keywords: 200401192213.i0JMDKp2010547 UDUNITS

The above message contained the following:

> This is the version of Perl that came with the OS
> (which of course would have been built with the Sun
> compilers).  So on any Solaris box after Solaris 8
> you must install a non-Sun version of Perl if
> you don't have the Sun compiler?

If your perl utility was compiled with a Sun native compiler (which you
can verify via the command "perl -V") then you might be able to build
the UDUNITS package by setting the environment variable CC to the
pathname of the compiler, e.g.,

    $ make distclean
    ...
    $ CC=/opt/SUNWspro/bin/c89 ./configure >configure.log 2>&1

The last command assumes a standard user-shell.  You might have to
adjust it to your user-shell.

> Thanks,
> Robert

Regards,
Steve Emmerson