Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

i'm trying to install Tk for strawberry. i tried 3 ways, all failed.

1. ppm > install Tk Error installing package 'Tk': Read a PPD for 'Tk', but it is not + intended for this build of Perl (MSWin32-x86-multi-thread-5.12) 2. cpan > install Tk gcc -c -I.. -I../pTk/mTk/xlib -I. -Ibitmaps -I../pTk/mTk/xlib - +s -O2 -DWIN32 - DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPE +RL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -DPERL +DLL -s -O2 -DVERSION=\"804.028\" -DXS_VERSION=\"804.028\" "-IC:\s +trawberry\perl\ lib\CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__ +USE_FIXED_PROTO TYPES__ tkWinX.c In file included from tkWinX.c:28: c:\strawberry\c\bin\../lib/gcc/i686-w64-mingw32/4.4.3/../../../.. +/i686-w64-mingw 32/include/commctrl.h:15:2: error: #error _WIN32_IE setting confl +icts tkWinX.c: In function 'TkGetServerInfo': tkWinX.c:163: warning: format '%d' expects type 'int', but argume +nt 3 has type ' DWORD' tkWinX.c:163: warning: format '%d' expects type 'int', but argume +nt 4 has type ' DWORD' tkWinX.c:163: warning: format '%d' expects type 'int', but argume +nt 5 has type ' DWORD' tkWinX.c: In function 'TkWinXInit': tkWinX.c:277: warning: implicit declaration of function 'TclWinSe +tInterfaces' tkWinX.c:326: warning: cast from pointer to integer of different +size tkWinX.c:328: warning: passing argument 3 of 'GetLocaleInfoA' fro +m incompatible pointer type c:\strawberry\c\bin\../lib/gcc/i686-w64-mingw32/4.4.3/../../../.. +/i686-w64-mingw 32/include/winnls.h:707: note: expected 'LPSTR' but argument is o +f type 'WCHAR * ' tkWinX.c:329: warning: 'return' with a value, in function returni +ng void tkWinX.c:331: warning: 'return' with a value, in function returni +ng void tkWinX.c: In function 'Tk_TranslateWinEvent': tkWinX.c:841: warning: implicit declaration of function 'Lang_Win +Event' dmake: Error code 129, while making 'tkWinX.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 Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: SREZIC/Tk-804.028.tar.gz : make NO 3. manually installing as described here: http://startperl.blogspot.co +m/2007/11/perl-module-how-to-install-perl-module.html fails with step 2 `nmake`: NMAKE : fatal error U1073: don't know +how to make 'C:/Dokumente'

my strawberry version is: Win32 strawberryperl 5.12.0.1 #1 Thu May 6 16:09:27 2010 i386


In reply to installing Tk for strawberry by cheche

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-19 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found