Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Installation of Tk in windows

by pavanpvss (Novice)
on Apr 11, 2012 at 11:38 UTC ( #964513=perlquestion: print w/ replies, xml ) Need Help??
pavanpvss has asked for the wisdom of the Perl Monks concerning the following question:

I have tried to install perl Tk module in windows. I went to the path C:/program files/Perl express/scripts in cmd(windows) and typed cpan Tk I have got an error in the last step as Running make test Can't test without successful make Runnning make install Make has returned bad status, install seems impossible. And finally Tk module has not been installed. So, how to proceed? Is there any file i need to download ?
Thanks in Advance Pavan

Comment on Installation of Tk in windows
Download Code
Re: Installation of Tk in windows
by marto (Chancellor) on Apr 11, 2012 at 11:46 UTC

    Is this the "Perl Express" in question? If so I can't download it to find out what's inside the 3.28MB installer as my company have it marked as a "malicious site" for some reason. Perhaps it is. It's not a perl distribution I've ever heard of. For Windows I suggest using Strawberry Perl.

    Regards your module installation problems, you need to go back through the build process and find out where things start to go wrong. I would suggest switching to one of the recognised Perl distributions for Windows (Strawberry Perl/ActiveState Perl).

    The formatting of your post is a little messed up, not to worry. See Writeup Formatting Tips.

    Update: It seems Perl Express is a GUI IDE tool, I couldn't get to the site from $work to find this out.

      I have installed Active state perl. I got that error after i have installed the same. So, you mean to say that while installing Active state perl make file might have not been installed ? If so how can we install the same ?

        I have installed Active state perl

        Then I'd probably just:
        ppm install http://www.bribes.org/perl/ppm/Tk.ppd
        There's also quite a few other Tk plugins available from that repo.

        Cheers,
        Rob

        I'd updated my post regarding my confusion over "Perl Express". Since you already have ActiveState Perl installed I second the advice from syphilis. Sorry for any confusion caused.

        Installation of Tk may fail if you have any cygwin or redhat unix-like tools installed on your windows
        Strawberry perl adds its directories at end of PATH
        cpan needs sometimes gcc to compile and is supposed to take the Strawberry one
        If compilation or link fails (it happenned to me for Tk) change PATH environment variable to have strawberry diretories first.
Re: Installation of Tk in windows
by Anonymous Monk on Apr 11, 2012 at 11:50 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2014-09-22 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls