Bug report #4401

debian build - forgotten dependancy

Added by Darafei Praliaskouski about 13 years ago. Updated about 13 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Build/Install
Affected QGIS version: Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data: Copied to github as #:14333

Description

dpkg-buildpackage doesn't check for "libspatialindex-dev" and "libspatialindex1" presence in system in the very beginning, but fails later, on building stage, with:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
SPATIALINDEX_INCLUDE_DIR
   used as include directory in directory /home/kom/osm/Quantum-GIS/src/core
SPATIALINDEX_LIBRARY
    linked by target "qgis_core" in directory /home/kom/osm/Quantum-GIS/src/core

History

#1 Updated by Jürgen Fischer about 13 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed
  • Subject changed from debain build - forgotten dependancy to debian build - forgotten dependancy

That's intentional. Try running dpkg-buildpackage twice or use pbuilder.

The default debian/control will be replaced with debian/control.$DIST of the distribution - and that contains the actual build dependencies.

The nightly builds work fine with this.

Also available in: Atom PDF