Menu

Error installing: Could not find dbus

Help
2011-12-10
2013-05-01
  • hansjetabak

    hansjetabak - 2011-12-10

    Hi,

    I love the idea of this project (and even more if I can get it work).

    Im running CentOS 6 x64, and I can't install it.

    # cmake ..
    CMake Error at cmake/FindDbus32.cmake:51 (MESSAGE):
      Could not find dbus
    Call Stack (most recent call first):
      lscribed/CMakeLists.txt:21 (FIND_PACKAGE)

    • Configuring incomplete, errors occurred!

    # cmake -version
    cmake version 2.6-patch

    # uname -a
    Linux localhost.localdomain 2.6.32-71.el6.x86_64 #1 SMP Fri May 20 03:51:51 BST 2011 x86_64 x86_64 x86_64 GNU/Linux

    Any ideas/hints/tips?

    Would be fantastic to burn CDs on my Desktop (without Ubuntu/Windows).

     
  • irauschek

    irauschek - 2011-12-25

    Dear hansjetabak,
    I had the same issue with Ubuntu 11.04 (Natty Narwahl) 64bit.

    What I have done so far:
    To install lightscribe I downloaded the 32bit deb and used tipps from the lightscribe discussion board
    sudo apt-get install ia32-libs
    sudo dpkg -i -force architecture lightscribe-1.18.24.1-linux-2.6-intel.deb
    sudo ln -s /usr/lib/liblightscribe.so.1 /usr/lib32/
    sudo ln -s /usr/lib/liblightscribe.so /usr/lib32/
    sudo ldconfig

    To set up the other preconditions I followed the self compile instructions on wiki.ubuntuusers.de until you should build your own qlscribe*.deb.
    At this point I followed the INSTALL file of qlscribe instead and cmake failed with the above error message.

    Solution:
    I recognized, that the PATH_SUFFIXES of the DBUS_LIBINCLUDE_DIR in qlscribe-0.15/cmake/FindDbus32.cmake doesn't match with the dbus package of my system.
    I had to change it (line 36) from  "PATH_SUFFIXES dbus-1.0/include" to  "PATH_SUFFIXES x86_64-linux-gnu/dbus-1.0/include".

    Afterwards I could compile qlscribe and install it with the following commands:
    mkdir build
    cd build
    cmake ..
    make
    sudo make install

    The next step was to copy the dbus config and service files (Be aware of a mistake in the INSTALL file!):
    sudo cp /usr/local/share/qlscribe/lightscribe.conf /etc/dbus-1/system.d/
    sudo cp /usr/local/share/qlscribe/org.lightscribe.printManager.service /usr/share/dbus-1/system-services/

    At last I reloaded the dbus service:
    sudo reload dbus

    I hope that this small install guide will also help you to solve your problem.
    Yours sincerely,
    irauschek

     

Log in to post a comment.

MongoDB Logo MongoDB