Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: @INC error

by haukex (Archbishop)
on Jan 20, 2020 at 20:29 UTC ( [id://11111649]=note: print w/replies, xml ) Need Help??


in reply to Re^4: @INC error
in thread @INC error

Sorry, should have been more clear on this: you'll need at least one Perl to bootstrap the others with, that's usually the system Perl, so reinstall that using your system's package manager. The advantage of the methods I described is that they don't touch the system Perl.

Replies are listed 'Best First'.
Re^6: @INC error
by worstead (Acolyte) on Jan 21, 2020 at 21:10 UTC
    Things get worse. I supposedly installed perl using "dnf install perl" in Fedora 31, which seemed to work OK. However, I now have no command "perl" in any of my "bin"s and no paths in @INC. I looked for a simple perl tarball, like I used many years ago, but can't find one, only "ActivePerl-5.28.1.0000-x86_64-linux-glibc-2.12-f7fd6fde.tar.gz".

      That's strange. Unfortunately I don't know enough about Fedora to give any concrete advice here; it does look like that's the correct package. Have you tried uninstalling the package first, and/or forcing its installation?

      You can get the Perl source at https://www.perl.org/get.html#unix_like, as well as precompiled binaries, although in my experience those are rarely needed on *NIX. You can theoretically build a system Perl from scratch, but I'm pretty sure using Fedora's packages will be better in the long run.

        Tried that. Installed ActivePerl-5.28.1.0000-x86_64-linux-glibc-2.12-f7fd6fde in default directory /opt/ActivePerl-5.28 but no command perl unless its the link perl -> perl-static or perl5.28.1 -> perl-static. There is nothing in my path linked to them. Typically, in past installations, the perl command is in /usr/bin/. My perl programs all point to that location (#!/usr/bin/perl -w) .

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-04-18 23:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found