Unable to build from source
There was a point where I got stuck when I tried to build it in Ubuntu 20.04 LTS.
Require the same m4 file as Varnish
ubuntu@proxy04:~/test/libvdp-pesi-master$ ./autogen.sh
+ aclocal -I m4 -I /usr/share/aclocal
aclocal: warning: couldn't open directory 'm4': No such file or directory
+ libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './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'
+ autoheader
+ automake --add-missing --copy --foreign
configure.ac:12: installing './ar-lib'
configure.ac:12: installing './compile'
configure.ac:7: installing './config.guess'
configure.ac:7: installing './config.sub'
configure.ac:10: installing './install-sh'
configure.ac:10: installing './missing'
src/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
+ autoconf
configure.ac:20: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autogen.sh requires the same m4 file as Varnish. It would be nice to see this in the documentation.
Missing vcc_pesi_debug_if.h
ubuntu@proxy04:~/test/libvdp-pesi-master$ make
...
vmod_pesi_debug.c:35:10: fatal error: vcc_pesi_debug_if.h: No such file or directory
35 | #include "vcc_pesi_debug_if.h"
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:785: vmod_pesi_debug.lo] Error 1
make[2]: Leaving directory '/home/ubuntu/test/libvdp-pesi-master/src'
make[1]: *** [Makefile:513: all-recursive] Error 1
make[1]: Leaving directory '/home/ubuntu/test/libvdp-pesi-master'
make: *** [Makefile:424: all] Error 2
Perhaps the following line is needed in src/Makefile.am
vmod_pesi_debug.lo: vcc_pesi_debug_if.h
Envirioment
- Ubuntu 20.04 LTS
- Varnish 7.0.0