Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- How to add directory to include - Newbie
August 18, 2005, 9:50 pm
rate this thread
Re: How to add directory to include - Newbie
Can't locate RRDs.pm in @INC (@INC contains: /opt/orca/lib
/exlibris/product/perl/lib/site_perl .) at ./orca line 33.
BEGIN failed--compilation aborted at ./orca line 33.
In the code, it just states:
$| = 1;
# Set the location of the Orca modules.
my $prefix = "/opt/orca";
my $exec_prefix = "$";
my $libdir = "/opt/orca/lib";
The RRDs.pm is found in /usr/local/rrdtool-1.0.49/lib/perl/RRDs.pm.
How to add /usr/local/rrdtool-1.0.49/lib/perl/RRDs.pm into the @INC?