[Qgis-developer] cmake fails

Paolo Cavallini cavallini at faunalia.it
Tue Apr 18 01:11:25 PDT 2017


Hi all,
my usual cmake ../ now fails (Deian sid, both 2.18 and master) 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:
QTKEYCHAIN_INCLUDE_DIR
   used as include directory in directory /usr/local/src/qgis/QGIS/src/core
===

In CMakeFiles/CMakeError.log I get:
===
Determining if the function openpty exists failed with the following output:
Change Dir: /usr/local/src/qgis/QGIS/build_qgis2/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_64ec9/fast"
/usr/bin/make -f CMakeFiles/cmTC_64ec9.dir/build.make
CMakeFiles/cmTC_64ec9.dir/build
make[1]: ingresso nella directory
"/usr/local/src/qgis/QGIS/build_qgis2/CMakeFiles/CMakeTmp"
Building C object CMakeFiles/cmTC_64ec9.dir/CheckFunctionExists.c.o
/usr/bin/cc    -DCHECK_FUNCTION_EXISTS=openpty   -o
CMakeFiles/cmTC_64ec9.dir/CheckFunctionExists.c.o   -c
/usr/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_64ec9
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_64ec9.dir/link.txt
--verbose=1
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=openpty
CMakeFiles/cmTC_64ec9.dir/CheckFunctionExists.c.o  -o cmTC_64ec9 -rdynamic
CMakeFiles/cmTC_64ec9.dir/CheckFunctionExists.c.o: nella funzione "main":
CheckFunctionExists.c:(.text+0x15): riferimento non definito a "openpty"
===
I have installed gnulib, which contains openpty (it is not a
dependency), but this does not solve it.
I'd be grateful of any hint.
All the best.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis


More information about the Qgis-developer mailing list