On Fri, Jan 27, 2017 at 11:38 AM, Kent Tenney <[email protected]> wrote:
> https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-git-on-Ubuntu-Xenial-16.04-LTS
>
> After running the wiki script,
>  /usr/loca/BackupPC/bin/BackupPC
> fails with
> Can't locate BackupPC/Lib.pm in @INC (you may need to install the
> BackupPC::Lib module) (@INC contains: /usr/local/BackupPC/lib /etc/perl
> /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1
> /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5
> /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22
> /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at
> /usr/local/BackupPC/bin/BackupPC line 57.
> BEGIN failed--compilation aborted at /usr/local/BackupPC/bin/BackupPC line
> 57.
>
> It seems the lib files weren't installed,
> # tree /usr/local/BackupPC/lib
> /usr/local/BackupPC/lib/
> ├── BackupPC
> │   ├── CGI
> │   ├── Config
> │   ├── Lang
> │   ├── Storage
> │   ├── Xfer
> │   └── Zip
> └── Net
>     └── FTP

I haven't installed v4 yet so I can't be more specific, but what you
are showing are just the directories in /usr/local/BackupPC/lib/ which
seem to at least exist, but your error is about a particular file.
The @INC list is the search path where perl will try to find it.
Does /usr/local/BackupPC/lib/BackupPC/Lib.pm exist, and if so is it
and the path to it readable by the backuppc user?

-- 
    Les Mikesell
     [email protected]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to