I had another idea.  According to the description,
the $VERSION check by the PAUSE indexer is run
in a Safe compartment as well as needing to assign
on one line.

The .pd file a perl file so what happens if you
try something like this at the top:

   my $PDFILE_VERSION = '4.07'; $VERSION = $PDFILE_VERSION;

of netcdf.pd and then change the here document
with the pp_addpm() for the $VERSION assignment
to qq() based and use this as the assignment:

   $VERSION = $PDFILE_VERSION;

Cheers,
Chris

On 2/1/2011 8:12 PM, Chris Marshall wrote:
> Hi Doug-
>
> Did you ever try adding an auxiliary version.pm file
> with just the desired version number in that?  Then
> you would need to refer to that for the module version.
>
> --Chris
>
> On 2/1/2011 6:16 PM, Doug Hunt wrote:
>> Hi Ivan:  I've done some work lately trying to get this indexed correctly,
>> but to no avail.  The only way I can get this to work is to bypass the
>> CPAN shell and download the PDL::NetCDF.tar.gz directly.  Then untar, perl
>> Makefile.PL; make; make test; make install.
>>
>> You also need to set environment variables to tell it where to find the
>> netcdf include files and library.
>>
>> PDL::NetCDF is working just fine and continues to be maintained.
>>
>> Regards,
>>
>>      Doug
>>
>> [email protected]
>> Software Engineer
>> UCAR - COSMIC, Tel. (303) 497-2611
>>
>> On Wed, 2 Feb 2011, Ivan Shmakov wrote:
>>
>>>     I've tried to install PDL::NetCDF with $ cpan PDL::NetCDF, yet
>>>     it failed with:
>>>
>>> CPAN: Storable loaded ok (v2.20)
>>> Going to read '/.../.cpan/Metadata'
>>>    Database was generated on Tue, 01 Feb 2011 19:38:59 GMT
>>> Running install for module 'PDL::NetCDF'
>>>
>>>    The module PDL::NetCDF isn't available on CPAN.
>>>
>>>    Either the module has not yet been uploaded to CPAN, or it is
>>>    temporary unavailable. Please contact the author to find out
>>>    more about the status. Try 'i PDL::NetCDF'.
>>>
>>>     Doing as suggested, I get:
>>>
>>> CPAN: Storable loaded ok (v2.20)
>>> Going to read '/.../.cpan/Metadata'
>>>    Database was generated on Tue, 01 Feb 2011 19:38:59 GMT
>>> Module id = PDL::NetCDF
>>>      DESCRIPTION  Reads/Writes NetCDF files from/to PDL objs
>>>      CPAN_USERID  DHUNT (Douglas Hunt<[email protected]>)
>>>      CPAN_VERSION undef
>>>      CPAN_FILE    Contact Author Douglas Hunt<[email protected]>
>>>      DSLIP_STATUS RdcOp (released,developer,C,object-oriented,Standard-Perl)
>>>      INST_FILE    (not installed)
>>>
>>>     So I'm still curious as to what's up with the package?
>>>
>>>     TIA.

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to