vasi / pixz

Parallel, indexed xz compressor
BSD 2-Clause "Simplified" License
696 stars 61 forks source link

Build without libarchive #31

Open vasi opened 10 years ago

vasi commented 10 years ago

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?

perjahn commented 7 years ago

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.

thibault-ketterer commented 4 years ago

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