Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Perl compilation errors

by Bradpsu (Initiate)
on Sep 13, 2001 at 00:13 UTC ( #112007=perlquestion: print w/replies, xml ) Need Help??

Bradpsu has asked for the wisdom of the Perl Monks concerning the following question:

All of a sudden I am unable to run any perl scripts. For example when I issue from a command prompt:
perl -e 0

I get the following:
perl -e 0
syntax error at -e line 1, near "0"
Execution of -e aborted due to compilation errors.

All programs also crash at the first command. Has anyone ever experienced this?

Replies are listed 'Best First'.
Re: Perl compilation errors
by earthboundmisfit (Chaplain) on Sep 13, 2001 at 00:28 UTC
    Need more info such as OS and Perl version. It sounds to me like a Win32 file mapping or path problem, but that's only because it's what I deal with (too often).
      This is Perl version 5.005_03 running on Red Hat Linux 6.2
      Everything has worked great on this box for a long time, and all of a sudden today I am getting these errors.
        If perl was installed via rpm, does rpm -V perl produce any output?
Re: Perl compilation errors
by chromatic (Archbishop) on Sep 13, 2001 at 01:13 UTC
    What's the output of perl -V? Also, what's the output of <code>which perl<code>?
Re: Perl compilation errors
by earthboundmisfit (Chaplain) on Sep 13, 2001 at 18:33 UTC
    What's changed on the box? If you su root -p and then run your one liner does it balk? If not, you have a permissions problem on the Perl directories.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://112007]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2022-07-05 00:47 GMT
Find Nodes?
    Voting Booth?

    No recent polls found