Skip Menu |
 

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 124914
Status: open
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: hanzer [...] riseup.net
Cc: slaven [...] rezic.de
AdminCc:

Bug Information
Severity: Critical
Broken in: 804.034
Fixed in: (no value)



CC: slaven [...] rezic.de
Subject: Tk installation fails on Scientific Linux 7.4 with *** No rule to make target `test_dynamic'.
Download (untitled) / with headers
text/plain 1.9k
$ cpanm Tk --> Working on Tk Fetching http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-804.034.tar.gz ... OK Configuring Tk-804.034 ... OK Building and testing Tk-804.034 ... FAIL ! Installing Tk failed. See /home/hanzer/.cpanm/work/1522020927.6008/build.log for details. Retry with --force to force install it. $ tail -23 /home/hanzer/.cpanm/work/1522020927.6008/build.log "/home/hanzer/.local/perl/bin/perl" "-I../t" "-MTkTest" "-e" "checked_test_harness('../xt', 0, '../blib/lib', '../blib/arch')" t/*.t t/basic.t .. ok t/crash.t .. ok All tests successful. Files=2, Tests=6, 2 wallclock secs ( 0.07 usr 0.01 sys + 0.89 cusr 0.16 csys = 1.13 CPU) Result: PASS make[1]: Leaving directory `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/PNG' make[1]: Entering directory `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/JPEG' "/home/hanzer/.local/perl/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- JPEG.bs ../blib/arch/auto/Tk/JPEG/JPEG.bs 644 cd jpeg && make libjpeg.a make[2]: Entering directory `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/JPEG/jpeg' make[2]: `libjpeg.a' is up to date. make[2]: Leaving directory `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/JPEG/jpeg' make[2]: Entering directory `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/JPEG/jpeg' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/JPEG/jpeg' make[2]: Entering directory `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/JPEG/jpeg' make[2]: *** No rule to make target `test_dynamic'. Stop. make[2]: Leaving directory `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/JPEG/jpeg' make[1]: *** [subdirs-test_dynamic] Error 2 make[1]: Leaving directory `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/JPEG' make: *** [subdirs-test_dynamic] Error 2 -> FAIL Installing Tk failed. See /home/hanzer/.cpanm/work/1522020927.6008/build.log for details. Retry with --force to force install it.
Download (untitled) / with headers
text/plain 2.4k
On 2018-03-25 19:55:35, hanzer@riseup.net wrote: Show quoted text
> $ cpanm Tk > --> Working on Tk > Fetching http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-804.034.tar.gz > ... OK > Configuring Tk-804.034 ... OK > Building and testing Tk-804.034 ... FAIL > ! Installing Tk failed. See > /home/hanzer/.cpanm/work/1522020927.6008/build.log for details. Retry > with --force to force install it. > > $ tail -23 /home/hanzer/.cpanm/work/1522020927.6008/build.log > "/home/hanzer/.local/perl/bin/perl" "-I../t" "-MTkTest" "-e" > "checked_test_harness('../xt', 0, '../blib/lib', '../blib/arch')" > t/*.t > t/basic.t .. ok > t/crash.t .. ok > All tests successful. > Files=2, Tests=6, 2 wallclock secs ( 0.07 usr 0.01 sys + 0.89 cusr > 0.16 csys = 1.13 CPU) > Result: PASS > make[1]: Leaving directory > `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/PNG' > make[1]: Entering directory > `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/JPEG' > "/home/hanzer/.local/perl/bin/perl" -MExtUtils::Command::MM -e > 'cp_nonempty' -- JPEG.bs ../blib/arch/auto/Tk/JPEG/JPEG.bs 644 > cd jpeg && make libjpeg.a > make[2]: Entering directory > `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/JPEG/jpeg' > make[2]: `libjpeg.a' is up to date. > make[2]: Leaving directory > `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/JPEG/jpeg' > make[2]: Entering directory > `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/JPEG/jpeg' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/JPEG/jpeg' > make[2]: Entering directory > `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/JPEG/jpeg' > make[2]: *** No rule to make target `test_dynamic'. Stop. > make[2]: Leaving directory > `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/JPEG/jpeg' > make[1]: *** [subdirs-test_dynamic] Error 2 > make[1]: Leaving directory > `/home/hanzer/.cpanm/work/1522020927.6008/Tk-804.034/JPEG' > make: *** [subdirs-test_dynamic] Error 2 > -> FAIL Installing Tk failed. See > /home/hanzer/.cpanm/work/1522020927.6008/build.log for details. Retry > with --force to force install it.
A similar ticket, also opened yesterday: https://rt.cpan.org/Ticket/Display.html?id=124910 In your case, it seems that at least libjpeg is missing or cannot be recognized by Tk::JPEG's Makefile.PL. If it's missing, then try to install the system's libjpeg. The other possibility is to try out the git branch mentioned in the other ticket.
Subject: [rt.cpan.org #124914]
Date: Sun, 10 Jun 2018 01:47:29 -0700
To: bug-Tk [...] rt.cpan.org
From: Jeff Dwork <jeffdwork47 [...] gmail.com>
Download (untitled) / with headers
text/plain 204b
If the development libraries for png and jpeg are missing the install will not fail until the tests in PNG/libpng and JPEG/jpeg. Config should test for these libraries and refuse to continue if missing.
RT-Send-CC: jeffdwork47 [...] gmail.com
Download (untitled) / with headers
text/plain 425b
On 2018-06-10 04:47:37, jeffdwork47@gmail.com wrote: Show quoted text
> If the development libraries for png and jpeg are missing the install > will not fail until the tests in PNG/libpng and JPEG/jpeg. > > Config should test for these libraries and refuse to continue if missing.
No, the idea here is different. There are (older) versions of libpng and libjpeg bundled with the Tk code. These are used if the system libraries are missing.
Subject: Re: [rt.cpan.org #124914] Tk installation fails on Scientific Linux 7.4 with *** No rule to make target `test_dynamic'.
Date: Sun, 10 Jun 2018 22:11:31 -0700
To: bug-Tk [...] rt.cpan.org
From: Jeff Dwork <jeffdwork47 [...] gmail.com>
Download (untitled) / with headers
text/plain 756b
Then the test code should use the same bundled libraries. As is, the build works but the tests fail if the system libraries are missing. Thank you for this very useful module. On Sun, Jun 10, 2018 at 5:21 AM, Slaven_Rezic via RT <bug-Tk@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=124914 > > > On 2018-06-10 04:47:37, jeffdwork47@gmail.com wrote:
>> If the development libraries for png and jpeg are missing the install >> will not fail until the tests in PNG/libpng and JPEG/jpeg. >> >> Config should test for these libraries and refuse to continue if missing.
> > No, the idea here is different. There are (older) versions of libpng and libjpeg bundled with the Tk code. These are used if the system libraries are missing. >


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.