From: Mike H. <mi...@vi...> - 2018-08-08 17:18:49
|
Thanks for the reply. I’m building on CentOS7 so the example is partly useful but there are several changes. Here are some basic steps in case someone else attempts this: yum install git build-essential perl-devel perl-CPAN perl-CGI gcc httpd mod_ssl glusterfs-client cpan [accept all defaults] install Test::More quit reboot (might not be necessary) git clone https://github.com/backuppc/backuppc.git git clone https://github.com/backuppc/backuppc-xs.git git clone https://github.com/backuppc/rsync-bpc.git cd backuppc-xs/ perl Makefile.PL make make test make install cd ../rsync-bpc ./configure make …and this is where it fails with: lib/sysacls.c:2761:2: error: #error No ACL functions defined for this platform! #error No ACL functions defined for this platform! ^ make: *** [lib/sysacls.o] Error 1 I’m not sure if this is helpful but acl’s (Access Control Lists) are supported on this system: [Cent-7:root@hostname rsync-bpc]# yum install acl Package acl-2.2.51-14.el7.x86_64 already installed and latest version Nothing to do [Cent-7:root@hostname rsync-bpc]# cat /boot/config-3.10.0-862.9.1.el7.x86_64 | grep _ACL CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_XFS_POSIX_ACL=y CONFIG_BTRFS_FS_POSIX_ACL=y CONFIG_FS_POSIX_ACL=y CONFIG_GENERIC_ACL=y CONFIG_TMPFS_POSIX_ACL=y CONFIG_NFS_V3_ACL=y CONFIG_NFSD_V2_ACL=y CONFIG_NFSD_V3_ACL=y CONFIG_NFS_ACL_SUPPORT=m CONFIG_CEPH_FS_POSIX_ACL=y CONFIG_CIFS_ACL=y Am I making a mistake in installing the current version? Perhaps I’d have better results installing the version identified in the Debian-based script? Thank you! From: Craig Barratt via BackupPC-users <bac...@li...> Sent: Wednesday, August 8, 2018 00:37 To: bac...@li... Cc: Craig Barratt <cba...@us...> Subject: Re: [BackupPC-users] installation help Mike, You have to build and install backuppc-xs first. Also, makeDist needs a --version argument. The wiki has an example script<https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-git-on-Ubuntu-Xenial-16.04-LTS> for building from git. Craig On Tue, Aug 7, 2018 at 10:26 PM Mike Hughes <mi...@vi...<mailto:mi...@vi...>> wrote: I am new to git-based installations and need some help. I cloned the three projects and I cd into the backuppc folder to run perl configure.pl<http://configure.pl> and it replies with: [Cent-7:root@hostname backuppc]# perl configure.pl<http://configure.pl> You need to run makeDist first to create a tarball release that includes an updated configure.pl<http://configure.pl>. After you unpack the tarball, run configure.pl<http://configure.pl> from there. Not sure why I’d need to generate a tarball but when I run makeDist I get: [Cent-7:root@ hostname backuppc]# perl makeDist Can't locate BackupPC/XS.pm in @INC (@INC contains: ./lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at lib/BackupPC/Lib.pm line 51. BEGIN failed--compilation aborted at lib/BackupPC/Lib.pm line 51. Compilation failed in require at makeDist line 59. BEGIN failed--compilation aborted at makeDist line 59. ------------------------------------------------------------------------------ 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 Bac...@li...<mailto:Bac...@li...> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ |