[Qgis-developer] cmake fails

Werner Macho werner.macho at gmail.com
Tue Apr 18 01:20:28 PDT 2017


Hi Paolo,

compiled it yesterday evening on debian sid .. is this from a new
commit from today? because yesterday it worked.
I assume you have already tried it in a clean build directory ..

regards
Werner

On Tue, Apr 18, 2017 at 10:11 AM, Paolo Cavallini <cavallini at faunalia.it> wrote:
> 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
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list