Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Problem install Tk on CentOs using Perl 5.26

by dabella12 (Acolyte)
on Jun 24, 2017 at 13:34 UTC ( [id://1193452]=perlquestion: print w/replies, xml ) Need Help??

dabella12 has asked for the wisdom of the Perl Monks concerning the following question:

Hello monks i'm having a problem install Tk , my system is CentOs 6.4 32bit and I am running perl 5.26 this ist the message i'm getting

Running make test

"/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tk.b +s blib/arch/auto/Tk/Tk.bs 644 cd pTk && make DEFINE="" LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTI +MIZE="-O2" PREFIX="/usr/local" PASTHRU_DEFINE=' ' PASTHRU_INC=' ' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/pT +k' make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/pTk +' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/pT +k' make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/pTk +' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/po +d' Manifying 50 pod documents Manifying 52 pod documents make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/pod +' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/de +mos' Manifying 1 pod document Manifying 2 pod documents make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/dem +os' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Xl +ib' make[2]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Xl +ib/X' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- X.bs + ../../blib/arch/auto/Tk/X/X.bs 644 make[2]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Xli +b/X' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Xlib +.bs ../blib/arch/auto/Tk/Xlib/Xlib.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Xli +b' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Wi +nPhoto' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- WinP +hoto.bs ../blib/arch/auto/Tk/WinPhoto/WinPhoto.bs 644 Manifying 1 pod document make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Win +Photo' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Ti +xish' make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Tix +ish' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Ti +xPixmap' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pixm +ap.bs ../blib/arch/auto/Tk/Pixmap/Pixmap.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Tix +Pixmap' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Ti +xGrid' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- TixG +rid.bs ../blib/arch/auto/Tk/TixGrid/TixGrid.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Tix +Grid' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Te +xtList' Manifying 1 pod document make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Tex +tList' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Te +xt' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Text +.bs ../blib/arch/auto/Tk/Text/Text.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Tex +t' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/TL +ist' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- TLis +t.bs ../blib/arch/auto/Tk/TList/TList.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/TLi +st' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Sc +rollbar' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Scro +llbar.bs ../blib/arch/auto/Tk/Scrollbar/Scrollbar.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Scr +ollbar' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Sc +ale' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Scal +e.bs ../blib/arch/auto/Tk/Scale/Scale.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Sca +le' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/PN +G' cd zlib && make libz.a "CC=cc -fPIC" RANLIB=":" make[2]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/PN +G/zlib' make[2]: `libz.a' is up to date. make[2]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/PNG +/zlib' make[2]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/PN +G/libpng' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/PNG +/libpng' make[2]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/PN +G/zlib' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/PNG +/zlib' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- PNG. +bs ../blib/arch/auto/Tk/PNG/PNG.bs 644 Manifying 1 pod document make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/PNG +' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/NB +Frame' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- NBFr +ame.bs ../blib/arch/auto/Tk/NBFrame/NBFrame.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/NBF +rame' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Mw +m' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Mwm. +bs ../blib/arch/auto/Tk/Mwm/Mwm.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Mwm +' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Me +nubutton' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Menu +button.bs ../blib/arch/auto/Tk/Menubutton/Menubutton.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Men +ubutton' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Li +stbox' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- List +box.bs ../blib/arch/auto/Tk/Listbox/Listbox.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Lis +tbox' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/JP +EG' cd jpeg && make libjpeg.a make[2]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/JP +EG/jpeg' make[2]: `libjpeg.a' is up to date. make[2]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/JPE +G/jpeg' make[2]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/JP +EG/jpeg' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/JPE +G/jpeg' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- JPEG +.bs ../blib/arch/auto/Tk/JPEG/JPEG.bs 644 Manifying 1 pod document Manifying 1 pod document make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/JPE +G' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/In +putO' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Inpu +tO.bs ../blib/arch/auto/Tk/InputO/InputO.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Inp +utO' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/IO +' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- IO.b +s ../blib/arch/auto/Tk/IO/IO.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/IO' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/HL +ist' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- HLis +t.bs ../blib/arch/auto/Tk/HList/HList.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/HLi +st' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Ev +ent' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Even +t.bs ../blib/arch/auto/Tk/Event/Event.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Eve +nt' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/En +try' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Entr +y.bs ../blib/arch/auto/Tk/Entry/Entry.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Ent +ry' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Dr +agDrop' Manifying 3 pod documents make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Dra +gDrop' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Co +mpound' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Comp +ound.bs ../blib/arch/auto/Tk/Compound/Compound.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Com +pound' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/Ca +nvas' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Canv +as.bs ../blib/arch/auto/Tk/Canvas/Canvas.bs 644 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/Can +vas' make[1]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/PN +G' "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- PNG. +bs ../blib/arch/auto/Tk/PNG/PNG.bs 644 cd zlib && make libz.a "CC=cc -fPIC" RANLIB=":" make[2]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/PN +G/zlib' make[2]: `libz.a' is up to date. make[2]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/PNG +/zlib' make[2]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/PN +G/libpng' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/PNG +/libpng' make[2]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/PN +G/zlib' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/PNG +/zlib' make[2]: Entering directory `/home/dabella/.cpan/build/Tk-804.033-1/PN +G/libpng' make[2]: *** No rule to make target `test_dynamic'. Stop. make[2]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/PNG +/libpng' make[1]: *** [subdirs-test_dynamic] Error 2 make[1]: Leaving directory `/home/dabella/.cpan/build/Tk-804.033-1/PNG +' make: *** [subdirs-test_dynamic] Error 2 SREZIC/Tk-804.033.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports SREZIC/Tk-804.033.tar.gz Failed during this command: SREZIC/Tk-804.033.tar.gz : make_test NO

ny help will be appreciated

Replies are listed 'Best First'.
Re: Problem install Tk on CentOs using Perl 5.26
by zentara (Archbishop) on Jun 25, 2017 at 11:46 UTC
    ny help will be appreciated

    Hi, don't use cpan to install. Download the module itself from Tk source . Download the tarball and do "perl Makefile.PL" then "make" and finally as root make install. Tell us what errors you receive at any step of the recipe.


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

      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
        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
        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
Re: Problem install Tk on CentOs using Perl 5.26
by karlgoethebier (Abbot) on Jun 24, 2017 at 14:22 UTC
    "Annoying the cook will result in smaller portions." (Unknown author)

    Please add some code tags. See also Writeup Formatting Tips

    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});'See

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1193452]
Approved by shmem
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-26 05:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found