Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checking for LIBNM_GLIB... no - Fedora 31, Debian 10, MX-Linux #46

Open
tomasmetal23 opened this issue Jan 28, 2020 · 8 comments
Open

Comments

@tomasmetal23
Copy link

I have this problem when you tried to install it, could you help me? I tried to install it on debian 10 and fedora 31 and I have the same problem, I could only install it on arch linux

image

The libnm-glib library, deprecated in favor of libnm since NetworkManager 1.0

@tomasmetal23
Copy link
Author

tomasmetal23 commented Jan 30, 2020

Add --without-libnm-glib to ./configure
Example for fedora 31:

./configure \
--without-libnm-glib


Example for debian buster / mx-linux:

./configure --prefix=/usr
--without-libnm-glib
--sysconfdir=/etc
--libdir=/usr/lib/x86_64-linux-gnu
--libexecdir=/usr/lib/NetworkManager
--localstatedir=/var


Example for ubuntu 18.04 LTS:

./configure --prefix=/usr
--sysconfdir=/etc
--libdir=/usr/lib/x86_64-linux-gnu
--libexecdir=/usr/lib/NetworkManager
--localstatedir=/var

@KingCartman
Copy link

I am experiencing the same Issue on Ubuntu 20.04 LTS:
But I not getting it working. Do you have any advice for me?
What I have done:

sudo apt install wireguard git dh-autoreconf libglib2.0-dev intltool build-essential libgtk-3-dev libnma-dev libsecret-1-dev network-manager-dev
git clone https://github.com/max-moser/network-manager-wireguard
cd network-manager-wireguard
./autogen.sh
./configure --without-libnm-glib 
--prefix=/usr
--sysconfdir=/etc
--libdir=/usr/lib/x86_64-linux-gnu
--libexecdir=/usr/lib/NetworkManager
--localstatedir=/var
make
sudo make sysconfdir=/etc libdir=/usr/lib install

Thank you in advance.

@tomasmetal23
Copy link
Author

tomasmetal23 commented Apr 30, 2020

Try with this sh and tell me how it went.
https://gist.github.com/tomasmetal23/e1ccd35fdf8c2e9786e0af37fe04dcc6

@KingCartman
Copy link

Try with this sh and tell me how it went.
https://gist.github.com/tomasmetal23/e1ccd35fdf8c2e9786e0af37fe04dcc6

Thanks for your reply. I already get it working. Just needed to use "sudo make install" without any parameters. So I think youre variant will work too.

But after that I still cant activate the VPN-Connection successfully. But after checking /var/log/syslog I saw that the package "resolvconf" is a dependency too and not preinstalled.

Now its fully working. Thank you anyway for your help. 👍

@KingCartman
Copy link

I posted it on askubuntu.com too: https://askubuntu.com/questions/1233034/wireguard-vpn-client-gui/1233341#1233341

I hope this will help somebody in the future. So much too manage multiple WG-VPN Connections over the GUI.

@tomasmetal23
Copy link
Author

I'm glad, any questions with wireguard (server-client) we can talk about. You can write to my email or telegram @idontexist24.

@yookoala
Copy link

yookoala commented May 15, 2022

Hi. I'm on Fedora 36 and I have the same issue.

$ ./autogen.sh \
                --prefix=/usr \
		--sysconfdir=/etc \
		--libdir=/usr/lib/x86_64-linux-gnu \
		--libexecdir=/usr/lib/NetworkManager \
		--localstatedir=/var

You should update your 'aclocal.m4' by running aclocal.
intltoolize: 'po/Makefile.in.in' exists: use '--force' to overwrite
configure.ac:27: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:27: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
...
...
...
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for GTK... yes
checking for LIBNMA... yes
checking for LIBSECRET... yes
checking for LIBNM_GLIB... no
configure: error: Package requirements (NetworkManager >= 1.7.0
			libnm-util >= 1.7.0
			libnm-glib >= 1.7.0
			libnm-glib-vpn >= 1.7.0) were not met:

Package 'NetworkManager', required by 'virtual:world', not found
Package 'libnm-util', required by 'virtual:world', not found
Package 'libnm-glib', required by 'virtual:world', not found
Package 'libnm-glib-vpn', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBNM_GLIB_CFLAGS
and LIBNM_GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

@tomasmetal23
Copy link
Author

Hi. I'm on Fedora 36 and I have the same issue.

$ ./autogen.sh \
                --prefix=/usr \
		--sysconfdir=/etc \
		--libdir=/usr/lib/x86_64-linux-gnu \
		--libexecdir=/usr/lib/NetworkManager \
		--localstatedir=/var

You should update your 'aclocal.m4' by running aclocal.
intltoolize: 'po/Makefile.in.in' exists: use '--force' to overwrite
configure.ac:27: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:27: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
...
...
...
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for GTK... yes
checking for LIBNMA... yes
checking for LIBSECRET... yes
checking for LIBNM_GLIB... no
configure: error: Package requirements (NetworkManager >= 1.7.0
			libnm-util >= 1.7.0
			libnm-glib >= 1.7.0
			libnm-glib-vpn >= 1.7.0) were not met:

Package 'NetworkManager', required by 'virtual:world', not found
Package 'libnm-util', required by 'virtual:world', not found
Package 'libnm-glib', required by 'virtual:world', not found
Package 'libnm-glib-vpn', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBNM_GLIB_CFLAGS
and LIBNM_GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

try with https://gist.github.com/tomasmetal23/feb62272524d26c0a05b47339eea6ad1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants