[
https://issues.apache.org/jira/browse/QPID-8475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212952#comment-17212952
]
Jiri Daněk commented on QPID-8475:
----------------------------------
I've added the package {{libqpidcommon-dev}}, and with that, CMake configure
succeeded, but then I got a build failure in
https://github.com/rh-messaging/cli-cpp/pull/14/checks?check_run_id=1246554486#step:8:805
{noformat}
make[2]: *** No rule to make target
'/usr/lib/x86_64-linux-gnu/libqpidmessaging.so', needed by
'target/tests/bin/ut_beanutils_test'. Stop.
CMakeFiles/Makefile2:490: recipe for target
'src/common/test/CMakeFiles/ut_beanutils_test.dir/all' failed
make[1]: *** [src/common/test/CMakeFiles/ut_beanutils_test.dir/all] Error 2
make: *** [all] Error 2
Makefile:157: recipe for target 'all' failed
Error: Process completed with exit code 2.
{noformat}
That means I have to also install the package with actually contains
libqpidmessaging.so. I'll find out which package it is and do that now.
> 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
> Assignee: Irina Boverman
> Priority: Major
>
> 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]