Missing library GeoIP?

Get support for Unvanquished.
Post Reply
User avatar
JOURNEYMAN
Dragoon
Posts: 339
Joined: Thu Mar 08, 2012 9:42 pm UTC

Missing library GeoIP?

Post by JOURNEYMAN »

Tried to compile the latest git, but got the following error. Previously, I had the similar error, but didn't affect the compilation.

-- git reported v0.22.0-2-g16520f6
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find GeoIP (missing: GeoIP_LIBRARY GeoIP_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
cmake/FindGeoIP.cmake:33 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:1028 (find_package)

-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Error 1

User avatar
Anomalous
Programmer
Posts: 318
Joined: Wed Mar 07, 2012 3:51 pm UTC

Re: Missing library GeoIP?

Post by Anomalous »

Code: Select all

cmake -DUSE_GEOIP=OFF .

Or install libgeoip.

That said, that one shouldn't be a hard dependency.

Debian and Ubuntu packages (squeeze, wheezy, sid; 12.04, 12.10, 13.04) may work on derivatives

OFFEND! … no, that's not right… ATTACK!

Post Reply