Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Plasmoid Install Instructions don't make sense!

  1. #1

    Default Plasmoid Install Instructions don't make sense!

    I downloaded a few plasmoids that I've been attempting to install. The main is called "Device Notifier Automount". I downloaded and extracted the plasmoid, and I've been trying to follow the instructions here for this plasmoid. However, it tells me to do things that don't make sense. For example, it says to make a build directory. I do, all is well. Then it says to execute cmake IN the build directory, which is new and therefore empty. Obviously this doesn't work; all the cmake files are in the src directory. So I go in there and execute cmake as they say, I get this, which I don't know what to make of:

    Code:
    @linux-8amt:~/Mozilla Downloads/devicenotifier_automount/src> cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`..
    -- The C compiler identification is GNU
    -- The CXX compiler identification is GNU
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:72 (MESSAGE):
      ERROR: cmake/modules/FindKDE4Internal.cmake not found in
      /home/dan/.kde4/share/apps;/usr/share/apps;/etc/kde4/share/apps;/usr/share/kde4/apps
    Call Stack (most recent call first):
      CMakeLists.txt:5 (find_package)
    
    
    CMake Warning (dev) in CMakeLists.txt:
      No cmake_minimum_required command is present.  A line of code such as
    
        cmake_minimum_required(VERSION 2.6)
    
      should be added at the top of the file.  The version specified may be lower
      if you wish to support older CMake versions for this project.  For more
      information run "cmake --help-policy CMP0000".
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    -- Configuring done
    I then try to run make, and it tells me there is no makefile (which is true). What is going on here?

    Thanks,
    Dan

  2. #2

    Default Re: Plasmoid Install Instructions don't make sense!

    Ok, I seem to have a bigger problem...

    I went to install the other plasmoid, tube clock, and I see it requires something called superkaramba, which is available as source code for compiling. So I download the source, and follow the instructions on the website: cd to the base directory, and run ./configure. Everytime I do that, here's what happens (and the subsequent steps:
    Code:
    linux-8amt:/home/dan/Mozilla Downloads/superkaramba # ./configure
    bash: ./configure: No such file or directory
    linux-8amt:/home/dan/Mozilla Downloads/superkaramba # make
    make: *** No targets specified and no makefile found.  Stop.
    linux-8amt:/home/dan/Mozilla Downloads/superkaramba # make install
    make: *** No rule to make target `install'.  Stop.
    I think there's something wrong with my binary installer thingie. Yes? No? Help?

    Thanks,
    Dan

  3. #3
    Join Date
    Jun 2008
    Location
    Kansas City, MO
    Posts
    570

    Default Re: Plasmoid Install Instructions don't make sense!

    superkaramba is in the repo's might want to use them for starters
    and from your first post you said you made a build directory well did you put the extracted files in that dir ??

  4. #4

    Default Re: Plasmoid Install Instructions don't make sense!

    I didn't put the extracted files in that directory because it tells me to extract the files BEFORE I make the build directory. It seems kind of weird that they would put it that way, but I'll try that.

    -Dan

  5. #5

    Default Re: Plasmoid Install Instructions don't make sense!

    I just tried it, that didn't work either...

    -Dan

  6. #6
    Join Date
    Jun 2008
    Location
    Kansas City, MO
    Posts
    570

    Default Re: Plasmoid Install Instructions don't make sense!

    i tryed one on my system didn't work either lol

  7. #7

    Default Re: Plasmoid Install Instructions don't make sense!

    In the future I expect to see less and less autotools (./configure) and more cmake. So I would start to learn it... it's a lot easier than autotools.

    The instructions are absolutely correct. But you need FindKDE4Internal.cmake from libkde4-devel package.

  8. #8
    Join Date
    Jun 2008
    Location
    Kansas City, MO
    Posts
    570

    Default Re: Plasmoid Install Instructions don't make sense!

    so we need to install libkde4-devel package

  9. #9

    Default Re: Plasmoid Install Instructions don't make sense!

    OK, here's what happens, from start to finish, after I installed that package:

    Code:
    dan@linux-8amt:~/Mozilla Downloads> tar -xvf 91517-devicenotifier_automount_0.1.tar.bz2
    devicenotifier_automount/
    devicenotifier_automount/build/
    devicenotifier_automount/src/
    devicenotifier_automount/src/CMakeLists.txt
    devicenotifier_automount/src/devicenotifier_automount.cpp
    devicenotifier_automount/src/devicenotifier_automount.h
    devicenotifier_automount/src/notifierview_automount.h
    devicenotifier_automount/src/Messages.sh
    devicenotifier_automount/src/deviceNotifierConfig_automount.ui
    devicenotifier_automount/src/plasma-applet-devicenotifier_automount.desktop
    devicenotifier_automount/src/notifierview_automount.cpp
    dan@linux-8amt:~/Mozilla Downloads> cd devicenotifier_automount/
    dan@linux-8amt:~/Mozilla Downloads/devicenotifier_automount> mkdir build
    mkdir: cannot create directory `build': File exists
    dan@linux-8amt:~/Mozilla Downloads/devicenotifier_automount> cd build
    dan@linux-8amt:~/Mozilla Downloads/devicenotifier_automount/build> cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
    CMake Error: The source directory "/home/dan/Mozilla Downloads/devicenotifier_automount" does not appear to contain CMakeLists.txt.
    Specify --help for usage, or press the help button on the CMake GUI.
    dan@linux-8amt:~/Mozilla Downloads/devicenotifier_automount/build> make
    make: *** No targets specified and no makefile found.  Stop.
    dan@linux-8amt:~/Mozilla Downloads/devicenotifier_automount/build> sudo makeinstall
    root's password:
    make: *** No rule to make target `install'.  Stop.
    So, the installer instructions tell me to create the build directory, which is already there as an empty directory, and then the cmake script can't seem to find the makefiles. Am I crazy or is there something wrong?

    -Dan

  10. #10
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: Plasmoid Install Instructions don't make sense!

    Try this:

    cd build
    cmake ../

    if that doesn't work, try

    make ../

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •