Hi all,
I would like to report that the last official CMake release produces buggy and therefore useless PLplot pkg-config files. Here are the contents of plplot-c.pc and plplot-c++.pc as produced on my Mac OS X (but I noticed the exact same problem on my MSYS2 installation too). libdir=/usr/local/Cellar/plplot/5.11.1/lib includedir=/usr/local/Cellar/plplot/5.11.1/include/plplot drvdir=/usr/local/Cellar/plplot/5.11.1/lib/plplot5.11.1/drivers Name: PLplot Description: Scientific plotting library (Double precision Core C library) Requires.private: plplot Version: 5.11.1 Libs: -L"${libdir}" -lplplot Libs.private: -L"${libdir}" -L"/usr/local/lib" -lltdl -L"/usr/lib" -lm -lcsirocsa -lqsastime /Applications/Xcode2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libc++.tbd Cflags: -I"${included}" libdir=/usr/local/Cellar/plplot/5.11.1/lib includedir=/usr/local/Cellar/plplot/5.11.1/include/plplot drvdir=/usr/local/Cellar/plplot/5.11.1/lib/plplot5.11.1/drivers Name: PLplot C++ Description: Scientific plotting library (Double precision C++ binding) Requires.private: plplot Version: 5.11.1 Libs: -L"${libdir}" -lplplotcxx Libs.private: -L"${libdir}" -lplplot Cflags: -I"${includedir}” Both files contain the line “Requires.private: plplot”, and therefore assumes the presence of a file plplot.pc, which does not exist. Either way, using pkg-config now yields this error: pkg-config --cflags plplot-c Package plplot was not found in the pkg-config search path. Perhaps you should add the directory containing `plplot.pc' to the PKG_CONFIG_PATH environment variable Package 'plplot', required by 'plplot-c', not found If I switch back to CMake 3.6.3, only the files plplot.pc and plplot-c++.pc are created with contents: libdir=/usr/local/Cellar/plplot/5.11.1/lib includedir=/usr/local/Cellar/plplot/5.11.1/include/plplot drvdir=/usr/local/Cellar/plplot/5.11.1/lib/plplot5.11.1/drivers Name: PLplot Description: Scientific plotting library (Double precision Core C library) Requires.private: Version: 5.11.1 Libs: -L"${libdir}" -lplplot Libs.private: -L"${libdir}" -L"/usr/local/lib" -lltdl -L"/usr/lib" -lm -lcsirocsa -lqsastime /Applications/Xcode2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libc++.tbd -L"/Applications/Xcode2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.3.0/lib/darwin" -lclang_rt.osx Cflags: -I"${included}" libdir=/usr/local/Cellar/plplot/5.11.1/lib includedir=/usr/local/Cellar/plplot/5.11.1/include/plplot drvdir=/usr/local/Cellar/plplot/5.11.1/lib/plplot5.11.1/drivers Name: PLplot C++ Description: Scientific plotting library (Double precision C++ binding) Requires.private: plplot Version: 5.11.1 Libs: -L"${libdir}" -lplplotcxx Libs.private: -L"${libdir}" -lplplot Cflags: -I"${includedir}" Any thoughts on what’s going on here? Thanks, Tom ------------------------------------------------------------------------------ _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general