lampeh / libvmod-geoip

This Varnish module exports functions to look up GeoIP country codes in VCL
Other
13 stars 22 forks source link

Can't install vmod on Ubuntu using 3.0.3 #3

Open rowanl opened 11 years ago

rowanl commented 11 years ago

VARNISHSRC=cd $VARNISHSRC && pwd AC_CHECK_FILE([$VARNISHSRC/include/varnishapi.h], [], [AC_MSG_FAILURE(["$VARNISHSRC" is not a Varnish source directory])] )

It seems to fail on this line when using configure. There seems to not be a varnishapi.h in the Varnish Src anymore?

Maybe I'm missing something obvious - thanks!

brakon commented 10 years ago

any news? Im having the same issue

lampeh commented 10 years ago

Hi. I'm sorry for the really late reply but I can't figure out how to reproduce the problem:

checking for /home/hauke/src/varnish/varnish-3.0.3/include/varnishapi.h... yes

What version of Ubuntu did you use? Did you install varnish from the Ubuntu repository or Varnish's?

lampeh commented 10 years ago

Here's how I compile the module (using varnish 3.0.4 on Ubuntu Raring):

apt-get source varnish
cd varnish-3.0.4
dpkg-buildpackage -b
cd ..
git clone https://github.com/lampeh/libvmod-geoip.git
cd libvmod-geoip
./autogen.sh
./configure VARNISHSRC=../varnish-3.0.4 VMODDIR=/usr/lib/varnish/vmods
make
sudo make install