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

Config failed #8

Open
luoyanghero opened this issue Jan 28, 2018 · 0 comments
Open

Config failed #8

luoyanghero opened this issue Jan 28, 2018 · 0 comments

Comments

@luoyanghero
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant