Can't update NetworkManager to latest stable version
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
add a comment |
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
It is a very bad idea to install software this way.
– Pilot6
7 hours ago
How would you suggest?
– Jedi
7 hours ago
add a comment |
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
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
network-manager make
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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
New contributor
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
New contributor
add a comment |
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
New contributor
add a comment |
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
New contributor
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
New contributor
New contributor
answered 1 hour ago
philnphiln
11
11
New contributor
New contributor
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
It is a very bad idea to install software this way.
– Pilot6
7 hours ago
How would you suggest?
– Jedi
7 hours ago