On 01/28/2017 09:38 AM, Johan Ehnberg wrote: > On 01/27/2017 08:01 PM, Les Mikesell wrote: >> On Fri, Jan 27, 2017 at 11:38 AM, Kent Tenney <kten...@gmail.com> 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? >> > > Hi Kent and Les, > > Thanks for the report! I maintain the mentioned instructions, and can > confirm this error. > > It seems something has changed in the latest code, and while the > installer says: > > Installing library in /usr/local/BackupPC/lib > > The lib folders remain empty. The exit status is also OK, so the > installer may not even see the error. As such it is a bug in the build > automation. > > The lib folder was changed a few days ago by Craig Barratt, mentioning > significant changes. > > I will create an issue with these notes, and link it to the wiki. > > Best regards, > Johan Ehnberg
The issue report: https://github.com/backuppc/backuppc/issues/45 ------------------------------------------------------------------------------ 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 BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/