Alright, I've been doing some sleuthing and here is what I deduced so far. When I run make Tk
, a file regarding the TK make process gets created in my c:\strawberry\cpan\build directory. After digging through this newly created directory, I found about 6 files that use an #include tchar.h
command if CYGWIN is not defined (which makes sense for me because I am not using Cygwin). I haven't bothered scouring for an #include stdio.h file but I am guessing its probably a similar case.
Anyways, during the make process, I am hanging on this command:
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
Doing some digging shows that this is a call to the gnu c compiler (though I didn't figure out what all the switches are). When called, this command throws this error
In file included from ..\pTk\mTk\xlib\../../../pTk/Lang.h:23,
..\pTk\mTk\xlib\../../../pTk/tcl.h:157: stdio.h: No such file or direc
In file included from ..\pTk\mTk\xlib\../../../pTk/tcl.h:2376,
..\pTk\mTk\xlib\../../../pTk/tclPlatDecls.h:21: tchar.h: No such file
dmake: Error code 129, while making 'ClientWin.o'
dmake.EXE: Error code 255, while making 'pTk\libpTk.a'
C:\strawberry\c\bin\dmake.EXE -- NOT OK
Failed during this command:
SREZIC/Tk-804.028.tar.gz : make NO
..which seems to show various infiles getting included, but tchar.h and stdio.h not loading correctly for some reason. This seems strange to me because I do, indeed, have both tchar.h and stdio.h in the following directory:
so the only conclusions I can come to are:
1) there is something wrong with my c compiler (which may very well be an issue because I never explicitly downloaded a c compiler, though I have installed CPAN modules before which makes me think that I do, indeed, have the Gnu c compiler functioning).
2) those two files tchar.h and stdio.h, are somehow corrupt.
3) there is a command somewhere looking for those two files at one particular path that is different from the path in which they reside.
4) I have completely misunderstood there errors being thrown at me and need to look for a different problem.
So, is there anyone else out there willing to help me try to figure out how to get Tk installed and running correctly?
Thanks to everyone so far for their help. I feel I am getting close.
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- 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
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] |