Skip to content
This repository was archived by the owner on Jan 1, 2022. It is now read-only.
This repository was archived by the owner on Jan 1, 2022. It is now read-only.

Config failed #8

Description

@luoyanghero

I use CentOS7.4 x64.
I download archivemount-0.8.7

$ aclocal --verbose --warnings=all
$ autoconf --verbose --warnings=all
$ autoheader --verbose --warnings=all
$ automake --verbose --warnings=all --add-missing

When I run automake, there is a warning as follow:

###########
automake: thread 0: reading /usr/share/automake-1.13/am/clean-hdr.am
automake: thread 0: reading /usr/share/automake-1.13/am/progs.am
automake: warnings are treated as errors
Makefile.am:2: warning: compiling 'archivemount.c' with per-target flags requires 'AM_PROG_CC_C_O' in 'configure.ac'
automake: thread 0: reading /usr/share/automake-1.13/am/program.am
automake: thread 0: reading /usr/share/automake-1.13/am/compile.am
automake: thread 0: reading /usr/share/automake-1.13/am/depend.am

I ignore it, and ./configure

###########
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/lb/Downloads/archiveMount/archivemount-0.8.7/missing: Unknown --is-lightweight' option Try /home/lb/Downloads/archiveMount/archivemount-0.8.7/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
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 gcc... gcc
...
...
...
checking for unistd.h... yes
checking archive.h usability... no
checking archive.h presence... no
checking for archive.h... no
configure: error: libarchive headers not found.

              If the libarchive headers are installed then perhaps you
              should set the CPPFLAGS=-I/nonstandard/include/dir
              environment variable

I have installed libarchive(OS default installed), where can I find lib header?
By the way, I can find the libarchive.so

#########
[lb@localhost archivemount-0.8.7]$ ll /lib64/libarch*
lrwxrwxrwx. 1 root root 16 Jan 28 10:05 /lib64/libarchive.so -> libarchive.so.13
lrwxrwxrwx. 1 root root 20 Jan 17 06:02 /lib64/libarchive.so.13 -> libarchive.so.13.1.2
-rwxr-xr-x. 1 root root 688344 Sep 15 2016 /lib64/libarchive.so.13.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions