Menu

#191 plplot does not compile nicely with cmake 3.13

None
pending
None
5
2019-02-04
2018-12-06
No

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.

Discussion

  • Ole Streicher

    Ole Streicher - 2018-12-06

    The correct lines are

    -- Looking for qh_new_qhull
    -- Looking for qh_new_qhull - found
    -- Checking for module 'pango'
    --   Found pango, version 1.42.3
    -- Checking for module 'pangoft2'
    --   Found pangoft2, version 1.42.3
    -- 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 module 'pangocairo'
    --   Found pangocairo, version 1.42.3
    -- Not a Windows platform so setting wincairo driver to OFF.
    

    I cross-checked this by downgrading cmake to 3.12.3 in Debian testing (buster).

     
  • Alan W. Irwin

    Alan W. Irwin - 2019-02-04
    • status: open --> pending
    • assigned_to: Alan W. Irwin
    • Group: -->
     
  • Alan W. Irwin

    Alan W. Irwin - 2019-02-04

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.