ISS APRS Digi is Back Online


АПРС Дигипитер действительно снова в строю! Всем привет!  de EU1MEV


fsarchiver from sources

Compilation from sources

If you want to compile it from sources, you will need to have the following libraries installed on your system, including their header files. On RPM based distributions, you often have to install packages such as libXXX-devel.rpm to have the header files, since the base package (libXXX.rpm) does not provide these files. Here are the required libraries:

  • zlib (and zlib-devel)
  • liblzo (and lzo-devel)
  • lz4 (and lz4-devel)
  • bzip2-libs (and bzip2-devel)
  • libgcrypt (and libgcrypt-devel)
  • libblkid (and libblkid-devel)
  • e2fsprogs-libs (e2fsprogs-devel)
  • xz-utils (and xz-devel)
На самом деле набор пре-реквизитов оказался чуть шире:
apt-get install zlib1g zlib1g-dev liblzo2-2 liblzo2-dev liblz4-1 liblz4-dev libbz2-1.0 libbz2-dev libgcrypt20 libgcrypt20-dev libblkid-dev libblkid1 e2fslibs e2fslibs-dev e2fsprogs xz-utils xzdec liblzma5 liblzma-dev libattr1 libattr1-dev pkg-config build-essential

If libraries or header files are missing: If you do not have the xz/liblzma or liblzo installed, you have the ability to compile fsarchiver with no support for lzma or lzo:

./configure --prefix=/usr --disable-lzma --disable-lzo && make && make install

You can also use the static that provides support for all the compression levels and which does not require the libraries to be installed on your system.

To compile the sources, you have to run follow these instructions:

download the latest sources

First, you have to download fsarchiver-0.8.3.tar.gz. Just save it to a temporary directory.

extract the sources in a temporary directory

mkdir -p /var/tmp/fsarchiver

cd /var/tmp/fsarchiver
wget -cO fsarchiver-0.8.3.tar.gz
tar xfz /path/to/fsarchiver-x.y.z.tar.gz

compile and install from sources

cd /var/tmp/fsarchiver/fsarchiver-x.y.z
./configure --prefix=/usr
make && make install