problem installing Varnish 3.0 on Ubuntu

Stroomer, Jeff Jeff.Stroomer at disney.com
Thu Sep 8 23:05:11 CEST 2011


> I figured out that I need to pick up the 3.0 version of Varnish to pick up
> the fix for trac bug #411.  But I'm running into a problem when I try the
> procedure described here:
>
> https://www.varnish-cache.org/installation/ubuntu

As indicated on that page, Varnish only provides deb packages for the LTS releases of Ubuntu.  Maverick is not an LTS release.

________________________________

Ben,

Thanks - now I know what an LTS release is.

I also tried building from source but ran into a problem.  I followed the instructions here

https://www.varnish-cache.org/docs/trunk/installation/install.html#compiling-varnish-from-source

Made sure I had all the dependencies satisfied, then ran autogen.sh, configure, and make.  But the make fails with the following:

make[4]: Entering directory `/home/jstroomer/downloads/varnish/varnish-3.0.0/lib/libvarnish'
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include     -DVARNISH_STATE_DIR='"/usr/local/var/varnish"' -g -O2 -pthread -Wextra -Wno-missing-field-initializers -Wno-sign-compare -MT libvarnish_la-version.lo -MD -MP -MF .deps/libvarnish_la-version.Tpo -c -o libvarnish_la-version.lo `test -f 'version.c' || echo './'`version.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include -DVARNISH_STATE_DIR=\"/usr/local/var/varnish\" -g -O2 -pthread -Wextra -Wno-missing-field-initializers -Wno-sign-compare -MT libvarnish_la-version.lo -MD -MP -MF .deps/libvarnish_la-version.Tpo -c version.c  -fPIC -DPIC -o .libs/libvarnish_la-version.o
version.c:37: fatal error: vcs_version.h: No such file or directory
compilation terminated.
make[4]: *** [libvarnish_la-version.lo] Error 1
make[4]: Leaving directory `/home/jstroomer/downloads/varnish/varnish-3.0.0/lib/libvarnish'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/jstroomer/downloads/varnish/varnish-3.0.0/lib/libvarnish'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jstroomer/downloads/varnish/varnish-3.0.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jstroomer/downloads/varnish/varnish-3.0.0'
make: *** [all] Error 2

Any thoughts?

Jeff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110908/3a544f6b/attachment-0003.html>


More information about the varnish-misc mailing list