On 12/27/25 12:07 PM, G.W. Haywood wrote:
On Sun, 21 Dec 2025, jbk wrote:

With BackkupPC-XS-0.63rc1 installed building BackupPC-4.4.1rc1
stalls at this point in the build process:
...
...
I believe you're trying to create a Red Hat RPM.? ...
...
Correct, I am trying to build within the distro packaging system. I did get further on the BackupPC-4.4.1rc1 build but I am now choking on a new dependency "perl-SCGI" that does not exist in the RH and derivatives src.rpm system.
...

Yes, unfortunately the various distro flavours tend to have their own particular templates for naming their packages.  Usually the names are based (with varying degrees of looseness) on the names of the upstream packages but there are sometimes curious naming quirks caused e.g. by conflicts with other package names, so it isn't always easy to guess a
package name even if you know what's supposed to be in it.

Just FYI the SCGI module is one of a couple of ways of speeding up the response of a Web server.  BackupPC will run without it (and will also without the Web server).  I routinely run backupPC without running the Web server or the SCGI interface layer.  But having said that you will almost certainly want to use the BackupPC Web interface, so I'm not in
any way suggesting that as a workaround.

There are several ways to set up the (S)CGI interface.  See "Step 9:"
in the documentation at

https://backuppc.github.io/backuppc/BackupPC.html

which explains that BackupPC can be used via plain CGI instead of SCGI.

Be aware that with SCGI there may be security issues to consider. See "SCGI Setup" in the documentation, the comments in config.pl, and also perhaps the first few lines of .../BackupPC/bin/BackupPC_Admin_SCGI.



I ended up installing the perl-SCGI source from CPAN per the included readme. Once I did so I was able to complete the "makeDist" phase. From that I was able to build the src.rpm with a modified spec file from 4.4.0 then built that with mock.

BackupPC-4.4.1rc1 is now installed and I can access the CGI interface with my user login. Still to do is redefine the config.pl and hosts.

Ged, Thanks for the history on the inclusion of perl-SCGI as it allowed me to take a step back and look at the RH code again, in particular the config.pl which clearly included perl-SCGI as a step in the process so I took a chance and installed it per above. It is a build dependency just not once the src.rpm is created.

Happy New Year

--
Jim KR


_______________________________________________
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/

Reply via email to