[CentOS] compiling libarchive

Fri Sep 5 04:44:14 UTC 2008
Mag Gam <magawake at gmail.com>

Has anyone been able to compile libarchive and archivemount? I want to
use this with fuse.

The compile is very tough for libarchive, I keep getting

c -o tar/bsdtar-util.o `test -f 'tar/util.c' || echo './'`tar/util.c
mv -f tar/.deps/bsdtar-util.Tpo tar/.deps/bsdtar-util.Po
gcc -DHAVE_CONFIG_H -I.  -I./libarchive -I./libarchive   -g -O2 -MT
tar/bsdtar-write.o -MD -MP -MF tar/.deps/bsdtar-write.Tpo -c -o
tar/bsdtar-write.o `test -f 'tar/write.c' || echo './'`tar/write.c
tar/write.c: In function `write_hierarchy':
tar/write.c:730: error: `EXT2_IOC_GETFLAGS' undeclared (first use in
this function)
tar/write.c:730: error: (Each undeclared identifier is reported only once
tar/write.c:730: error: for each function it appears in.)
tar/write.c:732: error: `EXT2_NODUMP_FL' undeclared (first use in this function)
tar/write.c: In function `write_entry':
tar/write.c:915: error: `EXT2_IOC_GETFLAGS' undeclared (first use in
this function)
make[1]: *** [tar/bsdtar-write.o] Error 1
make[1]: Leaving directory `/var/tmp/archivemount-0.5.3/libarchive-2.5.5'
make: *** [all] Error 2

TIA