Hi newperldeveloper,

The PDL::Graphics::PLplot distro is cunningly designed to play tricks. Here's what I get on Ubuntu-18.04, perl-5.32.0:
$ cpanm -i PDL::Graphics::PLplot --> Working on PDL::Graphics::PLplot Fetching http://www.cpan.org/authors/id/D/DH/DHUNT/PDL-Graphics-PLplot +-0.74.tar.gz ... OK Configuring PDL-Graphics-PLplot-0.74 ... OK Building and testing PDL-Graphics-PLplot-0.74 ... OK Successfully installed PDL-Graphics-PLplot-0.74 1 distribution installed $
But then:
$ perl -MPDL::Graphics::PLplot -le 'print "ok";' Can't locate PDL/Graphics/PLplot.pm in @INC (you may need to install t +he PDL::Graphics::PLplot module) (@INC contains: /home/sisyphus/perl- +5.32.0-d/lib/site_perl/5.32.0/x86_64-linux /home/sisyphus/perl-5.32.0 +-d/lib/site_perl/5.32.0 /home/sisyphus/perl-5.32.0-d/lib/5.32.0/x86_6 +4-linux /home/sisyphus/perl-5.32.0-d/lib/5.32.0). BEGIN failed--compilation aborted.
Turns out that I don't have the plplot library installed.
The PDL-Graphics-PLplot distro is designed to fool the cpan and cpanm utilities into thinking that the build was a success, even when it failed.
The cpan utility makes things a little more apparent:
$ cpan -i PDL::Graphics::PLplot Loading internal logger. Log::Log4perl recommended for better logging Reading '/home/sisyphus/.cpan/Metadata' Database was generated on Thu, 20 Aug 2020 00:17:03 GMT Running install for module 'PDL::Graphics::PLplot' Checksum for /home/sisyphus/.cpan/sources/authors/id/D/DH/DHUNT/PDL-Gr +aphics-PLplot-0.74.tar.gz ok 'YAML' not installed, will not store persistent state Configuring D/DH/DHUNT/PDL-Graphics-PLplot-0.74.tar.gz with Makefile.P +L PDL is installed Checking PDL::Graphics::PLplot... Searching for libplplot.so library. Searching for libplplotd.so library. Cannot find plplot library (libplplotd.so), skipping PDL::Graphics::PL +plot Not building PDL::Graphics::PLplot Cannot find plplot library (libplplotd.so), skipping PDL::Graphics::PL +plot Not building PDL::Graphics::PLplot Checking if your kit is complete... Looks good DHUNT/PDL-Graphics-PLplot-0.74.tar.gz /home/sisyphus/perl-5.32.0-d/bin/perl Makefile.PL -- OK Running make for D/DH/DHUNT/PDL-Graphics-PLplot-0.74.tar.gz Could not read metadata file. Falling back to other methods to determi +ne prerequisites make: Nothing to be done for 'all'. DHUNT/PDL-Graphics-PLplot-0.74.tar.gz /usr/bin/make -- OK The current configuration of allow_installing_outdated_dists is 'ask/y +es', but for this option we would need 'CPAN::DistnameInfo' installed +. Please install 'CPAN::DistnameInfo' as soon as possible. As long as + we are not equipped with 'CPAN::DistnameInfo' this option does not t +ake effect Running make test for DHUNT/PDL-Graphics-PLplot-0.74.tar.gz make: Nothing to be done for 'test'. DHUNT/PDL-Graphics-PLplot-0.74.tar.gz /usr/bin/make test -- OK Running make install for DHUNT/PDL-Graphics-PLplot-0.74.tar.gz make: Nothing to be done for 'install'. DHUNT/PDL-Graphics-PLplot-0.74.tar.gz /usr/bin/make install -- OK
See ? Everything went fine, including /usr/bin/make install ;-)

So, I'm thinking that you, too, might not have the plplot library installed.
If that's not the case, let me know how I can get apt-get to install the plplot library on Ubuntu and I'll investigate your problem further.

Cheers,
Rob

In reply to Re^3: PDL::Graphics::PLplot fails on install by syphilis
in thread PDL::Graphics::PLplot fails on install by newperldeveloper

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.