varnishcache / libvmod-example Goto Github PK
View Code? Open in Web Editor NEWStarting point for vmod development for Varnish Cache
License: The Unlicense
Starting point for vmod development for Varnish Cache
License: The Unlicense
We need to create a 5.2 branch/tag for this vmod. The last working commit is here:
Used Varnish 4.3 and got a different error. Downgraded to 4.0.3 and got this error when doing make.
make[2]: PYTHON@: No such file or directory
on master, I modified vcc and c files (and committed) before calling it, and got:
rm 'rename-vmod-script'
error: pathspec 'm4/libtool.m4' did not match any file(s) known to git.
error: pathspec 'm4/lt~obsolete.m4' did not match any file(s) known to git.
error: pathspec 'm4/ltoptions.m4' did not match any file(s) known to git.
error: pathspec 'm4/ltsugar.m4' did not match any file(s) known to git.
error: pathspec 'm4/ltversion.m4' did not match any file(s) known to git.
Varnishapi.pc does not have variable datarootdir .
datarootdir is used in autogen.sh
This is causing
Package varnishapi was not found in the pkg-config search path.
Perhaps you should add the directory containing `varnishapi.pc'
to the PKG_CONFIG_PATH environment variable
to be thrown even though varnishapi.pc is loaded
It would be great to see a guide that takes someone with no knowledge to follow steps and have the vmod compiled.
./configure
fails with:
./configure: line 13695: syntax error near unexpected token `newline'
./configure: line 13695: ` '''
full configure
script here: https://filebin.varnish-software.com/guxugkpbnphk7ybw
Dockerfile
reproducer:
FROM archlinux:latest
RUN pacman --noconfirm -Sy autoconf automake base-devel gcc git libtool make python python-docutils varnish && \
git clone https://github.com/varnishcache/libvmod-example.git && \
cd libvmod-example && \
./autogen.sh && \
./configure && \
make && \
make check
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.