pixz icon indicating copy to clipboard operation
pixz copied to clipboard

configure: error: AsciiDoc not found, not able to generate the man page.

Open chenliangfei opened this issue 4 years ago • 3 comments

[root@localhost pixz-master]# ./autogen.sh configure.ac:47: installing './config.guess' configure.ac:47: installing './config.sub' configure.ac:11: installing './install-sh' configure.ac:11: installing './missing' src/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' [root@localhost pixz-master]# ./config config.guess config.sub configure
[root@localhost pixz-master]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking for a2x... no configure: error: AsciiDoc not found, not able to generate the man page. [root@localhost pixz-master]#

Can I help you?

chenliangfei avatar Oct 22 '21 12:10 chenliangfei

Run the "yum -y install asciidoc" command to solve the problem.

The issued error followed.

[root@localhost pixz-master]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking for a2x... a2x checking for ceil in -lm... yes checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBARCHIVE... yes checking for LZMA... no configure: error: Package requirements (liblzma) were not met:

No package 'liblzma' 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 LZMA_CFLAGS and LZMA_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. [root@localhost pixz-master]#

chenliangfei avatar Oct 22 '21 12:10 chenliangfei

Install the R language solution.

yum install R

chenliangfei avatar Oct 22 '21 12:10 chenliangfei

You can also pass --without-manpage to skip manpage generation so you don't need asciidoc. The option is mentioned in configure --help.

As you noticed, you'll need LZMA as well, see the list of dependencies: https://github.com/vasi/pixz#dependencies

If you share what distro you're on, and what version, I'd be happy to help you figure out the right commands to get the dependencies.

vasi avatar Oct 24 '21 01:10 vasi