|
|
install perl modules on solaris
hello,
i can't compile orca due to lack of rrdtool.
I'm just install rrdtool from sunfreeware.
orca configure script try to guess if rrdtool is installed, but i think
it only search in path like:
/usr/local/lib/perl5/5.8.5/...
rrdtool from sunfreeware contains RRDs.pm and RRDp.pm in
/usr/local/rrdtool-1.0.49/lib/perl
is it possible to copy this files in /usr/local/lib/perl5/5.8.5/..., or
is there a better method?
thanks in advance,
gerard
|
|
0
|
|
|
|
Reply
|
jdh13
|
8/19/2005 9:31:11 AM |
|
jdh13 <jdh13@free.fr> wrote:
> rrdtool from sunfreeware contains RRDs.pm and RRDp.pm in
> /usr/local/rrdtool-1.0.49/lib/perl
> is it possible to copy this files in /usr/local/lib/perl5/5.8.5/..., or
> is there a better method?
Just symlink these two files to your perl5 directory. This may not be the
best way, but definitely the easiest.
-Alex Zhilyakov
Network Manager, Accatel Inc.
+1-212-3794000
|
|
0
|
|
|
|
Reply
|
Alex
|
8/19/2005 11:47:08 AM
|
|
jdh13 <jdh13@free.fr> wrote:
> rrdtool from sunfreeware contains RRDs.pm and RRDp.pm in
> /usr/local/rrdtool-1.0.49/lib/perl
>
> is it possible to copy this files in /usr/local/lib/perl5/5.8.5/..., or
> is there a better method?
Change the first line of your perl scripts to be something like
#!/usr/bin/perl -I/usr/local/rrdtool-1.0.49/lib/perl
(you might need to go a directory or two below that, depending on exactly
where the files are located)
Scott
|
|
0
|
|
|
|
Reply
|
Scott
|
8/19/2005 12:48:30 PM
|
|
thanks for all reply
it works
and i discover that rrdtool configure script has an option to install
module
--with-perl-options=OPTIONS options to pass on command-line when
generating Makefile from Makefile.PL. If you
set this
option, interesting things may happen unless
you know
what you are doing!
so i'm using perl from sunfreeware, and rrdtool module is installed in
/usr/local/lib/perl5/site_perl/5.8.5/i86pc-solaris/auto/RRDs
i hope everything will be fine...
|
|
0
|
|
|
|
Reply
|
jdh13
|
8/19/2005 1:19:12 PM
|
|
|
3 Replies
246 Views
(page loaded in 0.068 seconds)
|
|
|
|
|
|
|
|
|