Discussion:
networkmanager compilation attempt on archlinux
Valentin Rusu
2011-10-08 18:10:26 UTC
Permalink
Hello,

Trying to compile networkmanager on archlinux (fresh install), I get an
initial error, fixed by the patch attached to his message.

But for next errorI'm stuck:

[ 84%] [ 84%] [ 84%] [ 85%] Building CXX object
backends/NetworkManager/CMakeFiles/knm_nm.dir/nmdbussettingsservice.o
Building CXX object
backends/NetworkManager/CMakeFiles/knm_nm.dir/remoteconnection.o
Building CXX object
backends/NetworkManager/CMakeFiles/knm_nm.dir/nm-settingsinterface.o
Building CXX object
backends/NetworkManager/CMakeFiles/knm_nm.dir/nm-exported-connectioninterface.o

[ 85%] Building CXX object
backends/NetworkManager/CMakeFiles/knm_nm.dir/nm-exported-connection-secrets-interface.o

/home/kde/src/networkmanagement/backends/NetworkManager/nmdbussettingsservice.cpp:65:76:
error: 'NM_DBUS_SERVICE_USER_SETTINGS' was not declared in this scope
/home/kde/src/networkmanagement/backends/NetworkManager/nmdbussettingsservice.cpp:66:78:
error: 'NM_DBUS_SERVICE_SYSTEM_SETTINGS' was not declared in this scope
make[2]: ***
[backends/NetworkManager/CMakeFiles/knm_nm.dir/nmdbussettingsservice.o]
Error 1

Any hint?

Thanks,
--
Valentin Rusu (IRC valir, KDE vrusu)
KSecretsService (former KSecretService, KWallet replacement)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-networkmanager/attachments/20111008/35bd8663/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Attempting-to-fix-compile-issues-with-nm-0.9.1-on-ar.patch
Type: text/x-patch
Size: 2015 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-networkmanager/attachments/20111008/35bd8663/attachment.patch>
Ilia Kats
2011-10-08 18:20:02 UTC
Permalink
Hi,

I believe you are trying to compile the master branch, which is for NM
0.8 only. For NM 0.9.x you must check out the nm09 branch and compile
that (or use our first release,
ftp://ftp.kde.org/pub/kde/unstable/networkmanagement/0.8.80/src/networkmanagement-0.8.80.tar.bz2
).

Ilia


-------- Original Message --------
Subject: networkmanager compilation attempt on archlinux
Date: 2011-10-08 20:10:26 +0200
From: Valentin Rusu <kde at rusu.info>
To: kde-networkmanager at kde.org
Post by Valentin Rusu
Hello,
Trying to compile networkmanager on archlinux (fresh install), I get
an initial error, fixed by the patch attached to his message.
[ 84%] [ 84%] [ 84%] [ 85%] Building CXX object
backends/NetworkManager/CMakeFiles/knm_nm.dir/nmdbussettingsservice.o
Building CXX object
backends/NetworkManager/CMakeFiles/knm_nm.dir/remoteconnection.o
Building CXX object
backends/NetworkManager/CMakeFiles/knm_nm.dir/nm-settingsinterface.o
Building CXX object
backends/NetworkManager/CMakeFiles/knm_nm.dir/nm-exported-connectioninterface.o
[ 85%] Building CXX object
backends/NetworkManager/CMakeFiles/knm_nm.dir/nm-exported-connection-secrets-interface.o
error: ?NM_DBUS_SERVICE_USER_SETTINGS? was not declared in this
scope
error: ?NM_DBUS_SERVICE_SYSTEM_SETTINGS? was not declared in this scope
make[2]: ***
[backends/NetworkManager/CMakeFiles/knm_nm.dir/nmdbussettingsservice.o] Error
1
Any hint?
Thanks,
--
Valentin Rusu (IRC valir, KDE vrusu)
KSecretsService (former KSecretService, KWallet replacement)
_______________________________________________
kde-networkmanager mailing list
kde-networkmanager at kde.org
https://mail.kde.org/mailman/listinfo/kde-networkmanager
Valentin Rusu
2011-10-08 19:01:03 UTC
Permalink
Post by Ilia Kats
Hi,
I believe you are trying to compile the master branch, which is for NM
0.8 only. For NM 0.9.x you must check out the nm09 branch and compile
that
Ok, you saw it right. It's now working nicely.
Thanks for an excellent tool.
--
Valentin Rusu (IRC valir, KDE vrusu)
KSecretsService (former KSecretService, KWallet replacement)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-networkmanager/attachments/20111008/7b225c06/attachment.html>
Loading...