Re: Install Tk-804.030 with Perl 5.12.3 on Windows 7
by marto (Cardinal) on Apr 26, 2012 at 12:52 UTC
|
Are you running ActiveState Perl or Strawberry Perl? If ActiveState then you need to install a C compiler and build tools. To install these from the command line:
ppm install MinGW
Once that's installed (again, from the command prompt):
cpan Tk
Note that as others have stated previous versions of Tk are installable via PPM.
Update: For clarification I just installed this using Strawberry Perl v5.12.3 on Windows XP.
Update 2: ppm error fixed. I forgot the install part.
| [reply] [d/l] [select] |
|
|
How to install a C compiler and build tools?
Could you give me a link how to do it and where to get from?
| [reply] |
|
|
ppm install MinGW
PPM will then download and install a C compiler and build tools. | [reply] [d/l] |
Re: Install Tk-804.030 with Perl 5.12.3 on Windows 7
by ww (Archbishop) on Apr 26, 2012 at 12:07 UTC
|
If you're using ActiveState's perl, use ppm search Tk but a quick check today showed that the current version for Perl 5.014 is 804.029... which may or may not be the case for 5.012.
If you don't have ppm available, or it finds only an older version than you want, you'll have to read up on installing a module from CPAN. You can find the relevant nodes by using Super Search and appropriate search terms. | [reply] [d/l] |
|
|
a quick check today showed that the current version for Perl 5.014 is 804.029...
The bribes repo, too, currently has only 804.029:
ppm install http://www.bribes.org/perl/ppm/Tk.ppd
Cheers, Rob
| [reply] |
|
|
Thx,I resolve my problem now using your solution.Love you guy.By the way, can you tell me how you find that URL?
| [reply] |
|
|
|
|
I have tried ppm search Tk and I've got the following answer:
*** no packages matching 'Tk' found ***
I have written "ppm search Tk" in cmd prompt in the current directory where I have installed perl 5.12.3 (D:\5123\bin\)
| [reply] |
|
|
Perhaps you need to add bribes to your repo list.
You can check by running (from the command prompt -- forgive my mentioning the obvious if it's unnecessary): ppm repo list and if the response doesn't include bribes, add it with:
ppm repo add *url* [ *name* ] [ --username *user* [ --password *pass
+word* ]
Set up a new repository for PPM to fetch packages from.
You may also want to read ppm's help file ... and comprehensive (but long) explanation of the many options available when running ppm from the CLI.
| [reply] [d/l] [select] |
|
|
|
|
|
|
| [reply] |