Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Installing Perl/Tk for ActivePerl on Windows

1,223 views
Skip to first unread message

sstark

unread,
Jan 14, 2008, 1:55:50 PM1/14/08
to
Hi, this is probably a dumb question, but now that Perl/Tk is no
longer part of the ActivePerl installation for Windows, how do I go
about installing it? I downloaded the tar.gz file, and thanks to the
good graces of WinZip was able to open and extract the files. Running
MakeFile.PL from the command line produces a lot of errors such as
"Test Compiling config/perlrx.c 'cl' is not recognized as an internal
or external command". Seems like MakeFile is designed for a Unix
install.

I was able to get Perl 5.10.x to find Tk but another user wasn't. I'm
not sure why.

Can anyone help?

thanks,
Scott

Jean-Louis MOREL

unread,
Jan 14, 2008, 4:20:45 PM1/14/08
to
Dans l'article <41e894f3-23e0-401f-bc1e-
e9d495...@i3g2000hsf.googlegroups.com>, sst...@us.ibm.com a dit...

You can install the last Tk 804.028 for Perl 5.10 with ppm.
See my ppm-repository:

http://www.bribes.org/perl/ppmdir.html

HTH

--
J-L.M.
http://www.bribes.org/perl

Marc Dashevsky

unread,
Jan 14, 2008, 4:27:58 PM1/14/08
to
In article <41e894f3-23e0-401f...@i3g2000hsf.googlegroups.com>,
sst...@us.ibm.com says...

> Hi, this is probably a dumb question, but now that Perl/Tk is no
> longer part of the ActivePerl installation for Windows,

When did this happen? I have build 820, created January of last year.

> how do I go
> about installing it? I downloaded the tar.gz file, and thanks to the
> good graces of WinZip was able to open and extract the files. Running
> MakeFile.PL from the command line produces a lot of errors such as
> "Test Compiling config/perlrx.c 'cl' is not recognized as an internal
> or external command". Seems like MakeFile is designed for a Unix
> install.
>
> I was able to get Perl 5.10.x to find Tk but another user wasn't. I'm
> not sure why.
>
> Can anyone help?
>
> thanks,
> Scott
>

--
Go to http://MarcDashevsky.com to send me e-mail.

Ch Lamprecht

unread,
Jan 14, 2008, 4:56:16 PM1/14/08
to
sstark schrieb:

Hi,

according to http://kobesearch.cpan.org/
there are binaries at http://www.bribes.org/perl/ppm

It's also possible to compile the latest Tk versions with Strawberry-perl

Christoph

--
use Tk;use Tk::GraphItems;$c=tkinit->Canvas->pack;push@i,Tk::GraphItems->
TextBox(text=>$_,canvas=>$c,x=>$x+=70,y=>100)for(Just=>another=>Perl=>Hacker);
Tk::GraphItems->Connector(source=>$i[$_],target=>$i[$_+1])for(0..2);
$c->repeat(30,sub{$_->move(0,4*cos($d+=3.16))for(@i)});MainLoop

sstark

unread,
Jan 14, 2008, 6:18:12 PM1/14/08
to
Ok, I was being dumb -- the activestate readme file explains how to do
it. But it requires an installation of Visual C++ -- holy smoke! My
user's ain't gonna like that.

Couldn't find anything about installing Tk on the URL below. Did I
miss something?

I'll have to watch out for that strawberry perl, thanks for that.

Scott

On Jan 14, 3:56 pm, Ch Lamprecht <ch.l.n...@online.de> wrote:
>
> according to http://kobesearch.cpan.org/

> there are binaries athttp://www.bribes.org/perl/ppm

Ch Lamprecht

unread,
Jan 15, 2008, 2:47:52 AM1/15/08
to
sstark schrieb:

> Ok, I was being dumb -- the activestate readme file explains how to do
> it. But it requires an installation of Visual C++ -- holy smoke! My
> user's ain't gonna like that.

Hi,
do you know about pp? I use that with a Tk app and everyone is happy. Nothing to
install - just click and run...

>
> Couldn't find anything about installing Tk on the URL below. Did I
> miss something?
>


Adding the repository http://www.bribes.org/perl/ppm to your repositories in the
ppm tool should make it accessible. I didn't install, but they have a 804.028
there.

HTH, Christoph


> I'll have to watch out for that strawberry perl, thanks for that.
>
> Scott
>
> On Jan 14, 3:56 pm, Ch Lamprecht <ch.l.n...@online.de> wrote:
>
>>according to http://kobesearch.cpan.org/
>>there are binaries athttp://www.bribes.org/perl/ppm
>>
>>It's also possible to compile the latest Tk versions with Strawberry-perl
>>
>>Christoph
>>

sstark

unread,
Jan 15, 2008, 10:49:56 AM1/15/08
to
On Jan 15, 1:47 am, Ch Lamprecht <ch.l.n...@online.de> wrote:
> do you know about pp? I use that with a Tk app and everyone is happy. Nothing to
> install - just click and run...

No, what is it? Does this mean I don't need to install the Tk module?

Scott

Ch Lamprecht

unread,
Jan 15, 2008, 12:03:15 PM1/15/08
to sstark
Hi,
it's a tool (part of PAR-Packer) which allows you to pack your application, perl
and all your required libs into a single executable file.
It's very easy to use (like 'pp -o MyProg.exe --gui MyPerlApp.pl') and works
reliably. One drawback is, that when started for the first time, your app needs
some time to unpack all the files into a TMP folder on the target machine - but
that's only on first startup.

smallpond

unread,
Jan 15, 2008, 12:21:55 PM1/15/08
to
On Jan 14, 4:27 pm, Marc Dashevsky <use...@MarcDashevsky.com> wrote:
> In article <41e894f3-23e0-401f-bc1e-e9d495449...@i3g2000hsf.googlegroups.com>,

> sst...@us.ibm.com says...
>
> > Hi, this is probably a dumb question, but now that Perl/Tk is no
> > longer part of the ActivePerl installation for Windows,
>
> When did this happen? I have build 820, created January of last year.
>
>


AS perl 5.8 releases have Tk. So far the 5.10 releases have Tkx.

Q...@domain.invalid

unread,
Jan 15, 2008, 4:26:29 PM1/15/08
to

sstark <sst...@us.ibm.com> wrote in message-id: <41e894f3-23e0-401f...@i3g2000hsf.googlegroups.com>

Are you sure that Perl/Tk is not included in AS 5.10?
I was trying to find something that mentioned the removal
of Tk in the changelog but could not find any indication of this.

Is there a link that shows the distro has done this?

Jim Weisgram

unread,
Jan 20, 2008, 12:41:41 AM1/20/08
to
On Tue, 15 Jan 2008 21:26:29 GMT, Q...@domain.invalid wrote:

[...snip...]


>
>Are you sure that Perl/Tk is not included in AS 5.10?

It was not installed on my download of AS 5.10.

>I was trying to find something that mentioned the removal
>of Tk in the changelog but could not find any indication of this.
>
>Is there a link that shows the distro has done this?

I haven't checked, but I note that ppm4.activestate.com build status
shows Tk 804.028 failing on Win32 (and Darwin and Solaris).

But there is a
http://ppm4.activestate.com/PPMPackages/zips/10xx-builds-only/Windows/Tk-804.027.zip

Q...@domain.invalid

unread,
Mar 7, 2008, 8:51:18 PM3/7/08
to

Zinc installer completes but the module is failing to load properly.
Does anyone have an idea what may be going on with this configuration?

STDERR output:
--------------
Can't load 'C:/Perl/site/lib/auto/Tk/Zinc/Zinc.dll' for module Tk::Zinc
:load_file:
The specified module could not be found at C:/Perl/lib/DynaLoader.pm line 201.

Versions:
---------
C:\Documents and Settings\Admin>perl -v

This is perl, v5.10.0 built for MSWin32-x86-multi-thread
(with 3 registered patches, see perl -V for more detail)

Copyright 1987-2007, Larry Wall

Binary build 1002 [283697] provided by ActiveState http://www.ActiveState.com
Built Jan 10 2008 11:00:53

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


C:\Documents and Settings\Admin>cpan Tk
CPAN: Storable loaded ok (v2.18)
Going to read C:\Perl\cpan\Metadata
Database was generated on Fri, 07 Mar 2008 11:31:35 GMT
Tk is up to date (804.028).

C:\Documents and Settings\Admin>cpan Tk::Zinc
CPAN: Storable loaded ok (v2.18)
Going to read C:\Perl\cpan\Metadata
Database was generated on Fri, 07 Mar 2008 11:31:35 GMT
Tk::Zinc is up to date (3.304).


Q...@domain.invalid

unread,
Mar 9, 2008, 1:20:30 PM3/9/08
to

Q...@domain.invalid wrote in message-id: <qimAj.132$HA3.46@trnddc02>

> Zinc installer completes but the module is failing to load properly.
> Does anyone have an idea what may be going on with this configuration?
>

[snip]
>

Reverted to AS Perl 5.8.8 to get this working;
it seems like Zinc may require Perl58.dll.


zentara

unread,
Mar 18, 2008, 9:17:25 AM3/18/08
to
On Sat, 08 Mar 2008 01:51:18 GMT, Q...@domain.invalid wrote:

>
>Zinc installer completes but the module is failing to load properly.
>Does anyone have an idea what may be going on with this configuration?

You probably would get a better answer on the Zinc maillist, there are
more Windows/Zinc users there.

The only thing I remember about Zinc on win32, is that it needed XP
or better, for the Windows version.

zentara


--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html

0 new messages