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

20050125: problems building netcdf-perl on IRIX 6.5



Mary,

>Date: Tue, 25 Jan 2005 10:32:22 -0700 (MST)
>From: Mary Haley <address@hidden>
>Organization: UCAR/SCD
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20050125: problems building netcdf-perl on IRIX 6.5 

The above message contained the following:

> We appear to have one in /usr/local/bin, that is at version 5.8.0
> (compared to 5.4.5 for the one in /usr/bin).
> 
> When I do the grep on its corresponding "sv.h" file, it has something
> in it:
> 
> tempest[250] grep SvPV_nolen /usr/local/lib/perl5/5.8.0/IP27-irix/CORE/sv.h
> =for apidoc Am|char*|SvPV_nolen|SV* sv
> Like C<SvPV_nolen>, but converts sv to utf8 first if necessary.
> Like C<SvPV_nolen>, but converts sv to byte representation first if necessary.
> #define SvPV_nolen(sv) \
> #define sv_pv(sv) SvPV_nolen(sv)
> tempest[251]
> 
> Should I give this one a try?

Absolutely!

Try the following:

    1.  Go to the top-level source-directory of the package.

    2.  Execute a "make distclean".

    3.  Set your environment variables as before.  I noticed that your
        LD_NETCDF variable only contained a "-L..." option.  You should
        set it to "-L... -lnetcdf".

    4.  Set the environment variable PERL to "/usr/local/bin/perl".

    5.  Set the environment variable PERL_MANDIR to (I guess)
        "/usr/local/man".

    6.  Re-execute the configure(1) script.

    7.  Re-execute the command "make".

Let me know.

Regards,
Steve Emmerson