https://github.com/oetiker/znapzend/pull/492/checks?check_run_id=865205219
Successfully installed IO-Socket-IP-0.39
! Installing the dependencies failed: Your Perl (5.010001) is not in the range '5.016'
! Bailing out the installation for Mojolicious-8.56.
! Installing the dependencies failed: Module 'Mojolicious' is not installed
! Bailing out the installation for Mojo-IOLoop-ForkCall-0.20.
! Installing the dependencies failed: Module 'Mojo::IOLoop::ForkCall' is not installed, Module 'Mojolicious' is not installed
! Bailing out the installation for /home/runner/work/znapzend/znapzend/.
Installing modules failed
21 distributions installed
Makefile:426: recipe for target 'cpanfile-5.10.1.snapshot' failed
@Rivqua > I have a question I can't figure out the answer to, I've setup znapzend, and it works. I am wondering though, how do I configure the features? like --features=skipIntermediates,compressed ?
This usually happens on the command line, either for the standalone CLI tool like znapzend --runonce=pool/export --features=...
or similarly for the service definition. Now in the multi-distro world, the specifics of passing your custom CLI arguments to the service (systemd? SMF? init-script?..) would differ, but the idea remains.
@oetiker Can you please write more detailed tutorial how to build it?
git clone https://github.com/oetiker/znapzend.git znapzend
cd znapzend/
autoconf
aclocal
./configure --prefix=/opt/znapzend
Can't open perl script "/root/znapzend/thirdparty/carton/bin/carton": No such file or directory
Okay, this is working fine, thanks. Important is to use only one-threaded make (not make -j4) to let carton download all dependencies.
git clone https://github.com/oetiker/znapzend.git znapzend
cd znapzend/
./bootstrap.sh
./configure --prefix=/opt/znapzend-master
make
make install
rm /usr/local/bin/znapzend
for x in /opt/znapzend-master/bin/; do ln -s $x /usr/local/bin; done
diff --git a/lib/ZnapZend/Config.pm b/lib/ZnapZend/Config.pm
index 6bc4249..c616729 100644
--- a/lib/ZnapZend/Config.pm
+++ b/lib/ZnapZend/Config.pm
@@ -33,7 +33,8 @@ has zfs => sub {
rootExec => $self->rootExec,
debug => $self->debug,
lowmemRecurse => $self->lowmemRecurse,
- zfsGetType => $self->zfsGetType
+ zfsGetType => $self->zfsGetType,
+ zLog => $self->zLog
);
};
has time => sub { ZnapZend::Time->new(timeWarp=>shift->timeWarp); };
rm -r znapzend/
git clone https://github.com/oetiker/znapzend.git znapzend && cd znapzend/
apt-get install perl unzip autoconf carton
./bootstrap.sh
./configure --prefix=/opt/znapzend-master
make
make install
rm /usr/local/bin/znapzend*
for x in /opt/znapzend-master/bin/*; do ln -s $x /usr/local/bin; done
ln -f
takes care of removing older ones if present, and a GNU ln -r
can make relative symlinks that are more meaningful when you juggle many alternate roots and do not want to reference the current OS you are running (most linux systems/scripts do not know the difference... solaris had that for decades, e.g. a file server hosting roots for diskless NFS workstations, so it is sort of a built-in habit)
ln
such as in Solaris does not have the -r
so explicit ../
have to be prepended