Skip to content

Commit

Permalink
packpack: fix offending openpgm-5.2.pc include line for CMake
Browse files Browse the repository at this point in the history
With the offending path, CMake complains about it with:

"
    CMake Error in examples/CMakeLists.txt:
      Imported target "PkgConfig::PC_libzmq" includes non-existent path

        "/usr/lib64/pgm-5.2/include"

      in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

      * The path was deleted, renamed, or moved to another location.

      * An install or uninstall procedure did not complete successfully.

      * The installation package was faulty and references files it does not
      provide.
"
  • Loading branch information
lerwys committed May 13, 2020
1 parent 4ac19ff commit 69d5710
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packpack
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ chmod a+x ${BUILDDIR}/userwrapper.sh
echo "if [ \"\$?\" -ne 0 ]; then"
echo " sudo yum install -y epel-release && \\";
echo " sudo yum-config-manager --add-repo http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-draft/CentOS_7/network:messaging:zeromq:release-draft.repo && \\";
echo " sudo yum install -y pkgconfig uuid-devel libsodium-devel zeromq-devel czmq-devel";
echo " sudo yum install -y pkgconfig uuid-devel libsodium-devel zeromq-devel czmq-devel && \\";
echo " sudo sed -i -e '/Cflags:/ s/-I\${libdir}\/pgm-5.2\/include//' /usr/lib64/pkgconfig/openpgm-5.2.pc";
echo "fi";
echo "if [ \"\$?\" -ne 0 ]; then";
echo " exit 1";
Expand Down

0 comments on commit 69d5710

Please sign in to comment.