Re: [BackupPC-users] "File::RsyncP module doesn't exist" but the perl module is installed
2010-11-05 10:57:23
On Fri, 2010-11-05 at 15:32 +0100, Farmol SPA wrote:
> > $ sudo su backuppc -
> > sh-3.2$ perl -e 'use File::RsyncP; if ($@) {print "true\n";} else
> > {print "false\n";}'
> > false
> > sh-3.2$
>
> Same output...
I have the same on my BackupPC server. There is something wrong with
your code. Loading the module is enough to show it is there:
root@backup:~# perl -e 'use File::RsyncP'
root@backup:~#
On my laptop, where the module does not exist:
tyler@baal:~$ perl -e 'use File::RsyncP'
Can't locate File/RsyncP.pm in @INC (@INC
contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Regards,
Tyler
--
"Beware of altruism. It is based on self-deception, the root of all evil."
-- Lazarus Long, "Time Enough for Love", by Robert A. Heinlein
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|