Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
more useful options
 
PerlMonks  

Re^3: perl install in Fedora 16

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


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

> I don't know how to change the perl path.

Then that would be the first thing you need to learn. Randomly moving files around - especially ones that were installed so that their path is meaningful - is a REALLY BAD IDEA. Since you know what you've moved, I'd suggest moving it back ASAP. If you've moved other things in addition to what you've mentioned, and lost track of which ones and where, then the only thing remaining is to reinstall Perl. In fact, since Perl is quite often involved in the initial installation of Linux, you may well have broken the entire system.

The as-yet-unmentioned underlying problem here is that you had to use the root account to move the files you've mentioned. It's trivially easy to destroy your system by doing so, which is why you shouldn't be doing it. Running as root for anything but system-critical, clearly-defined and clearly understood tasks is a great way to kill your system - and you may well have already done that.

If you can restore your system's integrity by carefully recalling what you've moved and then putting it back (this assumes that you did not destroy/distort some vital permissions or owner/group info while moving them), then please come back and ask about updating the Perl module/library path. If you can't, then any advice about that detail will be of no help to you whatsoever, and you'll need to reinstall your system.

-- 
I hate storms, but calms undermine my spirits.
 -- Bernard Moitessier, "The Long Way"


Comment on Re^3: perl install in Fedora 16
Re^4: perl install in Fedora 16
by txflyer (Initiate) on Feb 20, 2012 at 03:45 UTC
    OK, moved the files back. What to do now?

      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"
        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?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2014-04-21 03:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (490 votes), past polls