Looking for tips to install varnish-modules

Guillaume Quintard guillaume.quintard at gmail.com
Fri Aug 25 18:31:42 UTC 2023


centos should be close enough
-- 
Guillaume Quintard


On Fri, Aug 25, 2023 at 10:06 AM Kari Cowan <kcowan at alm.com> wrote:

> is there one for redhat?
>
> On Fri, Aug 25, 2023 at 9:47 AM Guillaume Quintard <
> guillaume.quintard at gmail.com> wrote:
>
>> Hi Kari,
>>
>> The message is pretty clear (for once :-) ): you need aclolocal, which is
>> part of the automake package.
>>
>> For reference, here's what we install for vmod building:
>> - on centos:
>> https://github.com/varnish/varnish-modules/blob/master/Dockerfile#L8
>> - on debian:
>> https://github.com/varnish/docker-varnish/blob/master/fresh/debian/Dockerfile#L12
>> - on alpine:
>> https://github.com/varnish/docker-varnish/blob/master/fresh/alpine/Dockerfile#L12
>> - on arch:
>> https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=varnish-modules#n8
>>
>> Hopefully, this helps
>>
>> On Fri, Aug 25, 2023, 08:41 Kari Cowan <kcowan at alm.com> wrote:
>>
>>> Anyways - I ran configure instead of bootstrap, had to add the
>>> --disable-dependency-tracking option to get through it.
>>>
>>> But what to do about this?
>>>
>>> # make
>>> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
>>> '/varnish-modules/build-aux/missing' aclocal-1.16 -I m4 -I
>>> /usr/share/aclocal
>>> /varnish-modules/build-aux/missing: line 81: aclocal-1.16: command not
>>> found
>>> WARNING: 'aclocal-1.16' is missing on your system.
>>>          You should only need it if you modified 'acinclude.m4' or
>>>          'configure.ac' or m4 files included by 'configure.ac'.
>>>          The 'aclocal' program is part of the GNU Automake package:
>>>          <https://www.gnu.org/software/automake>
>>>          It also requires GNU Autoconf, GNU m4 and Perl in order to run:
>>>          <https://www.gnu.org/software/autoconf>
>>>          <https://www.gnu.org/software/m4/>
>>>          <https://www.perl.org/>
>>>
>>> On Fri, Aug 25, 2023 at 8:13 AM Kari Cowan <kcowan at alm.com> wrote:
>>>
>>>> To answer your earlier question, I hadn't installed varnish-libs-devel,
>>>> so I did do that this morning.
>>>>
>>>> Thanks for confirmin the release.  And just switched to run the
>>>> configure script instead 9f the other.
>>>>
>>>> Is the script error message useful, or does that happen for some other
>>>> reason?
>>>>
>>>> config.status: error: in `/varnish-modules':
>>>> config.status: error: Something went wrong bootstrapping makefile
>>>> fragments
>>>>     for automatic dependency tracking.  If GNU make was not used,
>>>> consider
>>>>     re-running the configure script with MAKE="gmake" (or whatever is
>>>>     necessary).  You can also try re-running configure with the
>>>>     '--disable-dependency-tracking' option to at least be able to build
>>>>     the package (albeit without support for automatic dependency
>>>> tracking).
>>>> See `config.log' for more details
>>>>
>>>>
>>>>
>>>> On Fri, Aug 25, 2023 at 7:49 AM Dridi Boukelmoune <dridi at varni.sh>
>>>> wrote:
>>>>
>>>>> On Fri, Aug 25, 2023 at 2:37 PM Kari Cowan <kcowan at alm.com> wrote:
>>>>> >
>>>>> > So it's a new install of varnish 7.3, and the varnish-modules I
>>>>> downloaded is:
>>>>> > https://github.com/varnish/varnish-modules/releases/tag/0.22.0
>>>>> >
>>>>> > But running the bootstrap script wants a file I don't seem to have,
>>>>> so even if I were to add the env variable to the package, I don't think it
>>>>> would work if that file doesn't exist.
>>>>> >
>>>>> > What am I missing?
>>>>> >
>>>>> > varnish-modules]# ./bootstrap
>>>>> > 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
>>>>> >
>>>>> > varnish-modules]# locate "varnishapi"
>>>>> > /usr/lib64/libvarnishapi.so.3
>>>>> > /usr/lib64/libvarnishapi.so.3.0.0
>>>>>
>>>>> The bootstrap script is for development from a git checkout, use the
>>>>> configure script instead. I'm not sure why the README doesn't mention
>>>>> this.
>>>>>
>>>>> Make sure to build the release archive:
>>>>>
>>>>>
>>>>> https://github.com/varnish/varnish-modules/releases/download/0.22.0/varnish-modules-0.22.0.tar.gz
>>>>>
>>>>> Dridi
>>>>>
>>>> _______________________________________________
>>> varnish-dev mailing list
>>> varnish-dev at varnish-cache.org
>>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20230825/52523b52/attachment-0001.html>


More information about the varnish-dev mailing list