Jiri Daněk created QPID-8475:
--------------------------------

             Summary: Ubuntu PPA packages don't install .cmake and .pc files
                 Key: QPID-8475
                 URL: https://issues.apache.org/jira/browse/QPID-8475
             Project: Qpid
          Issue Type: Bug
    Affects Versions: qpid-cpp-1.39.0
         Environment: Ubuntu Bionic
            Reporter: Jiri Daněk


I installed the Qpid Cpp dev packages and I now want to build my project. I am 
using CMake, so I need the QpidConfig.cmake, or qpid.pc file for CMake to find 
the Qpid libraries.

I am using packages from https://launchpad.net/~qpid/+archive/ubuntu/testing.

I am looking into the Ubuntu build log at 
https://launchpadlibrarian.net/409350178/buildlog_ubuntu-bionic-amd64.qpid-cpp_1.39.0-3qpid+bionic1_BUILDING.txt.gz.
 I see the files are installed from the build.

{noformat}
-- Installing: 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/Qpid/QpidConfig.cmake
-- Installing: 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/Qpid/QpidConfigVersion.cmake
[...]
-- Installing: 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig/qpid.pc
{noformat}

When I look below, I don't see any package that then packages these files.

I tried using {{apt-file}} to search for the files in packages, and I haven't 
found them either.

My project is unable to find Qpid without the .cmake files.

{code}
   CMake Error at CMakeLists.txt:59 (find_package):
    By not providing "FindQpid.cmake" in CMAKE_MODULE_PATH this project has
    asked CMake to find a package configuration file provided by "Qpid", but
    CMake did not find one.
  
    Could not find a package configuration file provided by "Qpid" with any of
    the following names:
  
      QpidConfig.cmake
      qpid-config.cmake
  
    Add the installation prefix of "Qpid" to CMAKE_PREFIX_PATH or set
    "Qpid_DIR" to a directory containing one of the above files.  If "Qpid"
    provides a separate development package or SDK, be sure it has been
    installed.
  
  
  -- Configuring incomplete, errors occurred!
  See also 
"/home/runner/work/cli-cpp/cli-cpp/_lgtm_build_dir/CMakeFiles/CMakeOutput.log".
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to