Announcement

Collapse
No announcement yet.

widgets and plasmoids in kde 4.1 as well as 'activites'

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

    widgets and plasmoids in kde 4.1 as well as 'activites'

    I've used linux on an off for about a year now, but still don't know much other than the bare minimum. The plasmoids and widgets in kde4.1 look pretty appealing but i can't seem to install any of them.

    http://sathyasays.com/2008/09/01/how...ets-in-kde-41/

    following that tutorial i entered all the commands

    * tar -xvf plasmoid.tar.gz
    * cd plasmoid
    * mkdir build
    * cd build
    * cmake -DCMAKE_INSTALL_PREFIX=`kde4-config –prefix` ..
    * make
    * sudo make install OR su -c “make install”

    here is what i get

    username@ubuntu:~/Desktop/emailnotify/build$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config –prefix` ..
    kde4-config: Unexpected argument '–prefix'.
    kde4-config: Use --help to get a list of available command line options.
    -- 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-2.6/Modules/FindKDE4.cmake:72 (MESSAGE):
    ERROR: cmake/modules/FindKDE4Internal.cmake not found in
    /home/username/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/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

    then when i enter the make commmand i get

    make: *** No targets specified and no makefile found. Stop.


    what am i doing wrong? Also widgets for mac osx seem to download fine but anywhere there is a field to enter text, i can select the field box but it wont recognize that im typing anything.

    I was also wondering how in the world i can set up activities in intrepid ibex.

    thank you guys in advance.



    #2
    Re: widgets and plasmoids in kde 4.1 as well as 'activites'

    `kde4-config –prefix` stands for path where KDE libraries are installed.
    So whole command should look more like:
    cmake -DCMAKE_INSTALL_PREFIX=`/usr'

    What's the output of kde4-config --prefix (or kde-config --prefix) on CLI?

    Comment


      #3
      Re: widgets and plasmoids in kde 4.1 as well as 'activites'

      username@ubuntu:~$ kde4-config --prefix
      /usr
      username@ubuntu:~$ kde-config --prefix
      /usr
      username@ubuntu:~$

      So then I tried again...

      username@ubuntu:~/Desktop/emailnotify/build$ cmake -DCMAKE_INSTALL_PREFIX=`/usr`
      bash: /usr: is a directory
      CMake Error: The source directory "/home/username/Desktop/emailnotify/build" does not appear to contain CMakeLists.txt.
      Specify --help for usage, or press the help button on the CMake GUI.
      username@ubuntu:~/Desktop/emailnotify/build$

      Then I tried again only i changed the last ` to a ' like in the previous post (i had assumed it was a typo?) and got the following.

      username@ubuntu:~/Desktop/emailnotify/build$ cmake -DCMAKE_INSTALL_PREFIX=`/usr'
      >

      at the little > im not sure what to type. i tried continuing with the process

      username@ubuntu:~/Desktop/emailnotify/build$ cmake -DCMAKE_INSTALL_PREFIX=`/usr'
      > make
      > sudo make install
      > bash: unexpected EOF while looking for matching ``'
      bash: syntax error: unexpected end of file
      username@ubuntu:~/Desktop/emailnotify/build$

      and then i tried the process over again a slightly different way.

      usernname@ubuntu:~/Desktop/emailnotify/build$ cmake -DCMAKE_INSTALL_PREFIX=`/usr'
      > bash: unexpected EOF while looking for matching ``'
      bash: syntax error: unexpected end of file
      username@ubuntu:~/Desktop/emailnotify/build$ make
      make: *** No targets specified and no makefile found. Stop.
      username@ubuntu:~/Desktop/emailnotify/build$

      I'm not making any progress it seems Sorry if I'm making a completely elementary mistake but there's no denying that i'm not very linux savvy.

      edit:

      I found a cmakelists.txt file in the emailnotify folder so i copied it to the build folder and tried again, just noobish troubleshooting here...here's what i got if it helps

      username@ubuntu:~/Desktop/emailnotify/build$ cmake -DCMAKE_INSTALL_PREFIX=`/usr`
      bash: /usr: is a directory
      -- 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-2.6/Modules/FindKDE4.cmake:72 (MESSAGE):
      ERROR: cmake/modules/FindKDE4Internal.cmake not found in
      /home/username/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/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
      username@ubuntu:~/Desktop/emailnotify/build$ make
      make: *** No targets specified and no makefile found. Stop.
      username@ubuntu:~/Desktop/emailnotify/build$ cd /home/username/Desktop/emailnotify/build

      Comment


        #4
        Re: widgets and plasmoids in kde 4.1 as well as 'activites'

        Maybe this helps > Topic: Install (almost) any plasmoid


        in kde 4.1 as well as 'activites'...

        I was also wondering how in the world i can set up activities in intrepid ibex.
        Intrepid/KDE 4.1, maybe it is this > Topic: kde 4.1.3 cashew menu
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: widgets and plasmoids in kde 4.1 as well as 'activites'

          Thank you very much rog. I am now plagued by another error, however

          Here's how it looks now

          username@ubuntu:~/Desktop$ tar -xvf emailnotify_v0.2.tar.gz
          emailnotify/
          emailnotify/.svn/
          emailnotify/.svn/tmp/
          emailnotify/.svn/tmp/props/
          emailnotify/.svn/tmp/text-base/
          emailnotify/.svn/tmp/prop-base/
          emailnotify/.svn/props/
          emailnotify/.svn/entries
          emailnotify/.svn/format
          emailnotify/.svn/text-base/
          emailnotify/.svn/text-base/plasma-applet-emailnotify.desktop.svn-base
          emailnotify/.svn/text-base/hi128-app-emailnotify.png.svn-base
          emailnotify/.svn/text-base/EmailChecker.cpp.svn-base
          emailnotify/.svn/text-base/CMakeLists.txt.svn-base
          emailnotify/.svn/text-base/plasma-emailnotify.h.svn-base
          emailnotify/.svn/text-base/ConfigDialog.cpp.svn-base
          emailnotify/.svn/text-base/ConfigDialog.h.svn-base
          emailnotify/.svn/text-base/EmailChecker.h.svn-base
          emailnotify/.svn/text-base/plasma-emailnotify.cpp.svn-base
          emailnotify/.svn/prop-base/
          emailnotify/.svn/prop-base/hi128-app-emailnotify.png.svn-base
          emailnotify/.svn/all-wcprops
          emailnotify/CMakeLists.txt
          emailnotify/plasma-applet-emailnotify.desktop
          emailnotify/ConfigDialog.cpp
          emailnotify/plasma-emailnotify.h
          emailnotify/EmailChecker.cpp
          emailnotify/plasma-emailnotify.cpp
          emailnotify/EmailChecker.h
          emailnotify/hi128-app-emailnotify.png
          emailnotify/ConfigDialog.h
          username@ubuntu:~/Desktop$ cd emailnotify
          username@ubuntu:~/Desktop/emailnotify$ mkdir build
          username@ubuntu:~/Desktop/emailnotify$ cd build
          username@ubuntu:~/Desktop/emailnotify/build$ 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
          -- 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.4.3 (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 include files CMAKE_HAVE_PTHREAD_H
          -- Looking for include files CMAKE_HAVE_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
          -- Found Automoc4: /usr/bin/automoc4
          -- Found Perl: /usr/bin/perl
          -- Performing Test _OFFT_IS_64BIT
          -- Performing Test _OFFT_IS_64BIT - Failed
          -- Performing Test HAVE_FPIE_SUPPORT
          -- Performing Test HAVE_FPIE_SUPPORT - 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 Phonon: /usr/lib/libphonon.so
          -- Found Phonon Includes: /usr/include/KDE;/usr/include
          -- Found KDE 4.1 include dir: /usr/include
          -- Found KDE 4.1 library dir: /usr/lib
          -- Found KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
          -- Found automoc4: /usr/bin/automoc4
          -- Found Plasma: /usr/lib/libplasma.so
          -- Configuring done
          -- Generating done
          -- Build files have been written to: /home/username/Desktop/emailnotify/build
          username@ubuntu:~/Desktop/emailnotify/build$ make
          Generating plasma-emailnotify.moc
          Generating moc_ConfigDialog.cpp
          Generating moc_EmailChecker.cpp
          Scanning dependencies of target plasma_applet_emailnotify
          [ 25%] Building CXX object CMakeFiles/plasma_applet_emailnotify.dir/plasma_applet_emailnotify_automoc.o
          [ 50%] Building CXX object CMakeFiles/plasma_applet_emailnotify.dir/plasma-emailnotify.o
          /home/username/Desktop/emailnotify/plasma-emailnotify.cpp: In constructor ‘EmailNotify::EmailNotify(QObject*, const QVariantList&)’:
          /home/username/Desktop/emailnotify/plasma-emailnotify.cpp:35: error: no matching function for call to ‘Plasma::Svg::Svg(const char [1], EmailNotify* const)’
          /usr/include/KDE/Plasma/../../plasma/svg.h:73: note: candidates are: Plasma::Svg::Svg(QObject*)
          /usr/include/KDE/Plasma/../../plasma/svg.h:51: note: Plasma::Svg::Svg(const Plasma::Svg&)
          /home/username/Desktop/emailnotify/plasma-emailnotify.cpp:38: error: ‘setDrawStandardBackground’ was not declared in this scope
          /home/username/Desktop/emailnotify/plasma-emailnotify.cpp: In destructor ‘virtual EmailNotify::~EmailNotify()’:
          /home/username/Desktop/emailnotify/plasma-emailnotify.cpp:43: error: ‘failedToLaunch’ was not declared in this scope
          /home/username/Desktop/emailnotify/plasma-emailnotify.cpp: In member function ‘virtual void EmailNotify::init()’:
          /home/username/Desktop/emailnotify/plasma-emailnotify.cpp:92: error: ‘class Plasma::Svg’ has no member named ‘setContentType’
          /home/username/Desktop/emailnotify/plasma-emailnotify.cpp:92: error: ‘SingleImage’ is not a member of ‘Plasma::Svg’
          /home/username/Desktop/emailnotify/plasma-emailnotify.cpp: At global scope:
          /home/username/Desktop/emailnotify/plasma-emailnotify.cpp:128: warning: unusedparameter ‘option’
          make[2]: *** [CMakeFiles/plasma_applet_emailnotify.dir/plasma-emailnotify.o] Error 1
          make[1]: *** [CMakeFiles/plasma_applet_emailnotify.dir/all] Error 2
          make: *** [all] Error 2
          username@ubuntu:~/Desktop/emailnotify/build$

          hmmm..

          Comment

          Working...
          X