Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Hello All, I am attempting to install the Tk extension package for perl on my computer at work. I have strawberry perl vs. 5.10 installed on a Windows XP machine. I have used the perl -MCPAN-e shell interface a couple of times to install various modules successfully in the past. When I run: get Tk, everything seems to go fine. However, when I next run:
make Tk
I get the following failure:
... cp tclWinInt.h ..\blib\arch\Tk\pTk\tclWinInt.h cp tixImgXpm.h ..\blib\arch\Tk\pTk\tixImgXpm.h cp tixImgXpm.m ..\blib\arch\Tk\pTk\tixImgXpm.m cp tkCanvases.h ..\blib\arch\Tk\pTk\tkCanvases.h cp tkOption_f.h ..\blib\arch\Tk\pTk\tkOption_f.h cp tixInt.t ..\blib\arch\Tk\pTk\tixInt.t cp tkSelect.h ..\blib\arch\Tk\pTk\tkSelect.h cp tixInt.m ..\blib\arch\Tk\pTk\tixInt.m cp tix.t ..\blib\arch\Tk\pTk\tix.t cp tkPlatDecls_f.h ..\blib\arch\Tk\pTk\tkPlatDecls_f.h cp tkDecls.t ..\blib\arch\Tk\pTk\tkDecls.t cp tkImgPhoto.m ..\blib\arch\Tk\pTk\tkImgPhoto.m cp tixWinPort.h ..\blib\arch\Tk\pTk\tixWinPort.h cp tkColor.h ..\blib\arch\Tk\pTk\tkColor.h cp Xlib.t ..\blib\arch\Tk\pTk\Xlib.t cp tkIntPlatDecls.t ..\blib\arch\Tk\pTk\tkIntPlatDecls.t cp tkWinDefault.h ..\blib\arch\Tk\pTk\tkWinDefault.h cp tkWinPort.h ..\blib\arch\Tk\pTk\tkWinPort.h gcc -c -I.. -I../pTk/mTk/xlib -I. -Ibitmaps -I../pTk/mTk/xlib -s -O2 + -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SY +S -fno-strict-aliasing -DPERL_MSVCRT_READFIX -DPERLDLL -s -O2 -DVERSION=\"804.028\" -DXS_VERSION=\"804.028\" "-IC +:\strawberry\perl\lib\CORE" -Wall -Wno-implicit-int -Wno-comment -W +no-unused -D__USE_FIXED_PROTOTYPES__ ClientWin.c In file included from ..\pTk\mTk\xlib\../../../pTk/Lang.h:23, from ..\pTk\mTk\xlib\../../../pTk/tkIntXlibDecls.h:26 +, from ..\pTk\mTk\xlib\X11/Xlib.h:1206, from ClientWin.c:30: ..\pTk\mTk\xlib\../../../pTk/tcl.h:157: stdio.h: No such file or direc +tory In file included from ..\pTk\mTk\xlib\../../../pTk/tcl.h:2376, from ..\pTk\mTk\xlib\../../../pTk/Lang.h:23, from ..\pTk\mTk\xlib\../../../pTk/tkIntXlibDecls.h:26 +, from ..\pTk\mTk\xlib\X11/Xlib.h:1206, from ClientWin.c:30: ..\pTk\mTk\xlib\../../../pTk/tclPlatDecls.h:21: tchar.h: No such file +or directory dmake: Error code 129, while making 'ClientWin.o' dmake.EXE: Error code 255, while making 'pTk\libpTk.a' SREZIC/Tk-804.028.tar.gz C:\strawberry\c\bin\dmake.EXE -- NOT OK Failed during this command: SREZIC/Tk-804.028.tar.gz : make NO
I figured I could go digging through the paths mentioned when the make command failed but instead I thought I would ask here first to see if anyone has any ideas. If it helps, when I look in my C:\strawberry\cpan\build directory I find a directory and a .yml file named Tk-804.028-5TdOSy However, there is no Tk anything in my actual perl or c lib folders. Any ideas or help would be appreciated. Thanks in advance.

In reply to SOLVED (mostly): Tk Package Fails to Make by BJ_Covert_Action

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others taking refuge in the Monastery: (7)
    As of 2020-02-18 18:40 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      What numbers are you going to focus on primarily in 2020?










      Results (78 votes). Check out past polls.

      Notices?