carlosabalde/libvmod-cfg

Build failure 4.1x

redbox-cdn opened this issue · 2 comments

I am facing build problem for branch 4.1 (supported json format var. many thanks!)

OS: centos6
Varnish: 4.1x
autoconf and libtool are installed.

I am not sure what is the problem..

 ./autogen.sh 
+ aclocal -I m4 -I /usr/local/varnish/share/aclocal
configure.ac:61: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:44: PKG_CHECK_VAR is expanded from...
configure.ac:61: the top level
configure.ac:62: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:44: PKG_CHECK_VAR is expanded from...
configure.ac:62: the top level
configure.ac:63: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:44: PKG_CHECK_VAR is expanded from...
configure.ac:63: the top level
configure.ac:64: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:44: PKG_CHECK_VAR is expanded from...
configure.ac:64: the top level
configure.ac:61: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:44: PKG_CHECK_VAR is expanded from...
configure.ac:61: the top level
configure.ac:62: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:44: PKG_CHECK_VAR is expanded from...
configure.ac:62: the top level
configure.ac:63: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:44: PKG_CHECK_VAR is expanded from...
configure.ac:63: the top level
configure.ac:64: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:44: PKG_CHECK_VAR is expanded from...
configure.ac:64: the top level
+ libtoolize --copy --force
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
+ autoheader
configure.ac:61: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:44: PKG_CHECK_VAR is expanded from...
configure.ac:61: the top level
configure.ac:62: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:44: PKG_CHECK_VAR is expanded from...
configure.ac:62: the top level
configure.ac:63: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:44: PKG_CHECK_VAR is expanded from...
configure.ac:63: the top level
configure.ac:64: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:44: PKG_CHECK_VAR is expanded from...
configure.ac:64: the top level
+ automake --add-missing --copy --foreign
configure.ac:61: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:44: PKG_CHECK_VAR is expanded from...
configure.ac:61: the top level
configure.ac:62: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:44: PKG_CHECK_VAR is expanded from...
configure.ac:62: the top level
configure.ac:63: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:44: PKG_CHECK_VAR is expanded from...
configure.ac:63: the top level
configure.ac:64: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
configure.ac:44: PKG_CHECK_VAR is expanded from...
configure.ac:64: the top level
configure.ac:14: installing './compile'
configure.ac:9: installing './config.guess'
configure.ac:9: installing './config.sub'
configure.ac:12: installing './install-sh'
configure.ac:12: installing './missing'
src/Makefile.am:12: error: Libtool library used but 'LIBTOOL' is undefined
src/Makefile.am:12:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/Makefile.am:12:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/Makefile.am:12:   If 'LT_INIT' is in 'configure.ac', make sure
src/Makefile.am:12:   its definition is in aclocal's search path.
src/Makefile.am: installing './depcomp'


Please, check pkgconf package is installed and try again in a clean clone.

Hi thank you for the reply.

Sorry, this problem was related to our package. re-install OS and than vmod-cfg 4.1 could be installed.

i will try the json format right away! thanks!