Hi Ingo,

Can I draw your attention to part of your message which you may have missed:

WARNING: Error loading PDL: '[PDL->Version: 14 PDL_CORE_VERSION: 12 XS_VERSION: 
0.06] PDL::FFTW3 needs to be recompiled against the newly installed PDL at 
/usr/lib/x86_64-linux-gnu/perl-base/DynaLoader.pm line 204.

You will need to do this, as I said in my announcement email for PDL 2.040. 
PDL_CORE_VERSION is not connected to the Perl variable $PDL::VERSION, but is 
the version of the definition of “struct pdl”. When that changes by you 
installing a later PDL, things compiled with the old definition become binary 
incompatible and therefore PDL correctly refuses to load them. So, you need to 
reinstall all your PDL extensions (in this case, apparently PDL::FFTW3).

Also, the reason why PDL::Core shows as version 2.028 is because currently PDL 
only has a single meaningful version number, $PDL::VERSION. I stopped updating 
the PDL::Core version number for PAUSE purposes at 2.028 because it was 
creating extra work for no benefit. If you look at $PDL::Core::VERSION, you 
will see it shows the current PDL version. Since it is not meaningful to try 
installing PDL::Core by itself (for now!), nothing is lost.

Best regards,
Ed

From: Ingo Schmid<mailto:[email protected]>
Sent: 28 April 2021 16:01
To: [email protected]<mailto:[email protected]>
Subject: Re: [Pdl-general] PDL 2.040

Hi Ed,

thanks for pushing out releases at an unbelievable rate. Yury has a
point, though. This is what I get after upgrading PDL (cpanm) on debian.

osboxes@osboxes:~$ pdl

perlDL shell v1.357

 PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
'COPYING' in the PDL distribution. This is free software and you  are
welcome to redistribute it under certain conditions, see  the same file
for details.
ReadLines, NiceSlice, MultiLines  enabled

Reading /home/osboxes/.perldlrc...

WARNING: Error loading PDL: '[PDL->Version: 14 PDL_CORE_VERSION: 12
XS_VERSION: 0.06] PDL::FFTW3 needs to be recompiled against the newly
installed PDL at /usr/lib/x86_64-linux-gnu/perl-base/DynaLoader.pm line 204.

Compilation failed in require at /home/osboxes/.perldlrc line 11.

BEGIN failed--compilation aborted at /home/osboxes/.perldlrc line 11.

Compilation failed in require at (eval 11) line 1.

' - trying blib.

WARNING: PDL startup not found only plain perl available



Note: AutoLoader not enabled ('use PDL::AutoLoader' recommended)



perl> p $PDL::VERSION

2.040

perl> q

osboxes@osboxes:~$ pdl2

Perldl2 Shell v0.008

      PDL comes with ABSOLUTELY NO WARRANTY. For details, see the
file 'COPYING' in the PDL distribution. This is free software and you
are welcome to redistribute it under certain conditions, see the same
file for details.

Loaded plugins:
  CleanErrors
... < cutting here>

Loaded PDL v2.040



load_rcfile: got $HOME = /home/osboxes

load_rcfile: loading /home/osboxes/.perldlrc

Error executing script /home/osboxes/.perldlrc: [PDL->Version: 14
PDL_CORE_VERSION: 12 XS_VERSION: 0.06] PDL::FFTW3 needs to be recompiled
against the newly installed PDL at
/usr/lib/x86_64-linux-gnu/perl-base/DynaLoader.pm line 204.

Compilation failed in require at (eval 394) line 15.

BEGIN failed--compilation aborted at (eval 394) line 15.

osboxes@osboxes:~$ sudo cpanm PDL::Core

[sudo] password for osboxes:

Sorry, try again.

[sudo] password for osboxes:

PDL::Core is up to date. (2.028)


Ingo


On 4/28/2021 3:08 PM, Yury Pakhomov wrote:
> simple command "pdl" requires the PDL::Version module
>
> 28.04.2021 15:58, Ed . пишет:
>>
>> The PDL::Version module was removed in 2.035. If a version check is
>> needed, please “require PDL” and use the “$PDL::VERSION”
>> variable instead, which I believe will work on any version going back
>> several years.
>>
>> Best regards,
>>
>> Ed
>>
>> *From: *vividsnow <mailto:[email protected]>
>> *Sent: *28 April 2021 13:50
>> *To: *[email protected]
>> <mailto:[email protected]>
>> *Subject: *Re: [Pdl-general] PDL 2.040
>>
>> hi
>>
>> check your ~/.perldlrc (perldoc PDL::perldl)
>>
>> On 4/28/21 2:29 PM, Yury Pakhomov wrote:
>> > Hello All!
>> >
>> > I update PDL to 2.040 version. And I faced with a problem:
>> >
>> > Can't locate PDL/Version.pm in @INC (you may need to install the
>> PDL::Version module) (@INC contains:
>> > /home/monstr/perllib/ /usr/local/lib64/perl5 /usr/local/share/perl5
>> /usr/lib64/perl5/vendor_perl
>> > /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at
>> /usr/bin/perldl line 320.
>> >
>> > Yury
>> >
>> >
>> > _______________________________________________
>> > pdl-general mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/pdl-general
>> <https://lists.sourceforge.net/lists/listinfo/pdl-general>
>>
>>
>> _______________________________________________
>> pdl-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/pdl-general
>> <https://lists.sourceforge.net/lists/listinfo/pdl-general>
>>
>>
>>
>> _______________________________________________
>> pdl-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/pdl-general
>
>
>
> _______________________________________________
> pdl-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pdl-general


_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to