Announcement

Collapse
No announcement yet.

Cmake/build error

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cmake/build error

    Hi, I wasn't sure where to post this, and as I'm quite inexperienced and a newb with cmake/build may aswell put it here.

    I try to install/build this kcm_tablet app for a Wacom Bamboo drawing board. (not found anything or any repository)

    # install with

    mkdir build
    cd build
    cmake ../ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=release
    make
    make install
    I get this error

    Code:
    /kcm_tablet-1.2/build$ cmake ../ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=release
    CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
     ERROR: cmake/modules/FindKDE4Internal.cmake not found in
     /home/jonas/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
    Call Stack (most recent call first):
     src/applet/CMakeLists.txt:3 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    jonas@valleverde:~/kcm_tablet-1.2/build$
    Googled around and found this thread, but it didn't help me :/

    when I issue command there I get
    Code:
    $ apt-file search FindKDE4Internal.cmake
    kdelibs5-dev: /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake
    I'm running KDE 4.5 RC2, which could be the cause of the problem ? or what am I missing?

    Any suggestions appreciated
    /jonas
    ASUS M4A87TD | AMD Ph II x6 | 12 GB ram | MSI GeForce GTX 560 Ti (448 Cuda cores)
    Kubuntu 12.04 KDE 4.9.x (x86_64) - Debian "Squeeze" KDE 4.(5x) (x86_64)
    Acer TimelineX 4820 TG | intel i3 | 4 GB ram| ATI Radeon HD 5600
    Kubuntu 12.10 KDE 4.10 (x86_64) - OpenSUSE 12.3 KDE 4.10 (x86_64)
    - Officially free from windoze since 11 dec 2009
    >>>>>>>>>>>> Support KFN <<<<<<<<<<<<<


    #2
    Re: Cmake/build error

    Do you have package "kdelibs5-dev" installed? Apt-file is searching in all packages, installed and noninstalled.
    Kubuntu 12.04 64bit

    Comment


      #3
      Re: Cmake/build error

      It's still possible that you need to install the above mentioned library, but just in case take a look at this shell script.

      mkdir tmp && cd tmp && cmake $OLDPWD && make

      You can still include the "-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=release" part but do it in your $OLDPWD (previous folder) where the actual basic and compilation files are located.
      Multibooting: Kubuntu Noble 24.04
      Before: Jammy 22.04, Focal 20.04, Precise 12.04 Xenial 16.04 and Bionic 18.04
      Win XP, 7 & 10 sadly
      Using Linux since June, 2008

      Comment


        #4
        Re: Cmake/build error

        Originally posted by Poborskiii
        Do you have package "kdelibs5-dev" installed? Apt-file is searching in all packages, installed and noninstalled.

        Thank you for the reply, somehow I missed this package and I thought I checked twice I had it. Installed fine once installed. However I got the same dbus error/kde crash mentioned in the kde-looks site. I'll have to investigate this further when I have more time.

        thank you for the replies
        ASUS M4A87TD | AMD Ph II x6 | 12 GB ram | MSI GeForce GTX 560 Ti (448 Cuda cores)
        Kubuntu 12.04 KDE 4.9.x (x86_64) - Debian "Squeeze" KDE 4.(5x) (x86_64)
        Acer TimelineX 4820 TG | intel i3 | 4 GB ram| ATI Radeon HD 5600
        Kubuntu 12.10 KDE 4.10 (x86_64) - OpenSUSE 12.3 KDE 4.10 (x86_64)
        - Officially free from windoze since 11 dec 2009
        >>>>>>>>>>>> Support KFN <<<<<<<<<<<<<

        Comment

        Working...
        X