Announcement

Collapse
No announcement yet.

Howto build network manager plasmoid?

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

    Howto build network manager plasmoid?

    Hi there,

    I asked the developper for some updates for the network plasmoid ...
    https://bugs.kde.org/show_bug.cgi?id=191120
    and yeah, he made a change ... but he cant test it.

    So I want to help. I installed the kdebase-dev package;
    and i managed to checkout the corresponding sources.
    (svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applets/networkmanager)

    Now I ran 'cmake' within that directory ... and it tells me: all fine.
    But when I do a "make" ... nothing happens.

    I can do "make help" or "make clean" ... nice ... but well,
    nothing is compiled or installed.

    Any idea what I am doing wrong here?

    #2
    Re: Howto build network manager plasmoid?

    Output messages would help


    Generic how to:

    Open konsole to the plasmoid directory (networkmanager ?)

    Code:
    mkdir -p builddir
    Code:
    cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=/usr
    Should tell:
    ...
    -- Configuring done
    -- Generating done
    -- Build files have been written to:...
    Code:
    make
    Code:
    sudo make install
    or a bit better:
    Code:
    sudo checkinstall
    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


      #3
      Re: Howto build network manager plasmoid?

      I would paste output messages if there were any ;-(
      OK, thats not exactly true.

      ~/svn/kde/networkmanager $ cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=/usr
      -- Found Qt-Version 4.5.0 (using /usr/bin/qmake)
      -- Found X11: /usr/lib/libX11.so
      -- Phonon Version: 4.3.0
      -- Found KDE 4.2 include dir: /usr/include
      -- Found KDE 4.2 library dir: /usr/lib
      -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
      -- Found automoc4: /usr/bin/automoc4
      -- checking for one of the modules 'NetworkManager'
      -- checking for one of the modules 'libnm-util'
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /home/xxx/svn/kde/networkmanager

      Sounds good, but ...

      ~/svn/kde/networkmanager/builddir $ make
      make: *** No targets specified and no makefile found. Stop.
      ~/svn/kde/networkmanager/builddir $ cd ..
      ~/svn/kde/networkmanager $ make all
      ~/svn/kde/networkmanager $ make install
      make: *** No rule to make target `install'. Stop.

      So - as I said: cmake tells me "all right" ... but make wont build no nothing.

      Comment


        #4
        Re: Howto build network manager plasmoid?

        This was with the: "Checked out revision 1010660."


        Do you have the build-essential ?

        build-essential
        Informational list of build-essential packages
        ...
        If you have this package installed, you only need to install whatever
        a package specifies as its build-time dependencies to build the
        package.
        ...

        KDE 4.2.4 (Jaunty)

        The cmake is working fine: "-- Build files have been written to:..."
        The make is just dying, no error messages.

        Looking what are the build depencies from the plasma-widget-networkmanagement-0.1~svn1002781 /1/:
        Build-Depends: cdbs, debhelper (>= 7.0.50), cmake (>= 2.6.2), pkg-kde-tools (>= 0.2), quilt (>= 0.46-7~), libqt4-dev (>= 4.4.0), kdelibs5-dev (>= 4:4.2.0), kdebase-workspace-dev (>= 4:4.2.98-0ubuntu), libknotificationitem-dev, network-manager-dev (>= 0.7.0), libnm-util-dev (>= 0.7.0)
        Some of those are available from the Jaunty repositories, some are not !

        Changing to the Karmic (KDE 4.3.0).


        KDE 4.3.0 (Karmic)

        The cmake is working fine: "-- Build files have been written to:..."
        The make is just dying, no error messages.

        => Installing those depencies =>

        The cmake is working fine: "-- Build files have been written to:..."
        The make is working fine:
        ..
        Linking CXX shared module ../lib/kded_networkmanagement.so
        [100%] Built target kded_networkmanagement

        With the KDE 4.3.0 (Karmic) this seems to compile.


        /1/ > KNetworkManager svn 1002781 - Call for testing >> KubuntuPlasmaWidgetNetworkManager wiki >>> https://edge.launchpad.net/~jr/+archive/ppa
        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: Howto build network manager plasmoid?

          Thanks for the update.

          Not that I really have time for that; but maybe I could install Karmic on a different machine
          and give it atry.

          Or maybe I dare to upgrade my jaunty system to kde 4.3.

          Exiting choices.

          Comment


            #6
            Re: Howto build network manager plasmoid?

            For the curious:

            Updating my kubuntu jaunty to kde 4.3 came with some hickups ... but now I like what I see.
            But I was still not able to build the private fix.

            So I installed kubuntu karma alpha 4 on a seperate partition ... and with all the information
            that was given to me ... it finally compiled and installed.

            Leap still not working; but at least I am now able to help testing.

            Comment

            Working...
            X