Announcement

Collapse
No announcement yet.

Installing plasmaoids on kde4

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

    Installing plasmaoids on kde4

    Okay I wanted to try a plasoid just for fun.
    So I downloaded this:
    http://www.kde-look.org/content/show.php
    and followed these instructions:

    And followed these instructions:

    *tar -xvf plasmoid.tar.gz
    * cd plasmoid
    * mkdir build
    * cd build
    * cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/
    * make
    * sudo make install OR su -c "make install"
    * Have fun! :-)
    and got this

    fintan@fintanws2:~/Eyecandy/KDE4/Mailnotifyer/emailnotify$ mkdir build
    fintan@fintanws2:~/Eyecandy/KDE4/Mailnotifyer/emailnotify$ cd build
    fintan@fintanws2:~/Eyecandy/KDE4/Mailnotifyer/emailnotify/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/
    CMake Error: The source directory "/home/fintan/Eyecandy/KDE4/Mailnotifyer/emailnotify/build" does not appear to contain CMakeLists.txt.
    Specify --help for usage, or press the help button on the CMake GUI.
    fintan@fintanws2:~/Eyecandy/KDE4/Mailnotifyer/emailnotify/build$
    so I went back to the extracted file and it gives me this:

    fintan@fintanws2:~/Eyecandy/KDE4/Mailnotifyer/emailnotify$ cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc -- works
    -- Check size of void*
    -- Check size of void* - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    CMake Error: ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/fintan/.kde4/share/apps;/usr/lib/kde4/share/apps;/usr/lib/kde4/share/kde4/apps
    -- Configuring done
    fintan@fintanws2:~/Eyecandy/KDE4/Mailnotifyer/emailnotify$
    I already noticed while installing a plasma theme that GG and HH put the kde4rootfiles in a different place than is "normal".

    Any ideas?

    HP Pavilion dv6 core i7 (Main)
    4 GB Ram
    Kubuntu 18.10

    #2
    Re: Installing plasmaoids on kde4

    try this:

    export PATH=$PATH:/usr/lib/kde4/bin
    cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/..

    first line sets the path to be kde4 (you may not need this if you are running kde4 while building)
    second line is adding '..' to the prefix

    Comment


      #3
      Re: Installing plasmaoids on kde4

      Thank you Clay.
      Is this what yuo meant?

      fred1@fintanws2:~/Eycandy/Kde4/Mailnotifyer/emailnotify$ mkdir build
      fred1@fintanws2:~/Eycandy/Kde4/Mailnotifyer/emailnotify$ export PATH=$PATH:/usr/lib/kde4/bin
      fred1@fintanws2:~/Eycandy/Kde4/Mailnotifyer/emailnotify$ cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/..
      -- Check for working C compiler: /usr/bin/gcc
      -- Check for working C compiler: /usr/bin/gcc -- works
      -- Check size of void*
      -- Check size of void* - done
      -- Check for working CXX compiler: /usr/bin/c++
      -- Check for working CXX compiler: /usr/bin/c++ -- works
      CMake Error: ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/fred1/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps
      -- Configuring done
      fred1@fintanws2:~/Eycandy/Kde4/Mailnotifyer/emailnotify$
      I am not very good with "make" and cmake so I am not sure about this but would like to get a foot in
      HP Pavilion dv6 core i7 (Main)
      4 GB Ram
      Kubuntu 18.10

      Comment


        #4
        Re: Installing plasmaoids on kde4

        cmake is all new and foreign to most of us as of yet
        But i think you forgot to move into the build directory,:

        Code:
        cd build
        after 'mkdir build'

        you do have cmake installed, is it safe to assume?

        Comment


          #5
          Re: Installing plasmaoids on kde4

          actually, there needs to be a space between '-DCMAKE_INSTALL_PREFIX=/usr/lib/kde4' and '..'
          and please don't ask me why, as I could not tell you why

          but it works

          Comment


            #6
            Re: Installing plasmaoids on kde4

            Thankx clay,
            Itried cd build in the first try you can see the results in my FP.

            I did it again with your suggestions:
            fred1@fintanws2:~/Eycandy/Kde4/emailnotify_v0.2/emailnotify$ mkdir build
            fred1@fintanws2:~/Eycandy/Kde4/emailnotify_v0.2/emailnotify$ cd build
            fred1@fintanws2:~/Eycandy/Kde4/emailnotify_v0.2/emailnotify/build$ export PATH=$PATH:/usr/lib/kde4/bin
            fred1@fintanws2:~/Eycandy/Kde4/emailnotify_v0.2/emailnotify/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/ ..
            -- Check for working C compiler: /usr/bin/gcc
            -- Check for working C compiler: /usr/bin/gcc -- works
            -- Check size of void*
            -- Check size of void* - done
            -- Check for working CXX compiler: /usr/bin/c++
            -- Check for working CXX compiler: /usr/bin/c++ -- works
            CMake Error: ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/fred1/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps
            -- Configuring done
            fred1@fintanws2:~/Eycandy/Kde4/emailnotify_v0.2/emailnotify/build$
            Could it be that cmake is so new that it doesn't quite work yet? I think it is build on qT4 which is very new.

            Have you tried installing a plasmoid on your system?

            If so how was your expierience?
            HP Pavilion dv6 core i7 (Main)
            4 GB Ram
            Kubuntu 18.10

            Comment


              #7
              Re: Installing plasmaoids on kde4

              Cmake was first implemented mid-2000.
              Do not understimate fools. Better ones are born all the time and Microsoft is hiring.

              Comment


                #8
                Re: Installing plasmaoids on kde4

                Okay so not so new.

                what am I doing wrong?
                HP Pavilion dv6 core i7 (Main)
                4 GB Ram
                Kubuntu 18.10

                Comment


                  #9
                  Re: Installing plasmaoids on kde4

                  Has anyone got a plasmoid installed?
                  HP Pavilion dv6 core i7 (Main)
                  4 GB Ram
                  Kubuntu 18.10

                  Comment


                    #10
                    Re: Installing plasmaoids on kde4

                    I just installed the system_status plasmoid (http://www.kde-look.org/content/show...?content=74891) and it compiled and installed fine, after I installed some packages (see below).

                    From your error message
                    Code:
                    ERROR: cmake/modules/FindKDE4Internal.cmake not found
                    I checked out where the file FindKDE4Internal.cmake is located. It belongs to the package kdelibs5-dev. Have you got that installed?
                    I also had to install the package libplasma-dev to get it compiling.

                    Hope that helps.
                    Kubuntu 8.04 (Hardy Heron) user

                    Comment


                      #11
                      Re: Installing plasmaoids on kde4

                      Okay thanks for that. I tired it and got a little bit further but not all the way:

                      _INSTALL_PREFIX=/usr/lib/kde4/
                      -- Check for working C compiler: /usr/bin/gcc
                      -- Check for working C compiler: /usr/bin/gcc -- works
                      -- Check size of void*
                      -- Check size of void* - done
                      -- Check for working CXX compiler: /usr/bin/c++
                      -- Check for working CXX compiler: /usr/bin/c++ -- works
                      -- Looking for Q_WS_X11
                      -- Looking for Q_WS_X11 - found
                      -- Looking for Q_WS_WIN
                      -- Looking for Q_WS_WIN - not found.
                      -- Looking for Q_WS_QWS
                      -- Looking for Q_WS_QWS - not found.
                      -- Looking for Q_WS_MAC
                      -- Looking for Q_WS_MAC - not found.
                      -- Found Qt-Version 4.3.4 (using /usr/bin/qmake)
                      -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
                      -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so - found
                      -- Looking for gethostbyname
                      -- Looking for gethostbyname - found
                      -- Looking for connect
                      -- Looking for connect - found
                      -- Looking for remove
                      -- Looking for remove - found
                      -- Looking for shmat
                      -- Looking for shmat - found
                      -- Looking for IceConnectionNumber in ICE
                      -- Looking for IceConnectionNumber in ICE - found
                      -- Found X11: /usr/lib/libX11.so
                      -- Looking for pthread.h
                      -- Looking for pthread.h - found
                      -- Looking for pthread_create in pthreads
                      -- Looking for pthread_create in pthreads - not found
                      -- Looking for pthread_create in pthread
                      -- Looking for pthread_create in pthread - found
                      -- Performing Test HAVE_FPIE_SUPPORT
                      -- Performing Test HAVE_FPIE_SUPPORT - Success
                      -- Performing Test __KDE_HAVE_NO_THREADSAFE_STATICS
                      -- Performing Test __KDE_HAVE_NO_THREADSAFE_STATICS - Success
                      -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
                      -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
                      -- Performing Test __KDE_HAVE_GCC_VISIBILITY
                      -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
                      -- Found KDE 4.0 include dir: /usr/lib/kde4/include
                      -- Found KDE 4 library dir: /usr/lib/kde4/lib
                      -- Found KDE4 kconfig_compiler preprocessor: /usr/lib/kde4/bin/kconfig_compiler
                      -- Found KDE4 automoc: /usr/lib/kde4/bin/kde4automoc
                      -- Found Plasma: /usr/lib/kde4/lib/libplasma.so
                      CMake Error: This project requires some variables to be set,
                      and cmake can not find them.
                      Please set the following variables:
                      KDE4_PHONON_LIBRARY

                      -- Configuring done
                      fred1@fintanws2:~/Eycandy/Kde4/75012-gmailnotify_v0.3/gmailnotify$ make
                      make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
                      fred1@fintanws2:~/Eycandy/Kde4/75012-gmailnotify_v0.3/gmailnotify$ sudo make install
                      [sudo] password for fred1:
                      make: *** Keine Regel, um »install« zu erstellen. Schluss.
                      fred1@fintanws2:~/Eycandy/Kde4/75012-gmailnotify_v0.3/gmailnotify$
                      any ideas?
                      HP Pavilion dv6 core i7 (Main)
                      4 GB Ram
                      Kubuntu 18.10

                      Comment


                        #12
                        Re: Installing plasmaoids on kde4

                        A tip when compiling software. If an error message occurs during the configure or compile process, then it's probably a developers-library that's missing. Your last error message says something about "phonon"; in that case, try to search for a developers-package which has phonon in its name. Usually developers-packages has their name constructed something like phonon-dev or libphonon-dev. Try this command:

                        Code:
                        apt-cache search phonon dev
                        and you'll find the package which you should install.
                        Kubuntu 8.04 (Hardy Heron) user

                        Comment

                        Working...
                        X