mod_geoip broken?

daniel freebsd at
Mon Mar 21 14:09:06 PST 2005

I don't know how to write C, so you can imagine how capable I am of diagnosing 
the problem with my attempted install of mod_geoip.  Everything went 
swimmingly until it actually attempted to build it:

  ===>  Building for mod_geoip-1.2.2_1
  /usr/local/share/apache2/build/libtool --silent --mode=compile cc 
-D_THREAD_SAFE  -I/usr/local/include/apache2  -I/usr/local/include/apache2   
-I/usr/local/include/apache2 -I/usr/local/include -I/usr/local/include  -c -o 
mod_geoip.lo mod_geoip.c && touch mod_geoip.slo
  mod_geoip.c:109: error: syntax error before "geoip_module"
  mod_geoip.c:111: error: syntax error before "proxy_add_uri_module"
  mod_geoip.c:122: error: syntax error before '*' token
  mod_geoip.c: In function `geoip_server_config':
  mod_geoip.c:123: error: `p' undeclared (first use in this function)
  mod_geoip.c:123: error: (Each undeclared identifier is reported only once
  mod_geoip.c:123: error: for each function it appears in.)
  mod_geoip.c:123: warning: initialization makes pointer from integer without 
a cast
  mod_geoip.c: In function `geoip_enable':
  mod_geoip.c:139: error: `geoip_module' undeclared (first use in this 
  mod_geoip.c: In function `geoip_set_filename':
  mod_geoip.c:147: error: `geoip_module' undeclared (first use in this 

Is this something I can fix?  or is the port broken?

Simon: The captian's a good fighter, I'm sure he knows how to use a sword...
  Zoe: I think he knows which end to hold.
	- Simon and Zoe, Firefly, "Shindig"

More information about the freebsd-ports mailing list