geoip-vmod icon indicating copy to clipboard operation
geoip-vmod copied to clipboard

No rule to make target @VMODTOOL@

Open gewaechshaus opened this issue 9 years ago • 7 comments

Hey there,

while running the make we get the following error:

make  all-recursive
make[1]: Entering directory `/src/geoip-vmod'
Making all in src
make[2]: Entering directory `/src/geoip-vmod/src'
make[2]: *** No rule to make target `@VMODTOOL@', needed by `vcc_if.c'.  Stop.
make[2]: Leaving directory `/src/geoip-vmod/src' 
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/geoip-vmod'
make: *** [all] Error 2

How to handle this?

Best regards

gewaechshaus avatar Apr 29 '15 12:04 gewaechshaus

Friend, I had the same problem and searched a lot of time, so now I am glad to help you. You need to install the package varnish-libs-devl and the configure / make will be ok then.

intelbg avatar May 02 '15 12:05 intelbg

Hey @intelbg, thanks a l fot dude, I think i stumbled upon the same ressources...(Even if I am unsure which dev lib I finaly had installed to succed) Overall, it was a nightmare :) I had to fix a bunch of dependencies and read a lot of threads. Really hard to figure that out, but finaly I got it running since a few days :)

gewaechshaus avatar May 02 '15 19:05 gewaechshaus

No problem. Please tell me if now it works, because I installed it, but there are no X-GeoIP header and i doesn't work not matter that i have installed geoip and geoip devel :S

intelbg avatar May 03 '15 11:05 intelbg

Yes, I've got it running live and it's working nice so far... But I finaly choosed a fork from Michael Bischof @micbis you can find here: https://github.com/byteworks-ch/varnish-vmod-geoip

gewaechshaus avatar May 03 '15 12:05 gewaechshaus

Yes, but it's not compatible with varnish 4 so it doesn't work to me. I still can't understand why header ar emissing and geoip-vmod doesn't work to me as every dependencie is installed.

intelbg avatar May 03 '15 13:05 intelbg

I have updated it to be basically compatible with version 4. You can find the code for version 3 in the 3.0 branch.

micbis avatar May 04 '15 10:05 micbis

Dank dir/ Thx a lot @micbis

gewaechshaus avatar May 04 '15 10:05 gewaechshaus