Closed Bilge closed 4 years ago
it works here, can you make sure that you start from a clean state (git clean -dxf
or something) and see if that's still an issue?
$ make
make all-recursive
make[1]: Entering directory '/home/gquintard/work/varnish-modules'
Making all in src
make[2]: Entering directory '/home/gquintard/work/varnish-modules/src'
VMODTOOL vcc_bodyaccess_if.c
CC vmod_bodyaccess.lo
CC vcc_bodyaccess_if.lo
CCLD libvmod_bodyaccess.la
VMODTOOL vcc_header_if.c
CC vmod_header.lo
CC vcc_header_if.lo
CCLD libvmod_header.la
VMODTOOL vcc_saintmode_if.c
CC vmod_saintmode.lo
CC vcc_saintmode_if.lo
CCLD libvmod_saintmode.la
VMODTOOL vcc_tcp_if.c
CC vmod_tcp.lo
CC vcc_tcp_if.lo
CCLD libvmod_tcp.la
VMODTOOL vcc_var_if.c
CC vmod_var.lo
CC vcc_var_if.lo
CCLD libvmod_var.la
VMODTOOL vcc_vsthrottle_if.c
CC vmod_vsthrottle.lo
CC vcc_vsthrottle_if.lo
CCLD libvmod_vsthrottle.la
VMODTOOL vcc_xkey_if.c
VSCTOOL VSC_xkey.c
VSCTOOL VSC_xkey.h
CC vmod_xkey.lo
CC vcc_xkey_if.lo
CC VSC_xkey.lo
CCLD libvmod_xkey.la
GEN vmod_bodyaccess.3
GEN vmod_header.3
GEN vmod_saintmode.3
GEN vmod_tcp.3
GEN vmod_var.3
GEN vmod_vsthrottle.3
VSCTOOL VSC_xkey.rst
GEN vmod_xkey.3
make[2]: Leaving directory '/home/gquintard/work/varnish-modules/src'
make[2]: Entering directory '/home/gquintard/work/varnish-modules'
make[2]: Leaving directory '/home/gquintard/work/varnish-modules'
make[1]: Leaving directory '/home/gquintard/work/varnish-modules'
$ make install
Making install in src
make[1]: Entering directory '/home/gquintard/work/varnish-modules/src'
make[2]: Entering directory '/home/gquintard/work/varnish-modules/src'
make[2]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/tmp/vm/share/man/man3'
/usr/bin/install -c -m 644 vmod_bodyaccess.3 vmod_header.3 vmod_saintmode.3 vmod_tcp.3 vmod_var.3 vmod_vsthrottle.3 vmod_xkey.3 '/tmp/vm/share/man/man3'
/usr/bin/mkdir -p '/tmp/vm/lib/varnish/vmods'
/bin/sh ../libtool --mode=install /usr/bin/install -c libvmod_bodyaccess.la libvmod_header.la libvmod_saintmode.la libvmod_tcp.la libvmod_var.la libvmod_vsthrottle.la libvmod_xkey.la '/tmp/vm/lib/varnish/vmods'
libtool: install: /usr/bin/install -c .libs/libvmod_bodyaccess.so /tmp/vm/lib/varnish/vmods/libvmod_bodyaccess.so
libtool: install: /usr/bin/install -c .libs/libvmod_bodyaccess.lai /tmp/vm/lib/varnish/vmods/libvmod_bodyaccess.la
libtool: install: /usr/bin/install -c .libs/libvmod_header.so /tmp/vm/lib/varnish/vmods/libvmod_header.so
libtool: install: /usr/bin/install -c .libs/libvmod_header.lai /tmp/vm/lib/varnish/vmods/libvmod_header.la
libtool: install: /usr/bin/install -c .libs/libvmod_saintmode.so /tmp/vm/lib/varnish/vmods/libvmod_saintmode.so
libtool: install: /usr/bin/install -c .libs/libvmod_saintmode.lai /tmp/vm/lib/varnish/vmods/libvmod_saintmode.la
libtool: install: /usr/bin/install -c .libs/libvmod_tcp.so /tmp/vm/lib/varnish/vmods/libvmod_tcp.so
libtool: install: /usr/bin/install -c .libs/libvmod_tcp.lai /tmp/vm/lib/varnish/vmods/libvmod_tcp.la
libtool: install: /usr/bin/install -c .libs/libvmod_var.so /tmp/vm/lib/varnish/vmods/libvmod_var.so
libtool: install: /usr/bin/install -c .libs/libvmod_var.lai /tmp/vm/lib/varnish/vmods/libvmod_var.la
libtool: install: /usr/bin/install -c .libs/libvmod_vsthrottle.so /tmp/vm/lib/varnish/vmods/libvmod_vsthrottle.so
libtool: install: /usr/bin/install -c .libs/libvmod_vsthrottle.lai /tmp/vm/lib/varnish/vmods/libvmod_vsthrottle.la
libtool: install: /usr/bin/install -c .libs/libvmod_xkey.so /tmp/vm/lib/varnish/vmods/libvmod_xkey.so
libtool: install: /usr/bin/install -c .libs/libvmod_xkey.lai /tmp/vm/lib/varnish/vmods/libvmod_xkey.la
libtool: finish: PATH="/usr/local/bin:/usr/local/sbin:/usr/bin:/home/gquintard/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/gquintard/go/bin/:/sbin" ldconfig -n /tmp/vm/lib/varnish/vmods
----------------------------------------------------------------------
Libraries have been installed in:
/tmp/vm/lib/varnish/vmods
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory '/home/gquintard/work/varnish-modules/src'
make[1]: Leaving directory '/home/gquintard/work/varnish-modules/src'
make[1]: Entering directory '/home/gquintard/work/varnish-modules'
make[2]: Entering directory '/home/gquintard/work/varnish-modules'
make[2]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/tmp/vm/share/doc/varnish-modules'
/usr/bin/install -c -m 644 README.rst LICENSE '/tmp/vm/share/doc/varnish-modules'
make[2]: Leaving directory '/home/gquintard/work/varnish-modules'
make[1]: Leaving directory '/home/gquintard/work/varnish-modules'
Didn't check out using git, used the zip. Starting from a clean installation, it does work. Not really sure how it ended up in that bad state. I thought maybe it was because I tried without sudo
the first time, but I can't reproduce that issue now.
Unfortunate, but I'll assume this is autotools
quirking up Thank you for the feedback, please let us know if that happens again
I was able to build the 6.5 modules from the 6.5 branch, but
make install
fails.