[Chicago-talk] Can anyone help with problem installing perl Tk?

Sean Blanton sblanton at choppertrading.com
Mon Jun 24 08:19:29 PDT 2013


Let me run with this tangent. Dave et. al., I initially liked Perlbrew and am still using it one place, but after some experience with it, let me +1 Brian's comment on Perlbrew vs. the standard Perl install:

http://stackoverflow.com/questions/10242451/how-to-install-perl-offline


1.       You might choose Perlbrew if you are in a completely vanilla environment, need to switch often between multiple versions of Perl and you don't care to learn the basics of building Perl or writing your own perl-switcher.

2.       If you are upgrading a local Perl or just using one version of local Perl, Perlbrew can actually add overhead by requiring you to learn its special ways.  "./Configure -des -Dprefix=/path/to/installation && make install" and changing PATH is pretty easy.

3.       If you are using Perl in an environment with no internet access, Perlbrew is an absolute nightmare. It's written in a rambling procedural way with hardcoded configuration items that makes hacking it difficult. Besides the Perl dist, it wants to download and use some executable (I've purged the name from my memory) to manage the install. I couldn't even find that program and download it myself in a reasonable time. If I have to hack Perlbrew, which has no documentation on the internals, that totally defeats its purpose. I also don't want to depend on something so delicate that it might give me problems down the road.


From: Chicago-talk [mailto:chicago-talk-bounces+sblanton=choppertrading.com at pm.org] On Behalf Of David Mertens
Sent: Friday, June 21, 2013 11:04 PM
To: Chicago.pm chatter
Subject: Re: [Chicago-talk] Can anyone help with problem installing perl Tk?


I agree with Sean. If this seems daunting, though, you can use perlbrew to manage everything. Building Perl is remarkably easy, but perlbrew is even easier.

You'll have to reinstall all your CPAN modules under the new Perl, but that's a one-time setup that should go smoothly.

David
On Jun 21, 2013 11:55 AM, "Sean Blanton" <sblanton at choppertrading.com<mailto:sblanton at choppertrading.com>> wrote:
My two cents: I would recommend never using a Perl that comes with an OS, which is for the OS to use, not for you. Better to install your own Perl where you can use CPAN and avoid such problems. If you have really light use of Perl, I guess you can get away with it, but anything interesting and you will likely need something that diverges from the OS Perl.

Trying to build locally with CPAN and an OS version of Perl is also likely to bring frustration as the OS Perl may not have the same files as a standard Perl. Most importantly, never use CPAN to install modules into the OS Perl if you have access to do so - you will break programs that come with the OS distribution.

So, build your own Perl - it's easy, and be totally free and clean, baby! If you don't have internet access, get a Perl tar ball, build a minicpan from a machine that does have internet access and use that.

Sean

From: Chicago-talk [mailto:chicago-talk-bounces+sblanton<mailto:chicago-talk-bounces%2Bsblanton>=choppertrading.com at pm.org<mailto:choppertrading.com at pm.org>] On Behalf Of imran javaid
Sent: Friday, June 21, 2013 10:50 AM
To: Chicago.pm chatter
Subject: Re: [Chicago-talk] Can anyone help with problem installing perl Tk?

You probably do not have a repository set up for your machine.
Your other choice would be to download the RPM:
http://rpm.pbone.net/index.php3?stat=26&dist=79&size=2286288&name=perl-Tk-804.030-15.3.x86_64.rpm
and install the RPM (using the rpm command).

On Fri, Jun 21, 2013 at 10:45 AM, <richard at rushlogistics.com<mailto:richard at rushlogistics.com>> wrote:
When I do yum search perl-Tk

I get: No Matches found


El Jun 21, 2013, a las 10:17 AM, imran javaid <imranjj at gmail.com<mailto:imranjj at gmail.com>> escribió:
Have you tried installing it via yum? i.e.
yum search perl-Tk
it should show you several rpms available but you probably just want this one:
sudo yum install perl-Tk.x86_64


On Fri, Jun 21, 2013 at 10:07 AM, <richard at rushlogistics.com<mailto:richard at rushlogistics.com>> wrote:
Hal thanks for the prompt reply. As I mentioned in my post I have done that and found nothing that seems to apply to the problems that I am having.



El Jun 21, 2013, a las 9:58 AM, Hal Wigoda <hal.wigoda at gmail.com<mailto:hal.wigoda at gmail.com>> escribió:

> Check out reports SREZIC/Tk-804.031.tar.gz
>
> Sent from my iPad
>
> On Jun 21, 2013, at 9:49 AM, Richard Reina <richard at rushlogistics.com<mailto:richard at rushlogistics.com>> wrote:
>
>> I am trying to install perl Tk on a Centos-6.4 machine with the following command:
>>
>> # perl -MCPAN -e 'force install Tk';
>>
>> The output seems to look good in the beginning. I see the various windows opening and closing. But the story ends with:
>>
>> TODO passed:   52, 66, 80, 94
>> Files=72, Tests=4338, 58 wallclock secs ( 1.06 usr  0.22 sys + 17.76 cusr  1.60 csys = 20.64 CPU)
>> Result: FAIL
>> Failed 2/72 test programs. 14/4338 subtests failed.
>> make: *** [test_dynamic] Error 255
>> SREZIC/Tk-804.031.tar.gz
>> /usr/bin/make test -- NOT OK
>> //hint// to see the cpan-testers results for installing this module, try:
>> reports SREZIC/Tk-804.031.tar.gz
>> Warning (usually harmless): 'YAML' not installed, will not store persistent state
>> Running make install
>> make test had returned bad status, won't install without force
>>
>>
>> I have included more of the output below. I have also tried to install it from source but get errors at 'make'.  I have also looked in the INSTALL file but see no documentation that seems to relate to my problem. Any help would be greatly, greatly appreciated.
>>
>> Thanks so much!
>>
>> Richard
>>
>>
>>
>>
>>
>> chmod 755 ../blib/arch/auto/Tk/Entry/Entry.so
>> cp Entry.bs ../blib/arch/auto/Tk/Entry/Entry.bs
>> chmod 644 ../blib/arch/auto/Tk/Entry/Entry.bs
>> make[1]: Leaving directory `/root/.cpan/build/Tk-804.031-XvbIzL/Entry'
>> make[1]: Entering directory `/root/.cpan/build/Tk-804.031-XvbIzL/DragDrop'
>> cp DragDrop/Rect.pm ../blib/lib/Tk/DragDrop/Rect.pm
>> cp DragDrop/LocalDrop.pm ../blib/lib/Tk/DragDrop/LocalDrop.pm
>> cp DragDrop/SunSite.pm ../blib/lib/Tk/DragDrop/SunSite.pm
>> cp DropSite.pod ../blib/lib/Tk/DropSite.pod
>> cp DragDrop/XDNDSite.pm ../blib/lib/Tk/DragDrop/XDNDSite.pm
>> cp DragDrop.pm ../blib/lib/Tk/DragDrop.pm
>> cp DragDrop/SunConst.pm ../blib/lib/Tk/DragDrop/SunConst.pm
>> cp DragDrop/Common.pm ../blib/lib/Tk/DragDrop/Common.pm
>> cp DropSite.pm ../blib/lib/Tk/DropSite.pm
>> cp DragDrop/Common.pod ../blib/lib/Tk/DragDrop/Common.pod
>> cp DragDrop/SunConst.pod ../blib/lib/Tk/DragDrop/SunConst.pod
>> cp DragDrop/SunDrop.pm ../blib/lib/Tk/DragDrop/SunDrop.pm
>> cp Dra
_______________________________________________
Chicago-talk mailing list
Chicago-talk at pm.org<mailto:Chicago-talk at pm.org>
http://mail.pm.org/mailman/listinfo/chicago-talk

_______________________________________________
Chicago-talk mailing list
Chicago-talk at pm.org<mailto:Chicago-talk at pm.org>
http://mail.pm.org/mailman/listinfo/chicago-talk

_______________________________________________
Chicago-talk mailing list
Chicago-talk at pm.org<mailto:Chicago-talk at pm.org>
http://mail.pm.org/mailman/listinfo/chicago-talk


________________________________

CONFIDENTIALITY WARNING: This email including any attachments may contain privileged or confidential information and is for the sole use of the intended recipient(s). Any unauthorized use or disclosure of this communication is prohibited. This e-mail may also be subject to specific non-disclosure and confidentiality provisions. The information contained herein is the property of Chopper Trading, LLC. If you believe that you have received this email in error, please notify the sender immediately and delete it from your system.

_______________________________________________
Chicago-talk mailing list
Chicago-talk at pm.org<mailto:Chicago-talk at pm.org>
http://mail.pm.org/mailman/listinfo/chicago-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/chicago-talk/attachments/20130624/a40b77ca/attachment-0001.html>


More information about the Chicago-talk mailing list