Announcement

Collapse
No announcement yet.

compiling KNemo

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

    compiling KNemo

    Hello does anyone know how to compile KNemo? I have downloaded the source files at "http://kde-apps.org/content/show.php?content=12956" and decompressed them but I have never compiled a running programme in Kubuntu/Debian. One of the files in the uncompressed package opens in kate and provides the following script:

    "to build KNemo you will need a basic build system (g++, make, etc.) You willalso need to install cmake and some development packages. On Debian-based
    systems


    apt-get install cmake kdelibs5-dev kde-workspace-dev libiw-dev libnl-3-dev \
    libnl-route-3-dev


    should be sufficient.




    Notes:


    KNemo saves statistics in an SQLite 3 database. It will complain loudly if it
    cannot find Qt4's SQLite 3 database driver.


    If you cannot open the KNemo config dialog after you install, you probably need
    to modify your environment. Assuming you installed KNemo in /usr/local, add
    something like this to your .profile


    export KDEDIRS=/usr/local:/usr


    Then restart your session."

    Is trhis complicated to achieve? I have never compiled programmes so I guess you need to be debian literate....any ideas? thanks!!

    #2
    First off, what version of Kubuntu are you running? Given the age of the application (developer last commented about it in 2015), it may not build/run on Kubuntu versions build/running Plasma.
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Hi Snowhog, sorry I didn't include Kubuntu version, this is Kubuntu 16.04 LTS with Plasma version 5.5.5 on a 64 bit intel processor........ok would it be possible to redevelop it for current LTS version of Kubuntu??

      Comment


        #4
        That would be a question to ask of the developer over on kde-apps.org.

        However, the contents of the extracted decompressed file should contain a README file that contains the instructions for building/compiling the application; you just need to follow those steps. The file should also contain, as you already pointed out, prerequisites that need to be installed before you begin. Worst case senario is that the package fails to build, or builds but won't run properly under Plasma.
        Using Kubuntu Linux since March 23, 2007
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Ok yes there is a README file, I'll take it up with the developer.....cheers

          Comment


            #6
            Generic build

            KNemo Frameworks:

            https://quickgit.kde.org/?p=knemo.git > Click 'Frameworks'




            https://quickgit.kde.org/?p=knemo.gi...84f8c7f4e97f2f > Click 'snapshot'



            Pick the format - download and unpack

            Read the 'INSTALL' file:
            To build KNemo you will need a basic build system (g++, make, etc.) You will
            also need to install cmake and some development packages. On Debian-based
            systems

            apt-get install cmake extra-cmake-modules libkf5kcmutils-dev \
            libkf5kdelibs4support-dev libkf5notifyconfig-dev libkf5notifications-dev \
            libkf5sysguard-dev libiw-dev libnl-3-dev libnl-route-3-dev

            should be sufficient.


            Notes:

            KNemo saves statistics in an SQLite 3 database. It will complain loudly if it
            cannot find Qt5's SQLite 3 database driver.

            If you cannot open the KNemo config dialog after you install, you probably need
            to modify your environment. Assuming you installed KNemo in /usr/local, add
            something like this to your .profile

            export KDEDIRS=/usr/local:/usr

            Then restart your session.

            A good start is: build-essential - http://packages.ubuntu.com/xenial/build-essential


            Generic build at here:
            Code:
            mkdir -p builddir
            cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=$(kf5-config --prefix) -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
            --
            -- The following OPTIONAL packages have been found:

            * Libiw

            -- The following REQUIRED packages have been found:

            * Qt5DBus
            * Qt5Sql
            * Qt5Gui (required version >= 5.6.0)
            * Qt5Widgets
            * Qt5
            * KF5Config
            * KF5ConfigWidgets
            * KF5CoreAddons
            * KF5GlobalAccel
            * KF5GuiAddons
            * KF5DBusAddons
            * Gettext
            * PythonInterp
            * KF5I18n
            * KF5KCMUtils
            * KF5KDELibs4Support
            * KF5KIO
            * KF5Notifications
            * KF5NotifyConfig
            * ECM (required version >= 0.0.9)
            * Qt5Core
            * KF5Plasma
            * KF5SysGuard
            * KF5WidgetsAddons
            * KF5WindowSystem
            * KF5XmlGui
            * KF5
            * Libnl

            -- Configuring done
            Code:
            make
            sudo make install
            Krunner: knemo...




            Notes !

            At here:
            Arch Linux
            Qt 5.6.0
            KF 5.22
            Plasma 5.6.4
            gcc 6.1.1

            The KNemo did need gcc6 patch: https://git.archlinux.org/svntogit/c...packages/knemo
            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


              #7
              Thanks Rog131!! this is interesting, I'll try to compile following your suggested route.....cheers!

              Comment


                #8
                Originally posted by zaramaloo View Post
                to build KNemo you will need a basic build system (g++, make, etc.)
                On debian-derived distros this is
                Code:
                sudo apt-get install build-essential
                Maybe installing cmake would get all this anyway, but in principle that's a "basic build system" for debian.
                Regards, John Little

                Comment


                  #9
                  ok many thanks

                  Comment

                  Working...
                  X