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
| [reply] [d/l] |
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
| [reply] |
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)
| [reply] |
"...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
| [reply] [d/l] |