netdever | Hi there! I've forked netplan and I'm attempting to compile my changes for testing on my Ubuntu laptop. Seeing "meson: error: unrecognized arguments: [-Db_coverage=true]", and if I leave that argument off, I see "meson.build:12:0: ERROR: Dependency "glib-2.0" not found, tried pkgconfig and cmake." Has anyone seen this before? | 14:18 |
---|---|---|
schopin | netdever: Run `sudo apt build-dep netplan.io` to get all dev dependencies (except meson as its support is *really* new) | 14:47 |
netdever | Hmm, which deb-src do I need? "Unable to find a source package for netplan.io" | 14:58 |
schopin | The same URL as the mirror for main should suffice. | 15:01 |
netdever | Got it with "deb-src https://mirrors.kernel.org/ubuntu focal main" -- but the issue persists. Getting the same errors trying to build with meson. | 15:40 |
schopin | netdever: you can use the Makefile-based build system instead ('make', 'make check', etc...) | 15:49 |
netdever | make is also unable to find glib "fatal error: glib.h: No such file or directory" | 15:57 |
schopin | That's weird. Are you sure you have libglib2.0-dev installed ? (should have come with the build-dep apt command) | 16:00 |
netdever | Yes, it is installed, and glib.h is present at "/usr/include/glib-2.0/glib.h" -- and the Makefile includes the directory "/usr/include/" | 16:03 |
schopin | Sorry then, I'm out of ideas. | 16:07 |
netdever | No worries, thanks for your help - I'm going to try on a different device | 16:17 |
cyphermox | I'd check what pkgconfig says about glib-2.0; that might tell you why it's not finding glib.h (ie. not actually adding /usr/include/glib-2.0 anywhere) | 18:09 |
cyphermox | netdever: ^ | 18:09 |
nicolasbock | Could someone review https://github.com/canonical/netplan/pull/270 ? | 21:08 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!