FS#50305 - [gtest] 1.7.0-4 cannot find gtest.pc.in file
Attached to Project:
Community Packages
Opened by Wojciech Kozlowski (Wojtek242) - Sunday, 07 August 2016, 16:52 GMT
Last edited by Levente Polyak (anthraxx) - Sunday, 07 August 2016, 23:51 GMT
Opened by Wojciech Kozlowski (Wojtek242) - Sunday, 07 August 2016, 16:52 GMT
Last edited by Levente Polyak (anthraxx) - Sunday, 07 August 2016, 23:51 GMT
|
Details
Description:
CMake cannot find file gtest.pc.in which it expects to be in /usr/src/gtest/ The file exists, but is in usr/lib/pkgconfig/ I temporarily fixed my installation by making symbolic link from the place CMake expects it to be to where it currently is Additional info: * package version: 1.7.0-4 * config and/or log files etc. % cmake -G "Unix Makefiles" .. ... CMake Error: File /usr/src/gtest/gtest.pc.in does not exist. CMake Error at /usr/src/gtest/CMakeLists.txt:33 (configure_file): configure_file Problem configuring file ... Steps to reproduce: Add /usr/src/gtest subdirectory to a CMake project and attempt to generate "Unix Makefiles" |
This task depends upon
Closed by Levente Polyak (anthraxx)
Sunday, 07 August 2016, 23:51 GMT
Reason for closing: Fixed
Additional comments about closing: 1.7.0-5
Sunday, 07 August 2016, 23:51 GMT
Reason for closing: Fixed
Additional comments about closing: 1.7.0-5
Can you try to comment out line 33 from CMakeLists, does that solve your problem? (remember to remove your symlink before testing)
thanks for verification