Open rowanl opened 11 years ago
any news? Im having the same issue
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?
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
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!