Can't update NetworkManager to latest stable version












0















I am running Ubuntu 16.04



NetworkManager --version


returns 1.2.6



I am wanting to update to the lastest stable version (1.14.4) from here.



The install documentation says "the shell command './configure && make && make install'
should configure, build, and install this package."



After much trial and error I managed to get ./configure to complete with out reporting any errors by installing the following packages:



apt-get install gtk-doc-tools libglib2.0-dev libudev-dev uuid-dev libnss3-dev ppp-dev libjansson-dev libcurl4-nss-dev libndp-dev libreadline-dev intltool


However when I run make I get:



mike@Ubuntu16:~/Downloads/NetworkManager-1.14.4$ make
make all-recursive
make[1]: Entering directory '/home/mike/Downloads/NetworkManager-1.14.4'
Making all in .
make[2]: Entering directory '/home/mike/Downloads/NetworkManager-1.14.4'
GEN config-extra.h
GEN libnm-core/nm-core-enum-types.h
CC clients/nm_online-nm-online.o
In file included from ./shared/nm-default.h:311:0,
from clients/nm-online.c:34:
./libnm/NetworkManager.h:60:27: fatal error: nm-enum-types.h: No such file or directory
compilation terminated.
Makefile:15265: recipe for target 'clients/nm_online-nm-online.o' failed
make[2]: *** [clients/nm_online-nm-online.o] Error 1
make[2]: Leaving directory '/home/mike/Downloads/NetworkManager-1.14.4'
Makefile:17770: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/mike/Downloads/NetworkManager-1.14.4'
Makefile:7864: recipe for target 'all' failed
make: *** [all] Error 2


Any help with this would be greatly appreciated.










share|improve this question

























  • It is a very bad idea to install software this way.

    – Pilot6
    7 hours ago











  • How would you suggest?

    – Jedi
    7 hours ago
















0















I am running Ubuntu 16.04



NetworkManager --version


returns 1.2.6



I am wanting to update to the lastest stable version (1.14.4) from here.



The install documentation says "the shell command './configure && make && make install'
should configure, build, and install this package."



After much trial and error I managed to get ./configure to complete with out reporting any errors by installing the following packages:



apt-get install gtk-doc-tools libglib2.0-dev libudev-dev uuid-dev libnss3-dev ppp-dev libjansson-dev libcurl4-nss-dev libndp-dev libreadline-dev intltool


However when I run make I get:



mike@Ubuntu16:~/Downloads/NetworkManager-1.14.4$ make
make all-recursive
make[1]: Entering directory '/home/mike/Downloads/NetworkManager-1.14.4'
Making all in .
make[2]: Entering directory '/home/mike/Downloads/NetworkManager-1.14.4'
GEN config-extra.h
GEN libnm-core/nm-core-enum-types.h
CC clients/nm_online-nm-online.o
In file included from ./shared/nm-default.h:311:0,
from clients/nm-online.c:34:
./libnm/NetworkManager.h:60:27: fatal error: nm-enum-types.h: No such file or directory
compilation terminated.
Makefile:15265: recipe for target 'clients/nm_online-nm-online.o' failed
make[2]: *** [clients/nm_online-nm-online.o] Error 1
make[2]: Leaving directory '/home/mike/Downloads/NetworkManager-1.14.4'
Makefile:17770: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/mike/Downloads/NetworkManager-1.14.4'
Makefile:7864: recipe for target 'all' failed
make: *** [all] Error 2


Any help with this would be greatly appreciated.










share|improve this question

























  • It is a very bad idea to install software this way.

    – Pilot6
    7 hours ago











  • How would you suggest?

    – Jedi
    7 hours ago














0












0








0








I am running Ubuntu 16.04



NetworkManager --version


returns 1.2.6



I am wanting to update to the lastest stable version (1.14.4) from here.



The install documentation says "the shell command './configure && make && make install'
should configure, build, and install this package."



After much trial and error I managed to get ./configure to complete with out reporting any errors by installing the following packages:



apt-get install gtk-doc-tools libglib2.0-dev libudev-dev uuid-dev libnss3-dev ppp-dev libjansson-dev libcurl4-nss-dev libndp-dev libreadline-dev intltool


However when I run make I get:



mike@Ubuntu16:~/Downloads/NetworkManager-1.14.4$ make
make all-recursive
make[1]: Entering directory '/home/mike/Downloads/NetworkManager-1.14.4'
Making all in .
make[2]: Entering directory '/home/mike/Downloads/NetworkManager-1.14.4'
GEN config-extra.h
GEN libnm-core/nm-core-enum-types.h
CC clients/nm_online-nm-online.o
In file included from ./shared/nm-default.h:311:0,
from clients/nm-online.c:34:
./libnm/NetworkManager.h:60:27: fatal error: nm-enum-types.h: No such file or directory
compilation terminated.
Makefile:15265: recipe for target 'clients/nm_online-nm-online.o' failed
make[2]: *** [clients/nm_online-nm-online.o] Error 1
make[2]: Leaving directory '/home/mike/Downloads/NetworkManager-1.14.4'
Makefile:17770: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/mike/Downloads/NetworkManager-1.14.4'
Makefile:7864: recipe for target 'all' failed
make: *** [all] Error 2


Any help with this would be greatly appreciated.










share|improve this question
















I am running Ubuntu 16.04



NetworkManager --version


returns 1.2.6



I am wanting to update to the lastest stable version (1.14.4) from here.



The install documentation says "the shell command './configure && make && make install'
should configure, build, and install this package."



After much trial and error I managed to get ./configure to complete with out reporting any errors by installing the following packages:



apt-get install gtk-doc-tools libglib2.0-dev libudev-dev uuid-dev libnss3-dev ppp-dev libjansson-dev libcurl4-nss-dev libndp-dev libreadline-dev intltool


However when I run make I get:



mike@Ubuntu16:~/Downloads/NetworkManager-1.14.4$ make
make all-recursive
make[1]: Entering directory '/home/mike/Downloads/NetworkManager-1.14.4'
Making all in .
make[2]: Entering directory '/home/mike/Downloads/NetworkManager-1.14.4'
GEN config-extra.h
GEN libnm-core/nm-core-enum-types.h
CC clients/nm_online-nm-online.o
In file included from ./shared/nm-default.h:311:0,
from clients/nm-online.c:34:
./libnm/NetworkManager.h:60:27: fatal error: nm-enum-types.h: No such file or directory
compilation terminated.
Makefile:15265: recipe for target 'clients/nm_online-nm-online.o' failed
make[2]: *** [clients/nm_online-nm-online.o] Error 1
make[2]: Leaving directory '/home/mike/Downloads/NetworkManager-1.14.4'
Makefile:17770: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/mike/Downloads/NetworkManager-1.14.4'
Makefile:7864: recipe for target 'all' failed
make: *** [all] Error 2


Any help with this would be greatly appreciated.







network-manager make






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 7 hours ago









Pilot6

52.8k15108197




52.8k15108197










asked 7 hours ago









JediJedi

254




254













  • It is a very bad idea to install software this way.

    – Pilot6
    7 hours ago











  • How would you suggest?

    – Jedi
    7 hours ago



















  • It is a very bad idea to install software this way.

    – Pilot6
    7 hours ago











  • How would you suggest?

    – Jedi
    7 hours ago

















It is a very bad idea to install software this way.

– Pilot6
7 hours ago





It is a very bad idea to install software this way.

– Pilot6
7 hours ago













How would you suggest?

– Jedi
7 hours ago





How would you suggest?

– Jedi
7 hours ago










1 Answer
1






active

oldest

votes


















0














Running into dependency issues while building from source is normal and painful. It's better to install using apt



First, let's see the package that's responsible for NetworkManager



dpkg -S $(which NetworkManager)


It's the network-manager package. Now let's see what we have avaliable



apt policy network-manager


On U18 I have 1.12.4 . Try upgrading the network-manager package.



sudo apt update
sudo apt install network-manager


If you want the ubuntu 18 network-manager package you can try the below



# WARNING! THIS IS DANGEROUS AND MIGHT BREAK YOUR SYSTEM. IT'S BEST TO REMOVE IT AFTER INSTALLING THE PACKAGE YOU WANT
echo 'deb http://us.archive.ubuntu.com/ubuntu bionic universe' | sudo tee -a /etc/apt/sources.list
sudo apt uddate
sudo apt install network-manager


One more thing (and this is a shot in the dark); a lot of the dev packages will have the header files you need. So try



sudo apt install network-manager-dev





share|improve this answer








New contributor




philn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1122583%2fcant-update-networkmanager-to-latest-stable-version%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Running into dependency issues while building from source is normal and painful. It's better to install using apt



    First, let's see the package that's responsible for NetworkManager



    dpkg -S $(which NetworkManager)


    It's the network-manager package. Now let's see what we have avaliable



    apt policy network-manager


    On U18 I have 1.12.4 . Try upgrading the network-manager package.



    sudo apt update
    sudo apt install network-manager


    If you want the ubuntu 18 network-manager package you can try the below



    # WARNING! THIS IS DANGEROUS AND MIGHT BREAK YOUR SYSTEM. IT'S BEST TO REMOVE IT AFTER INSTALLING THE PACKAGE YOU WANT
    echo 'deb http://us.archive.ubuntu.com/ubuntu bionic universe' | sudo tee -a /etc/apt/sources.list
    sudo apt uddate
    sudo apt install network-manager


    One more thing (and this is a shot in the dark); a lot of the dev packages will have the header files you need. So try



    sudo apt install network-manager-dev





    share|improve this answer








    New contributor




    philn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

























      0














      Running into dependency issues while building from source is normal and painful. It's better to install using apt



      First, let's see the package that's responsible for NetworkManager



      dpkg -S $(which NetworkManager)


      It's the network-manager package. Now let's see what we have avaliable



      apt policy network-manager


      On U18 I have 1.12.4 . Try upgrading the network-manager package.



      sudo apt update
      sudo apt install network-manager


      If you want the ubuntu 18 network-manager package you can try the below



      # WARNING! THIS IS DANGEROUS AND MIGHT BREAK YOUR SYSTEM. IT'S BEST TO REMOVE IT AFTER INSTALLING THE PACKAGE YOU WANT
      echo 'deb http://us.archive.ubuntu.com/ubuntu bionic universe' | sudo tee -a /etc/apt/sources.list
      sudo apt uddate
      sudo apt install network-manager


      One more thing (and this is a shot in the dark); a lot of the dev packages will have the header files you need. So try



      sudo apt install network-manager-dev





      share|improve this answer








      New contributor




      philn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        0












        0








        0







        Running into dependency issues while building from source is normal and painful. It's better to install using apt



        First, let's see the package that's responsible for NetworkManager



        dpkg -S $(which NetworkManager)


        It's the network-manager package. Now let's see what we have avaliable



        apt policy network-manager


        On U18 I have 1.12.4 . Try upgrading the network-manager package.



        sudo apt update
        sudo apt install network-manager


        If you want the ubuntu 18 network-manager package you can try the below



        # WARNING! THIS IS DANGEROUS AND MIGHT BREAK YOUR SYSTEM. IT'S BEST TO REMOVE IT AFTER INSTALLING THE PACKAGE YOU WANT
        echo 'deb http://us.archive.ubuntu.com/ubuntu bionic universe' | sudo tee -a /etc/apt/sources.list
        sudo apt uddate
        sudo apt install network-manager


        One more thing (and this is a shot in the dark); a lot of the dev packages will have the header files you need. So try



        sudo apt install network-manager-dev





        share|improve this answer








        New contributor




        philn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        Running into dependency issues while building from source is normal and painful. It's better to install using apt



        First, let's see the package that's responsible for NetworkManager



        dpkg -S $(which NetworkManager)


        It's the network-manager package. Now let's see what we have avaliable



        apt policy network-manager


        On U18 I have 1.12.4 . Try upgrading the network-manager package.



        sudo apt update
        sudo apt install network-manager


        If you want the ubuntu 18 network-manager package you can try the below



        # WARNING! THIS IS DANGEROUS AND MIGHT BREAK YOUR SYSTEM. IT'S BEST TO REMOVE IT AFTER INSTALLING THE PACKAGE YOU WANT
        echo 'deb http://us.archive.ubuntu.com/ubuntu bionic universe' | sudo tee -a /etc/apt/sources.list
        sudo apt uddate
        sudo apt install network-manager


        One more thing (and this is a shot in the dark); a lot of the dev packages will have the header files you need. So try



        sudo apt install network-manager-dev






        share|improve this answer








        New contributor




        philn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        philn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 1 hour ago









        philnphiln

        11




        11




        New contributor




        philn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        philn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        philn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1122583%2fcant-update-networkmanager-to-latest-stable-version%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            GameSpot

            日野市

            Tu-95轟炸機