Closed gpetrowitsch closed 3 years ago
Thank you for the report. Here at Uni Regensburg, currently all of our users on Windows still use Strawberry Perl 5.20, so we have never run into this. I have filed a bug in the PDL repo: https://github.com/PDLPorters/pdl/issues/265 Note that linking to NI-VISA does not work with versions 5.22 and 5.24 due to a bug in the GNU binutils, see https://rt.cpan.org/Public/Bug/Display.html?id=121219. So, at the moment my recommendation would be to use either Strawberry Perl 5.20.3.3 or 5.26.3.1.
Thanks a lot for the hint. I'll try 5.20 and see, what happens...
Installation with Strawberry Perl 5.20.3.3 worked fine. Unfortunately, the Lab::Visa installation with cpanm Lab::Visa
as instructed on the installation page, didn't work, so I tried version 5.26, but
installation of Lab::Visa didn't work either.
So I donwloaded the tar.gz file, unpacked it and did this in the target directory, to which I unpacked the file:
perl Makefile.PL
gmake
gmake test
gmake install
After that, I just had to edit the Visa.pm at "<PerlPath>\perl\site\lib\Lab\Bus" to accept USB devices. For that, the function _check_resource_name must get an additional clause, like this:
elsif (
$resname =~ /^USB[0-9]*::0x[0-9A-F]*::0x[0-9A-F]*::\w+(::INSTR)?$/ # USB INSTR
) {
return 1;
}
And now I'm happy :-) Everything works fine. Thanks for your help!!!
OK let's close this then. :)
I'm trying to install Lab::Measurement on a Strawberry Perl (5.28, 32bit) running on my Windows 10 machine, but it fails when it comes to installing the obviously required PDL module.
Therefore I tried
cpanm --notest PDL
andcpanm --notest --force PDL
but - after lots of processing - I keep getting this final message (see below).
It obviously complains 4x about an "undefined reference to `quadmath_snprintf'", but I have no idea, what to do about that.
Any help is greatly appreciated!