Greetings, > Sent: Sunday, November 16, 2025 at 5:28 PM > From: "G.W. Haywood" <[email protected]> > To: [email protected] > Subject: Re: [BackupPC-users] unable to build backuppc from source > > Hello again, > > On Sun, 16 Nov 2025, daggs via BackupPC-users wrote: > > > I'm working on building backuppc from source on alpine linux on the > > home folder of a user and I've encountered an issue. when I clone > > the main backuppc repo to my home folder and run perl configure.pl > > inside it like the readme states the build fails stating that I need > > to install from a tarball or run makeDist. So I've extracted the > > latest tag name for the tags list ad used it as version, now I'm > > getting this: > > > > $ ./makeDist --version 4.4.1rc1 > > ./makeDist: bin/BackupPC_Admin_SCGI contains an error (or someone killed me) > > > > any idea what am I missing or how to fix this issue? > > Alpine Linux leans toward the minimalist end of the spectrum so you're > probably just missing a few Perl modules. The makeDist script checks > that the BackupPC scripts which it's packaging can be compiled by Perl > before it makes the package. To do that it runs 'perl -c scriptName' > where scriptName is any of the BackupPC scripts. When a module needed > by a BackupPC script can't be loaded by the system, you see the error > message which you quoted. Might be you need at least the SCGI module. > > I've just committed a change to makeDist which adds the '--verbose' > option. If you grab the new version and run that with --verbose added > to the command line you will probably see what's missing from your > kit. As makeDist is a Perl script you could edit it. You'd get most > of the verbosity I've added by editing one line in your existing copy. > Just remove the string '2> /dev/null' from the *last* of the three > occurrences of that string in the file. It looks like the first two > tests ran OK, so you don't need to worry about them, but each tests > only one script. The third test is in a loop and tests dozens. > > When you find which modules you need you might be able to install them > from an Alpine package using 'apk'; if they aren't packaged for Alpine > you can grab them from e.g. CPAN. You can install them to a location > under your home directory if you wish, but it's unusual to do that and > you'd need to make sure that Perl could then find them when needed by > adding the correct path(s) to Perl's environment at runtime. > > Please let me know how you get on. So far, you're doing famously! > > --
With the new feature, I was able to compile it and install it on the home folder of the user I want to run it. two question if I may: 1. Is there a way to run the perl configuration silently? so the installation can be automated? 2. As I use alpine linux, I've opted not to use systemd, which file from https://github.com/backuppc/backuppc/tree/4.4.0/systemd/src/init.d should I select? also, what changes I need to preform in order to have it working on my instance? Thanks, Dagg > > 73, > Ged. > > > _______________________________________________ > BackupPC-users mailing list > [email protected] > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: https://github.com/backuppc/backuppc/wiki > Project: https://backuppc.github.io/backuppc/ > _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
