Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^5: perl install in Fedora 16

by oko1 (Deacon)
on Feb 20, 2012 at 06:32 UTC ( #954993=note: print w/replies, xml ) Need Help??

in reply to Re^4: perl install in Fedora 16
in thread perl install in Fedora 16

At this point - yep, it looks like you have a damaged installation of Tk at the very least, so the right approach would be to reinstall it and re-check for errors:

perl -MTk -wle'print $Tk::VERSION'
I hate storms, but calms undermine my spirits.
 -- Bernard Moitessier, "The Long Way"

Replies are listed 'Best First'.
Re^6: perl install in Fedora 16
by txflyer (Initiate) on Feb 20, 2012 at 14:34 UTC
    Removed: tk.x86_64 1:8.5.11-1.fc16 Dependency Removed: gtkwave.x86_64 0:3.3.25-1.fc16 python-imaging-tk.x86_64 0:1.1.7-4.fc16 tix.x86_64 1:8.4.3-6.fc15 tk-devel.x86_64 1:8.5.11-1.fc16 tkinter.x86_64 0:2.7.2-5.2.fc16 Installing: tk x86_64 1:8.5.11-1.fc16 updates 1.4 M Transaction Summary ================================================================================ Install 1 Package Total download size: 1.4 M Installed size: 3.4 M Is this ok y/N: y Downloading Packages: tk-8.5.11-1.fc16.x86_64.rpm | 1.4 MB 00:02 Running Transaction Check Running Transaction Test Transaction Test Succeeded Running Transaction Installing : 1:tk-8.5.11-1.fc16.x86_64 1/1 Installed: tk.x86_64 1:8.5.11-1.fc16 Complete! Still no joy, perl generates the same error as before and the package is in a different directory than the @INC path. From what I have read so far, the @INC path is a hash generated by perl at initial install and is not possible to change. Can this be true?
      From what I have read so far, the @INC path is a hash generated by perl at initial install and is not possible to change.

      Sure it can be changed:

      • use lib ...
      • the PERL5LIB environment variable
      • the -I command line option
      • manipulating @INC directly, e.g. BEGIN { unshift @INC, "/path/to/libs" }

      (Also, it's not a hash, but an array.)

        So far none of my efforts have changed the @INC at all. It is as it started. BEGIN { use lib "/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /usr/share/perl5/vendor_perl/AnyEvent/Imp" }; end; produced 'Done" but no change. #use lib '/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /usr/share/perl5/vendor_perl/AnyEvent/Imp'; likewis, 'Done' but no change inserting into the script: use lib "/usr/share/perl5/vendor_perl/AnyEvent/Iml"; also does not change the entry.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://954993]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2017-11-19 19:02 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (282 votes). Check out past polls.