Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dbus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 33
    • Merge requests 33
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • dbus
  • dbus
  • Issues
  • #314

Closed
Open
Created Nov 03, 2020 by Ralf Habacker@rhabackerMaintainer

Could NOT find DBus1 (missing: DBus1_ARCH_INCLUDE_DIR) with autotools

After building dbus with autotools with the files added from !184 and running something like this

rm -rf /home/ralf/src/dbus-autotools-build/tmp /home/ralf/src/dbus-autotools-build/test/install
/usr/bin/ctest "--build-and-test" "/home/ralf/src/dbus/test/install" "/home/ralf/src/dbus-autotools-build/test/install" "--build-generator" "Unix Makefiles" "--build-makeprogram" "/usr/bin/gmake" "--build-target" "install" "--build-options" "-DDBus1_ROOT=/home/ralf/src/dbus-autotools-build/tmp/usr/local/lib64/cmake/DBus1" "-DCMAKE_INSTALL_PREFIX:PATH=/home/ralf/src/dbus-autotools-build/tmp/usr/local" "-DCHECK_VERSION=1.13.18"

I get

Error: cmake execution failed
Could NOT find DBus1 (missing: DBus1_ARCH_INCLUDE_DIR) 
CMake Warning at CMakeLists.txt:8 (find_package):
  Found package configuration file:
    /home/ralf/src/dbus-autotools-build/tmp/usr/local/lib64/cmake/DBus1/DBus1Config.cmake
  but it set DBus1_FOUND to FALSE so package "DBus1" is considered to be NOT
  FOUND.
Configuring done

This issue blocks testing !172 (merged)

Assignee
Assign to
Time tracking