in reply to Re: Problem install Tk on CentOs using Perl 5.26
in thread Problem install Tk on CentOs using Perl 5.26

This is the error mesg i am getting when i run make test

make[2]: Entering directory `/home/dabella/Downloads/Tk-804.033/PNG/zl +ib' make[2]: `libz.a' is up to date. make[2]: Leaving directory `/home/dabella/Downloads/Tk-804.033/PNG/zli +b' make[2]: Entering directory `/home/dabella/Downloads/Tk-804.033/PNG/li +bpng' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/dabella/Downloads/Tk-804.033/PNG/lib +png' make[2]: Entering directory `/home/dabella/Downloads/Tk-804.033/PNG/zl +ib' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/dabella/Downloads/Tk-804.033/PNG/zli +b' make[2]: Entering directory `/home/dabella/Downloads/Tk-804.033/PNG/li +bpng' make[2]: *** No rule to make target `test_dynamic'. Stop. make[2]: Leaving directory `/home/dabella/Downloads/Tk-804.033/PNG/lib +png' make[1]: *** [subdirs-test_dynamic] Error 2 make[1]: Leaving directory `/home/dabella/Downloads/Tk-804.033/PNG' make: *** [subdirs-test_dynamic] Error 2

Replies are listed 'Best First'.
Re^3: Problem install Tk on CentOs using Perl 5.26
by syphilis (Archbishop) on Jun 25, 2017 at 13:03 UTC
    Aaaah ... is this happening after all of the tests have been run ?
    Looking at this bug report (same problem, same module, but different subdir) it would seem so .... or (UPDATE) maybe not, on second look.

    That bug report indicates a couple of workarounds:
    1) change the "test:" line to "test test_dynamic:". I assume this pertains to the generated Makefile in the particular subdir (PNG/libpng/Makefile in your case);
    2) try installing a different version of ExtUtils::MakeMaker.

    BUT, if the tests have already been run, and the results of those tests are satisfactory to you, then I would just run 'make install' and not worry about this problem.

    Cheers,
    Rob
Re^3: Problem install Tk on CentOs using Perl 5.26
by zentara (Cardinal) on Jun 25, 2017 at 17:24 UTC
    Hi, don't worry if the Tk tests fail. Install it and it works fine. There is some reason why the tests fail, IIRC, but it dosn't affect the module. By the way, in my recipe, did I include make test? :-)

    So, wipe out your old source, unpack a fresh tgz download, then "perl Makefile.PL", "make", "make install" ( as root)


    I'm not really a human, but I play one on earth. ..... an animated JAPH
      "...don't worry if the Tk tests fail. Install it and it works fine..."

      May be. Or just not. Who knows. The whole Perl Machinery relies on tests and that is one major reason what makes it so strong. I don't know when i build TK successfully without skipping the tests or force. Perhaps in the days when i used Linux @home and this is a long time ago. And to be honest: I didn't use TK very much.

      Vision - me at a meeting. Boss: "Karl, you builded that crashing TK app. Didn't you run the tests?" Me: "No, some fellow monk told me to skip them because they fail anyway" Boss: "Karl, you're fired!"

      Best regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

      perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

        Yeah, you are right, but maybe the module's author is pressed for time, and fixing real bugs is more important than fixing some artificially devised tests. I'm sure Slaven would love a volunteer to help him with the module. The Tk code runs very well.

        I'm not really a human, but I play one on earth. ..... an animated JAPH