Re: NM: git HEAD breaks (wifi plugin not available), Debian source works



On Thu, 2014-08-21 at 19:40 +0200, Thomas Haller wrote:
On Thu, 2014-08-21 at 08:26 -0700, dwk wrote:
The
reason I didn't want to run ``make install' as root is because the
install actually tries to delete and re-create the following file:
    /lib/udev/rules.d/77-nm-olpc-mesh.rules

This happens even when a prefix is set. I didn't want to mess up my
local known-good install of NetworkManager, so I ran ``make install -k''
as my local user instead (so the install succeeds, with the exception of
modifying /lib).

So perhaps another fix is needed here, to fix the configure scripts in
case a local prefix is specified; or add a flag to configure to allow
local installs of NetworkManager (which would disable modifying /lib and
maybe disable the check-if-file-owned-by-root check for plugins). I
think the documentation should describe how to run multiple NM versions.

You can overwrite the UDEV dir (which defaults to /lib/udev).

Just
./configure --prefix=/tmp/NM --with-udev-dir=/tmp/NM/lib/udev ...

[for the record]

I pushed
http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=e1de236db1de03fbd1384040dfe0ecb0223fc2f0 
to master.

now the option --without-udev-dir works as expected.


Thomas

Attachment: signature.asc
Description: This is a digitally signed message part



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