Mailing List Archive

Looking for tips to install varnish-modules
Installing varnish-modules
https://github.com/varnish/varnish-modules
- has generic install notes

Version for Varnish7.3
https://github.com/varnish/varnish-modules/releases/tag/0.22.0
- unloaded and untarred in /home/VarnishAdmin

Trying to follow install notes, but they don't work or my download isn't
the right thing to download (?)

Running (if helpful)
Fedora: "Red Hat Enterprise Linux 8"
$ uname -a
Linux almstgvarnish124 4.18.0-372.9.1.el8.x86_64 #1 SMP Fri Apr 15 22:12:19
EDT 2022 x86_64 x86_64 x86_64 GNU/Linux

Anyone have tips or link to a decent tutorial/explanation page?

Also - I apologize if this went out to varnish-misc. I didn't see anything
come back so i assumed it didn't go out.
Re: Looking for tips to install varnish-modules [ In reply to ]
Hi Kari,

I didn't see anything coming on varnish-misc, that's weird.

"they don't work" is a bit hard to debug, would you have some logs to share
by any chance?

Normally, assuming you have the right dependencies, it's a simple
"./configure && make && make install"

You can also try install-vmod
<https://github.com/varnish/toolbox/tree/master/install-vmod> like we do in
the docker image:
https://github.com/varnish/docker-varnish/blob/master/fresh/debian/Dockerfile#L51


--
Guillaume Quintard


On Mon, Aug 21, 2023 at 1:32?PM Kari Cowan <kcowan@alm.com> wrote:

> Installing varnish-modules
> https://github.com/varnish/varnish-modules
> - has generic install notes
>
> Version for Varnish7.3
> https://github.com/varnish/varnish-modules/releases/tag/0.22.0
> - unloaded and untarred in /home/VarnishAdmin
>
> Trying to follow install notes, but they don't work or my download isn't
> the right thing to download (?)
>
> Running (if helpful)
> Fedora: "Red Hat Enterprise Linux 8"
> $ uname -a
> Linux almstgvarnish124 4.18.0-372.9.1.el8.x86_64 #1 SMP Fri Apr 15
> 22:12:19 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
>
> Anyone have tips or link to a decent tutorial/explanation page?
>
> Also - I apologize if this went out to varnish-misc. I didn't see
> anything come back so i assumed it didn't go out.
> _______________________________________________
> varnish-dev mailing list
> varnish-dev@varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
>
Re: Looking for tips to install varnish-modules [ In reply to ]
Sorry for the vague report -- I wasn't getting past the first steps so logs
won't help.

But looks like you dropped a good tip for me to read into and try again.
I'll reply back again with questions or hopefully that it worked out.


On Mon, Aug 21, 2023 at 1:59?PM Guillaume Quintard <
guillaume.quintard@gmail.com> wrote:

> Hi Kari,
>
> I didn't see anything coming on varnish-misc, that's weird.
>
> "they don't work" is a bit hard to debug, would you have some logs to
> share by any chance?
>
> Normally, assuming you have the right dependencies, it's a simple
> "./configure && make && make install"
>
> You can also try install-vmod
> <https://github.com/varnish/toolbox/tree/master/install-vmod> like we do
> in the docker image:
> https://github.com/varnish/docker-varnish/blob/master/fresh/debian/Dockerfile#L51
>
>
> --
> Guillaume Quintard
>
>
> On Mon, Aug 21, 2023 at 1:32?PM Kari Cowan <kcowan@alm.com> wrote:
>
>> Installing varnish-modules
>> https://github.com/varnish/varnish-modules
>> - has generic install notes
>>
>> Version for Varnish7.3
>> https://github.com/varnish/varnish-modules/releases/tag/0.22.0
>> - unloaded and untarred in /home/VarnishAdmin
>>
>> Trying to follow install notes, but they don't work or my download isn't
>> the right thing to download (?)
>>
>> Running (if helpful)
>> Fedora: "Red Hat Enterprise Linux 8"
>> $ uname -a
>> Linux almstgvarnish124 4.18.0-372.9.1.el8.x86_64 #1 SMP Fri Apr 15
>> 22:12:19 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
>>
>> Anyone have tips or link to a decent tutorial/explanation page?
>>
>> Also - I apologize if this went out to varnish-misc. I didn't see
>> anything come back so i assumed it didn't go out.
>> _______________________________________________
>> varnish-dev mailing list
>> varnish-dev@varnish-cache.org
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
>>
>
Re: Looking for tips to install varnish-modules [ In reply to ]
On Mon, Aug 21, 2023 at 8:31?PM Kari Cowan <kcowan@alm.com> wrote:
>
> Installing varnish-modules
> https://github.com/varnish/varnish-modules
> - has generic install notes
>
> Version for Varnish7.3
> https://github.com/varnish/varnish-modules/releases/tag/0.22.0
> - unloaded and untarred in /home/VarnishAdmin
>
> Trying to follow install notes, but they don't work or my download isn't the right thing to download (?)

Did you install the varnish-devel package?
_______________________________________________
varnish-dev mailing list
varnish-dev@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
Re: Looking for tips to install varnish-modules [ In reply to ]
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@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@varni.sh> wrote:
>
>> On Fri, Aug 25, 2023 at 2:37?PM Kari Cowan <kcowan@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
>>
>
Re: Looking for tips to install varnish-modules [ In reply to ]
centos should be close enough
--
Guillaume Quintard


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

> is there one for redhat?
>
> On Fri, Aug 25, 2023 at 9:47?AM Guillaume Quintard <
> guillaume.quintard@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@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@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@varni.sh>
>>>> wrote:
>>>>
>>>>> On Fri, Aug 25, 2023 at 2:37?PM Kari Cowan <kcowan@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@varnish-cache.org
>>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
>>>
>>