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

20030225: Trouble installing udunits



Brian,

> To: "'address@hidden'" <address@hidden>
> From: "HOETH, BRIAN R. (JSC-ZS) (LM)" <address@hidden>
> Subject: Trouble installing udunits
> Organization: UCAR/Unidata

The above message contained the following:

> making `dynamic' in directory /home/ldm/udunits-1.11.7/src/perl
> 
>       /usr/local/bin/perl -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi =
> -I/opt/perl/lib/5.6.1 /opt/perl/lib/5.6.1/ExtUtils/xsubpp  -typemap =
> /opt/perl/lib/5.6.1/ExtUtils/typemap -typemap typemap UDUNITS.xs > =
> UDUNITS.xsc && mv UDUNITS.xsc UDUNITS.c
> Please specify prototyping behavior for UDUNITS.xs (see perlxs manual)
>       /bin/cc -c -I../lib -I../port/misc -D_POSIX_C_SOURCE=3D199506L =
> -D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -mpa-risc-1-1 -fPIC =
> -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE =
> -D_FILE_OFFSET_BITS=3D64 -O    -DVERSION=3D\"1.11.7\"  =
> -DXS_VERSION=3D\"1.11.7\" -fPIC =
> -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE -w -D_HPUX_SOURCE =
> -Dextname UDUNITS.c
> cc: warning 422: Unknown option "m" ignored.
> cc: warning 422: Unknown option "a" ignored.
> cc: warning 422: Unknown option "-" ignored.
> cc: warning 422: Unknown option "i" ignored.
> cc: warning 422: Unknown option "-" ignored.
> cc: warning 422: Unknown option "1" ignored.
> cc: warning 422: Unknown option "-" ignored.
> cc: warning 422: Unknown option "1" ignored.
> cc: warning 422: Unknown option "fPIC" ignored.
> cc: warning 422: Unknown option "fno-strict-aliasing" ignored.
> cc: warning 422: Unknown option "fPIC" ignored.
...

It appears from the above that the C compiler, /bin/cc, doesn't
understand the options that were used to build the perl(1) utility.

Do you want or need the perl extension module to UDUNITS?  If you don't
need or want it, then the simplest thing to do is to not build it by
setting the enviroment variable PERL to the empty-string prior to
executing the configure script.

If you do want or need the perl module, then you'll have to ensure that
the same compilation environment is used to build the UDUNITS package as
was used to build the perl utility.  You can discover this environment
via the "-V" option to perl.  Use the information to set the environment
variables CC, CPPFLAGS, and CFLAGS prior to executing the configure
script.

Remember to do a "make distclean" before re-executing the configure
script.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.