Closed probonopd closed 4 years ago
Also running into this on CentOS 6.7 with EPEL.
Full log: https://travis-ci.org/probonopd/appimagetool/jobs/168668465#L980-L988
That looks like autoconf failed to find our m4 files?
Using autotools-latest seems to be a workaround.
Now running into ./configure: line 13091: syntax error near unexpected token 'pkgconfig_XZ,liblzma,'
. Deleting 2 instances of PKG_CHECK_MODULES
in configure
seems to be a workaround.
Delete these:
PKG_CHECK_MODULES(pkgconfig_XZ,liblzma,
LIBS="$LIBS $[]pkgconfig_[]XZ[]_LIBS"
# yes, CFLAGS, we want the preprocessor to work
CPPFLAGS="$CPPFLAGS $[]pkgconfig_[]XZ[]_CFLAGS"
sq_lib=
,:)
PKG_CHECK_MODULES(pkgconfig_fuse,fuse >= 2.5,
LIBS="$LIBS $[]pkgconfig_[]fuse[]_LIBS"
# yes, CFLAGS, we want the preprocessor to work
CPPFLAGS="$CPPFLAGS $[]pkgconfig_[]fuse[]_CFLAGS"
SQ_TRY_FUSE(,[sq_fuse_found=yes],
[AC_MSG_FAILURE([Can't find FUSE with pkgconfig])])
,:)
How can this be solved properly? Yes, pkg-config
is installed and finds the libraries:
[root@host squashfuse]# pkg-config --cflags --libs liblzma
-llzma
[root@host squashfuse]# pkg-config --cflags --libs fuse
-D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -pthread -L/lib64 -lfuse -lrt -ldl
@probonopd squashfuse
builds fine on CentOS 6. It's even in EPEL today.
It looks like you have to install autoconf/automake/pkg-config before running autogen.sh.
Full build log here.