Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[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 <haley@xxxxxxxx>
>Organization: UCAR/SCD
>To: Steve Emmerson <steve@xxxxxxxxxxxxxxxx>
>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


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690