This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

/!\ This page is not a bug tracker. If you run into a problem not listed here, please file a bug.
When entering a new problem, please enter it above the others, and follow the format of the JhbuildIssues/JhbuildIssueTemplate for new problems/modules.

List of common errors for the module NetworkManager.

Error - cc1: all warnings being treated as errors

System details: 2012 February 11 - Debian 7.0 "Squeeze"

Stage: Compile

The build stage fails due to compiler warnings, and --disable-Werror flag doesn't work.

Cause:

The build is set to fail, perhaps when built from a development environment (e.g. building a git version).

Solution:

$ echo 'module_autogenargs["NetworkManager"] = "--enable-more-warnings=no"' >> ~/.jhbuildrc

Error - Attribute "foo" is invalid on <node> element

Stage: build

Unable to load "%s": Attribute "xmlns:tp" is invalid on <node> element in this context

Explanation: Due to a bug in dbus-glib

Solution:

Error - cannot create regular file `/lib/udev/nm-modem-probe': Permission denied

Stage: build

install: cannot create regular file `/lib/udev/nm-modem-probe': Permission denied

Explanation: nm-modem-probe feature probably does not work

Solution:

Add to .jhbuildrc:

module_autogenargs['NetworkManager'] = autogenargs + \
        ' --with-dbus-sys-dir=' + prefix + '/etc/dbus-1/system.d' + \
        ' --with-udev-dir=' + prefix + '/lib/udev'

Error - No rule to make target `/libdeprecated-nm-glib.la'

System details: "October 19th, 2010 - GNOME 3.0 GIT - Gentoo

Stage: Compile

make[3]: *** No rule to make target `/libdeprecated-nm-glib.la', needed by `libnm-glib.la'.  Stop.

Cause: Target should be "libdeprecated-nm-glib.la" insteadn of "/libdeprecated-nm-glib.la"

Workaround: Change ".../NetworkManager/libnm-glib/Makefile.am" line 128 from:

        $(builddir)/libdeprecated-nm-glib.la \

to

        libdeprecated-nm-glib.la \

Error - couldn't find pppd.h. pppd development headers are required.

System details: December 18th, 2010 - GNOME 3.0 GIT - Ubuntu 10.10

Stage: Configure

checking for pppd/pppd.h... no
configure: error: couldn't find pppd.h. pppd development headers are required.

Cause: ppp development headers are missing

Solution: Install the ppp development package. On Debian/Ubuntu it is called ppp-dev; on Fedora it is called ppp-devel.

Error - couldn't find wireless.h. during wireless-tool check

System details: August 11th, 2011 - GNOME 3.0 GIT - Ubuntu 10.04

Stage: Configure

checking for Linux Wireless Extensions >= xxx... no

Cause: libiw-dev needs to be installed.

Solution: Install the libiw development package. On Debian/Ubuntu it is called libiw-dev.


CategoryJhbuildIssues


2024-10-23 11:37