Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

installing Tkx.pm with Strawberry

by iefbr14 (Initiate)
on Nov 25, 2010 at 16:15 UTC ( [id://873673]=perlquestion: print w/replies, xml ) Need Help??

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

Hi
just installed this :
strawberry-perl-5.10.0.5
C:\strawberry\perl\bin>perl -v This is perl, v5.10.0 built for MSWin32-x86-multi-thread Copyright 1987-2007, Larry Wall
(last version available for Win2k)

then that :

ActiveTcl 8.5.9.0 October, 2010
This ActiveTcl release is based on the 8.5.9 Tcl core.
I'm now trying to install Tkx from CPAN, and i cant get it's prerequisite Tcl.pm installed :
cpan> install Tcl Running install for module 'Tcl' Running make for V/VK/VKON/Tcl-1.00.tar.gz Checksum for C:\strawberry\cpan\sources\authors\id\V\VK\VKON\Tcl-1.00. +tar.gz ok Scanning cache C:\strawberry\cpan\build for sizes ...........----------------------------------------------------------- +------DONE DEL(1/13): C:\strawberry\cpan\build\PAR-Packer-1.008-waHY5l DEL(2/13): C:\strawberry\cpan\build\PAR-Packer-1.008-waHY5l.yml DEL(3/13): C:\strawberry\cpan\build\Tcl-1.00-B88ybd DEL(4/13): C:\strawberry\cpan\build\Tcl-1.00-B88ybd.yml DEL(5/13): C:\strawberry\cpan\build\Tkx-1.09-j36K2e DEL(6/13): C:\strawberry\cpan\build\Tcl-Tk-0.97-r94a3Y.yml DEL(7/13): C:\strawberry\cpan\build\Tcl-Tk-0.97-r94a3Y DEL(8/13): C:\strawberry\cpan\build\Tkx-1.09-j36K2e.yml DEL(9/13): C:\strawberry\cpan\build\Tcl-1.00-P0ip0t DEL(10/13): C:\strawberry\cpan\build\Tcl-1.00-P0ip0t.yml DEL(11/13): C:\strawberry\cpan\build\Tcl-1.00-a2wn2v DEL(12/13): C:\strawberry\cpan\build\Tkx-1.09-wzWQ1G DEL(13/13): C:\strawberry\cpan\build\Tkx-1.09-wzWQ1G.yml CPAN.pm: Going to build V/VK/VKON/Tcl-1.00.tar.gz tclsh=C:/Tcl/bin/tclsh.exe tclConfig.sh=C:/Tcl/lib/tclConfig.sh tcl_library=C:/Tcl/lib/tcl8.5 tcl_version=8.5 LIBS = -LC:/Tcl/lib -ltcl85 INC = -IC:/Tcl/include DEFINE = Checking if your kit is complete... Looks good Note (probably harmless): No library found for -ltcl85 Writing Makefile for Tcl cp Tcl.pm blib\lib\Tcl.pm C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp + -typemap C:\strawberry\perl\lib\ExtUtils\typemap -typemap typemap Tcl.xs > Tc +l.xsc && C :\strawberry\perl\bin\perl.exe -MExtUtils::Command -e mv Tcl.xsc Tcl.c Please specify prototyping behavior for Tcl.xs (see perlxs manual) gcc -c -IC:/Tcl/include -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPER +L_IMPLICIT _CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFI +X -s -O2 -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" "-IC:\strawberry\perl\l +ib\CORE" Tcl.c Tcl.xs:126: error: initializer element is not constant dmake.EXE: Error code 129, while making 'Tcl.o' VKON/Tcl-1.00.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 cpan>
any clue ?

Replies are listed 'Best First'.
Re: installing Tkx.pm with Strawberry
by marto (Cardinal) on Nov 25, 2010 at 16:41 UTC
Re: installing Tkx.pm with Strawberry
by aquarium (Curate) on Nov 26, 2010 at 05:02 UTC
    have you tried with ppm instead? also try nmake or maybe even gold instead of dmake. win32 always has been more dodgy for compiling, although getting better over years. whenever i had linux installed, never failed to make any perl module i needed.
    the hardest line to type correctly is: stty erase ^H

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2026-02-14 23:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.