Compilation of plplot (5.13) fails now on Debian after cmake was upgraded to 3.13.1. What I found is the calling "pkgconfig" does not work anymore for pango & Co., leaving the cairo driver diabled:
-- Looking for qh_new_qhull -- Looking for qh_new_qhull - found -- Checking for modules '' Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line -- WARNING: pkg-config does not find pango. -- Checking for modules '' Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line -- WARNING: pkg-config does not find pangoft2. -- Found LTDL: /usr/lib/x86_64-linux-gnu/libltdl.so -- LTDL_INCLUDE_DIR = /usr/include -- LTDL_LIBRARY_DIR = /usr/lib/x86_64-linux-gnu -- LTDL_LIBRARIES = /usr/lib/x86_64-linux-gnu/libltdl.so -- Checking for modules '' Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line Must specify package names on the command line includedir = linkdir = linkflags = cflags = -- WARNING: pango and/or cairo not found with pkg-config. Disabling cairo drivers. To enable these drivers you must install development versions of pango and cairo and/or set the environment variable PKG_CONFIG_PATH appropriately.
The first modules check line should however be
-- Checking for modules ''
I don't know whether this is just an incompatibility or maybe a bug in cmake.
The correct lines are
I cross-checked this by downgrading cmake to 3.12.3 in Debian testing (buster).
Just in case it is a cmake 3.13.1 bug, please try 3.13.2. I just did a comprehensive test of PLplot on Debian Testing with that CMake version, with no sign of the error you have described for 3.13.1.