I am having this problem too under 7.0.4. I tried installing via
Synaptic and command line, downloaded 3 different versions of the source
from MaxMind's site (1.2.0, 1.1.8, 1.1.7) and NONE of them will compile
-- they all give different errors. I made sure all include files were in
the proper directories and were being found, but I still get expected
'=' errors on line 270 of apr.h or line 99 pf mod_geoip.c.
I also tried passing the flags reported by apr-config --cppflags
--cflags to the compiler and got the same errors.

I tried version 1.1.8 from apt-get and tried downloading it as a .deb
file from the Ubuntu site as mentioned in the previous comment. When I
did dkpg -i, everything seemed to work properly. I restarted apache and
it started fine, but the module was not loaded. When I used a2enmod to
enable it, I got the same garbled module message.

It looks like 1.2.0 of mod_geoip was released yesterday, but it didn't
work either.

-- 
libapache2-mod-geoip cannot be loaded because "API module structure 
`geoip_module' in file /usr/lib/apache2/modules/mod_geoip.so is garbled" 
https://bugs.launchpad.net/bugs/103992
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to