Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Tk on windows 7?

by Anonymous Monk
on Nov 21, 2011 at 16:33 UTC ( [id://939251]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Tk on windows 7?
in thread Tk on windows 7?

Can you guess?

The last error is never as useful as the first error

But you should really post the output from perl Makefile.PL && dmake test

Replies are listed 'Best First'.
Re^4: Tk on windows 7?
by Anonymous Monk on Nov 21, 2011 at 17:14 UTC
    Sorry if I am behaving stupid.
    I don't use perl Makefile.PL or dmake test, I tried to use
    cpan Tk in the portableshell.bat shell as discribed in the README.portable.txt
    The error I posted is the first (after about 1000 lines of output). Should I post the whole output-file here?
    Thanks for your time

      I don't use perl Makefile.PL or dmake test

      Yes you do :) cpan call those commands after downloading the tarball

      It is the output of these commands that is important, and no, it won't be thousands of lines

      You don't have to post the whole output, you can read it, and find the first error message

        Hmmm, I'm usually quite good at finding strings in a text file ...
        The output I get has neither 'perl Makefile.PL' nor 'dmake test' in it.
        The only mention of Makefiles are right at the beginning:
        CPAN: CPAN::SQLite loaded ok (v0.199) Running install for module 'Tk' Running make for S/SR/SREZIC/Tk-804.030.tar.gz CPAN: Digest::SHA loaded ok (v5.61) CPAN: Compress::Zlib loaded ok (v2.034) Checksum for E:\Perl\cpan\sources\authors\id\S\SR\SREZIC\Tk-804.030.ta +r.gz ok CPAN: Archive::Tar loaded ok (v1.76) CPAN: File::Temp loaded ok (v0.22) CPAN: CPAN::Meta loaded ok (v2.110930) CPAN: YAML loaded ok (v0.73) CPAN.pm: Going to build S/SR/SREZIC/Tk-804.030.tar.gz E:\Perl\perl\bin\perl.exe is installed in E:\Perl\perl\lib okay Checking if your kit is complete... Looks good Writing Makefile for Tk::pTk Writing Makefile for Tk::pod Checking if your kit is complete... Looks good Writing Makefile for Tk::demos Writing Makefile for Tk::X Writing Makefile for Tk::Xlib Writing Makefile for Tk::Tixish Writing Makefile for Tk::Pixmap Writing Makefile for Tk::TixGrid Writing Makefile for Tk::TextList Writing Makefile for Tk::Text Writing Makefile for Tk::TList Writing Makefile for Tk::Scrollbar Writing Makefile for Tk::Scale Writing Makefile for Tk::PNG Writing Makefile for Tk::NBFrame Writing Makefile for Tk::Menubutton Writing Makefile for Tk::Listbox Writing Makefile for Tk::JPEG Writing Makefile for Tk::IO Writing Makefile for Tk::HList Writing Makefile for Tk::Event Writing Makefile for Tk::Entry Writing Makefile for Tk::DragDrop::Win32Site Writing Makefile for Tk::DragDrop Writing Makefile for Tk::Compound Writing Makefile for Tk::Canvas Writing Makefile for Tk Could not read metadata file. Falling back to other methods to determi +ne prerequisites
        dmake is only mentioned twice:
        around line 150 AutoSplitting blib\lib\Tk\Table.pm (blib\lib\auto\Tk\Table) cp Tk.pm blib\lib\Tk.pm AutoSplitting blib\lib\Tk.pm (blib\lib\auto\Tk) cp Tk/icon.gif blib\lib\Tk\icon.gif cd pTk && dmake DEFINE="" E:\Perl\perl\bin\perl.exe mkVFunc -t MSWin32 tk.h E:\Perl\perl\bin\perl.exe mkVFunc -t MSWin32 tkInt.h E:\Perl\perl\bin\perl.exe mkVFunc -t MSWin32 tix.h
        and right at the end (line 1033ff)
        Running Mkbootstrap for Tk () E:\Perl\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 Tk.bs E:\Perl\perl\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Tk\", 'DLBASE' => 'Tk', 'DL_FUNCS' => { + }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" dlltool --def Tk.def --output-exp dll.exp g++.exe -o blib\arch\auto\Tk\Tk.dll -Wl,--base-file -Wl,dll.base -mdll + -s -L"E:\Perl\perl\lib\CORE" -L"E:\Perl\c\lib" Tk.o chnGlue.o + encGlue.o evtGlue.o objGlue.o tixGlue.o tkGlue.o + tkGlue_f.o tkWin32Dll.o pTk\tkres.o -Wl,--image-base,0x3807 +0000 pTk/libpTk.a E:\Perl\perl\lib\CORE\libperl512.a -lmoldname -lker +nel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lo +le32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -l +odbc32 -lodbccp32 -lcomctl32 dll.exp SREZIC/Tk-804.030.tar.gz E:\Perl\c\bin\dmake.exe -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible
        I am a bit confused ..

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-24 06:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found