Re: How do I build the networkmanager



On Thu, 2021-11-18 at 22:11 +0000, Rao Shoaib via networkmanager-list
wrote:
Hello everyone, 

I have cloned the following repo, but can not figure out how to build
it. Can someone please provide me with the build instructions?

Regards,

Shoaib

NetworkManager / NetworkManager

NetworkManager / NetworkManager
NetworkManager — network management daemon



Hi,


NetworkManager can both use autotools and meson for building. Choose
the one you prefer.

How to build a autotools/meson project, follows in general similar
steps. e.g.

     ./autogen.sh
     ./configure $OPTIONS
     make
     sudo make install

and

     meson build
     ninja -C build

Search the internet for how autotools/make or meson works.


Most important is to get the configure options right for your
environment. In particular the `--prefix` where things get installed...


See also https://wiki.gnome.org/Projects/NetworkManager/Hacking
and read
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/77d7b8287c43fdc25cbea6d976d3867459bfd314/CONTRIBUTING.md#building-from-source


On Fedora, you can also use these COPR repositories:
https://copr.fedorainfracloud.org/coprs/networkmanager



If you have questions, you may also ask on IRC (#nm on Libera.Chat).


best,
Thomas



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]