We are trying to improve our varnish reverse-proxy with some inline C. And as such, I have been starting to dabble. I have put in what I think to be some rather simple code, but get an error which I believe is due to my ubuntu setup.
The below code works fine:
But this returns an error:
storage_file: filename: /var/lib/varnish/retrobadger-desktop/varnish_storage.bin size 1024 MB.
Message from C-compiler:
In file included from ./vcl.1P9zoqAU.c:418:
/usr/include/libxml2/libxml/parser.h:15: fatal error: libxml/xmlversion.h: No such file or directory
Running C-compiler failed, exit 1
VCL compilation failed
Any ideas on whether my code is wrong, the parser.h file appears to be in the correct directory by default, so not sure where to start.
Thankyou for any advice you can give,