pixz icon indicating copy to clipboard operation
pixz copied to clipboard

Build without libarchive

Open vasi opened this issue 10 years ago • 2 comments

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?

vasi avatar Jun 13 '14 01:06 vasi

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.

perjahn avatar Sep 14 '16 11:09 perjahn

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

thibault-ketterer avatar Oct 27 '19 11:10 thibault-ketterer