Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Hello,

I'm stuck using a vender supplied version of Perl that works but doesn't seem to be configured correctly. A perl -v works, but perl -V complains about not finding Config.pm. Although /tmp exists, the /tmp/p561/* directories don't exist...

~/some/directory/perl/bin$ ./perl -v This is perl, v5.6.1 built for sun4-solaris Copyright 1987-2001, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using `man perl' or `perldoc perl'. If you have access to + the Internet, point your browser at http://www.perl.com/, the Perl Home Pa +ge. ~/some/directory/perl/bin$ ./perl -V Can't locate Config.pm in @INC (@INC contains: /tmp/p561/lib/perl5/5.6.1/sun4-solaris /tmp/p561/lib/perl5/5.6.1 /tmp/p561/lib/perl5/site_perl/5.6.1/sun4-solaris /tmp/p561/lib/perl5/site_perl/5.6.1 /tmp/p561/lib/perl5/site_perl .). BEGIN failed--compilation aborted.

A quick Google didn't show much of a solution. Am I missing some environment variables or something?

Thoughts? Comments? Questions?

Cheers,

Brent

-- Yeah, I'm a Delt.

In reply to perl -V using weird @INC by dorko

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2023-02-07 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (40 votes). Check out past polls.

    Notices?