pixz
pixz copied to clipboard
Build without libarchive
If the user can't get libarchive, just stub it out. But this means command-line behaviour will differ—they won't get indexing. Is that ok?
Is this issue related to the build failures of libarchive?
Ubuntu:
./configure: line 4937: syntax error near unexpected token LIBARCHIVE,' ./configure: line 4937:
PKG_CHECK_MODULES(LIBARCHIVE, libarchive)'
Centos: configure: error: Package requirements (libarchive) were not met: No package 'libarchive' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBARCHIVE_CFLAGS and LIBARCHIVE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
hello quick fix
remove everything
install this
apt-get install build-essential autoconf autogen asciidoc libarchive-dev pkg-config liblzma-dev
clone again
./autogen.sh
./configure
make
works for me, I think you need pkg-config before running autogen.sh