Compiling error on almalinux 8.7 : src/Makefile.am:9: error: 'vmod_LTLIBRARIES' is used but 'vmoddir' is undefined
Hi There , Trying to compile your storage engine in almalinux 8.7 with varnish 7.3 and getting this error :
src/Makefile.am:9: error: 'vmod_LTLIBRARIES' is used but 'vmoddir' is undefined
Steps :
- compiled the varnish 7.3.0 from source url is - wget https://varnish-cache.org/downloads/varnish-7.3.0.tgz and of course according to the instructions here - https://varnish-cache.org/docs/trunk/installation/install_source.html#compiling-varnish
- Trying to compile the slash and failed which cloned from - git clone https://code.uplex.de/uplex-varnish/slash.git
- i have exported the directory of varnish to the directy of varnish source which is
export VARNISHSRC=/root/varnish-7.3.0/. - excuted ./bootstrap or ./bootstrap VARNISHSRC=/root/varnish-7.3.0/ and in the beggining of the proccess i have received the folowing error any idea why ?
Thanks Dave
- libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
- libtoolize: copying file 'build-aux/ltmain.sh'
- libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, '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'
- configure.ac:6: installing 'build-aux/compile'
- configure.ac:8: installing 'build-aux/missing'
- src/Makefile.am:9: error: 'vmod_LTLIBRARIES' is used but 'vmoddir' is undefined
- src/Makefile.am: installing 'build-aux/depcomp'
- automake: warnings are treated as errors
- src/Makefile.am:371: warning: variable 'VSC_SOURCES' is defined but no program or
- src/Makefile.am:371: library has 'VSC' as canonical name (possible typo)
- src/Makefile.am:54: warning: variable 'libvmod_slash_la_SOURCES' is defined but no program or
- src/Makefile.am:54: library has 'libvmod_slash_la' as canonical name (possible typo)
- src/Makefile.am:71: warning: variable 'nodist_libvmod_slash_la_SOURCES' is defined but no program or
- src/Makefile.am:71: library has 'libvmod_slash_la' as canonical name (possible typo)
- src/Makefile.am:62: warning: variable 'libvmod_slash_la_LIBADD' is defined but no program or
- src/Makefile.am:62: library has 'libvmod_slash_la' as canonical name (possible typo)
- src/Makefile.am:53: warning: variable 'libvmod_slash_la_LDFLAGS' is defined but no program or
- src/Makefile.am:53: library has 'libvmod_slash_la' as canonical name (possible typo)
MY OS VERSION :
- ` cat /etc/os-release
- NAME="AlmaLinux"
- VERSION="8.7 (Stone Smilodon)"
- ID="almalinux"
- ID_LIKE="rhel centos fedora"
- VERSION_ID="8.7"
- PLATFORM_ID="platform:el8"
- PRETTY_NAME="AlmaLinux 8.7 (Stone Smilodon)"
- ANSI_COLOR="0;34"
- LOGO="fedora-logo-icon"
- CPE_NAME="cpe:/o:almalinux:almalinux:8::baseos"
- HOME_URL="https://almalinux.org/"
- DOCUMENTATION_URL="https://wiki.almalinux.org/"
- BUG_REPORT_URL="https://bugs.almalinux.org/"
- ALMALINUX_MANTISBT_PROJECT="AlmaLinux-8"
- ALMALINUX_MANTISBT_PROJECT_VERSION="8.7"
- REDHAT_SUPPORT_PRODUCT="AlmaLinux"
- REDHAT_SUPPORT_PRODUCT_VERSION="8.7" `
Edited by Dave