From: <gps...@li...> - 2012-05-19 09:10:38
|
Bugs item #3447411, was opened at 2011-12-01 12:34 Message generated for change (Comment added) made by hbowman You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=770280&aid=3447411&group_id=148048 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Mapnik Group: gpsdrive-2.11 >Status: Closed >Resolution: Duplicate Priority: 8 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: gpsdrive-2.11 fails to compile with mapnik-2.0.0 Initial Comment: The following cmake error occurs when attempting to compile GpsDrive 2.11 on the current release of Mapnik (2.0.0), it is unable to locate the mapnik libraries, even though they are installed as /usr/lib/libmapnik2.so. -------------------- (precise)allison@isele:~/src/gpsdrive/build$ cmake -DCMAKE_BUILD_TYPE=Debug ../gpsdrive-2.11 CMake Warning (dev) at CMakeLists.txt:31 (include): Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH and POP. Run "cmake --help-policy CMP0011" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The included script /home/allison/src/gpsdrive/gpsdrive-2.11/cmake/Modules/DefineProjectDefaults.cmake affects policy settings. CMake is implying the NO_POLICY_SCOPE option for compatibility, so the effects are applied to the including context. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:236 (MESSAGE): CPack.cmake has already been included!! Call Stack (most recent call first): CMakeLists.txt:38 (include) -- Can not find glibconfig CMake Error at cmake/Modules/FindGTK2.cmake:364 (MESSAGE): Could NOT find GTK2 Call Stack (most recent call first): src/CMakeLists.txt:5 (find_package) -- Found XML2: /usr/lib/x86_64-linux-gnu/libxml2.so -- Found Freetype2: /usr/lib/x86_64-linux-gnu/libfreetype.so -- Found Sqlite3: /usr/lib/x86_64-linux-gnu/libsqlite3.so -- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig -- PKGCONFIG() indicates that libgps is not installed (install the package which contains libgps.pc if you want to support this feature) -- Found The Following Boost Libraries: -- filesystem -- Boost Version: .. CMake Error at cmake/Modules/FindMapnik.cmake:66 (message): Could not find Mapnik Call Stack (most recent call first): src/CMakeLists.txt:32 (find_package) -- Configuring incomplete, errors occurred! ---------------------------------------------------------------------- >Comment By: Hamish B (hbowman) Date: 2012-05-19 02:10 Message: closing this one as a duplicate of https://sourceforge.net/tracker/index.php?func=detail&aid=3447576&group_id=148048&atid=770280 continued there... Hamish ---------------------------------------------------------------------- Comment By: Hamish B (hbowman) Date: 2012-05-19 02:06 Message: library name has changed from "mapnik" to "mapnik2", so an adjustment is needed: sed -i -e 's+^ mapnik$+ mapnik2+' cmake/Modules/FindMapnik.cmake (and also the API updated in the code :) Hamish ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=770280&aid=3447411&group_id=148048 |