LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem installing NetworkManager (https://www.linuxquestions.org/questions/linux-newbie-8/problem-installing-networkmanager-564928/)

Iyeck 06-27-2007 03:39 PM

Problem installing NetworkManager
 
I've installed the appropriate packages during configure but now on my 3rd day into linux, during the compiling of NetworkManager 6, this seems like a foreign language. So could anyone explain what's going on/what the error is? Also, I'm on Debian.


Code:

rkManager-NetworkManagerDbus.o `test -f
'NetworkManagerDbus.c' || echo './'`Netw orkManagerDbus.c; \
        then mv -f
".deps/NetworkManager-NetworkManagerDbus.Tpo"
".deps/NetworkM anager-NetworkManagerDbus.Po"; else rm -f
".deps/NetworkManager-NetworkManagerDb us.Tpo"; exit 1; fi
NetworkManagerDbus.c: In function ‘nm_dbus_init’:
NetworkManagerDbus.c:841: error:
‘DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT’ undeclare d (first
use in this function)
NetworkManagerDbus.c:841: error: (Each undeclared identifier
is reported only on ce
NetworkManagerDbus.c:841: error: for each function it
appears in.)
make[3]: *** [NetworkManager-NetworkManagerDbus.o] Error 1
make[3]: Leaving directory `/home/allen/Desktop/nm6/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/allen/Desktop/nm6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/allen/Desktop/nm6'
make: *** [all] Error 2
Thax:/home/allen/Desktop/nm6# make install
Making install in utils
make[1]: Entering directory `/home/allen/Desktop/nm6/utils'
make[2]: Entering directory `/home/allen/Desktop/nm6/utils'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/allen/Desktop/nm6/utils'
make[1]: Leaving directory `/home/allen/Desktop/nm6/utils'
Making install in libnm-util
make[1]: Entering directory
`/home/allen/Desktop/nm6/libnm-util'
make[2]: Entering directory
`/home/allen/Desktop/nm6/libnm-util'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
 /bin/sh ../libtool --mode=install /usr/bin/install -c
'libnm-util.la' '/usr/lo cal/lib/libnm-util.la'
/usr/bin/install -c .libs/libnm-util.so.0.0.0
/usr/local/lib/libnm-util.so.0.0.0
(cd /usr/local/lib && { ln -s -f libnm-util.so.0.0.0
libnm-util.so.0 || { rm -f libnm-util.so.0 && ln -s
libnm-util.so.0.0.0 libnm-util.so.0; }; })
(cd /usr/local/lib && { ln -s -f libnm-util.so.0.0.0
libnm-util.so || { rm -f li bnm-util.so && ln -s
libnm-util.so.0.0.0 libnm-util.so; }; })
/usr/bin/install -c .libs/libnm-util.lai
/usr/local/lib/libnm-util.la
/usr/bin/install -c .libs/libnm-util.a
/usr/local/lib/libnm-util.a
chmod 644 /usr/local/lib/libnm-util.a
ranlib /usr/local/lib/libnm-util.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
  /usr/local/lib

If you ever happen to want to link against installed
libraries
in a given directory, LIBDIR, you must either use libtool,
and
specify the full pathname of the library, or use the
`-LLIBDIR'
flag during linking and do at least one of the following:
  - add LIBDIR to the `LD_LIBRARY_PATH' environment
variable
    during execution
  - add LIBDIR to the `LD_RUN_PATH' environment variable
    during linking
  - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
  - have your system administrator add LIBDIR to
`/etc/ld.so.conf'

See any operating system documentation about shared
libraries for
more information, such as the ld(1) and ld.so(8) manual
pages.
----------------------------------------------------------------------
test -z "/usr/local/include/NetworkManager" || mkdir -p --
"/usr/local/include/N etworkManager"
 /usr/bin/install -c -m 644 'cipher.h'
'/usr/local/include/NetworkManager/cipher .h'
 /usr/bin/install -c -m 644 'cipher-wep-hex.h'
'/usr/local/include/NetworkManage r/cipher-wep-hex.h'
 /usr/bin/install -c -m 644 'cipher-wep-passphrase.h'
'/usr/local/include/Networ kManager/cipher-wep-passphrase.h'
 /usr/bin/install -c -m 644 'cipher-wep-ascii.h'
'/usr/local/include/NetworkMana ger/cipher-wep-ascii.h'
 /usr/bin/install -c -m 644 'cipher-wpa-psk-hex.h'
'/usr/local/include/NetworkMa nager/cipher-wpa-psk-hex.h'
 /usr/bin/install -c -m 644 'cipher-wpa-psk-passphrase.h'
'/usr/local/include/Ne
tworkManager/cipher-wpa-psk-passphrase.h'
 /usr/bin/install -c -m 644 'dbus-helpers.h'
'/usr/local/include/NetworkManager/ dbus-helpers.h'
 /usr/bin/install -c -m 644 'dbus-method-dispatcher.h'
'/usr/local/include/Netwo
rkManager/dbus-method-dispatcher.h'
test -z "/usr/local/lib/pkgconfig" || mkdir -p --
"/usr/local/lib/pkgconfig"
 /usr/bin/install -c -m 644 'libnm-util.pc'
'/usr/local/lib/pkgconfig/libnm-util .pc'
make[2]: Leaving directory
`/home/allen/Desktop/nm6/libnm-util'
make[1]: Leaving directory
`/home/allen/Desktop/nm6/libnm-util'
Making install in src
make[1]: Entering directory `/home/allen/Desktop/nm6/src'
Making install in named-manager
make[2]: Entering directory
`/home/allen/Desktop/nm6/src/named-manager'
make[3]: Entering directory
`/home/allen/Desktop/nm6/src/named-manager'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/home/allen/Desktop/nm6/src/named-manager'
make[2]: Leaving directory
`/home/allen/Desktop/nm6/src/named-manager'
Making install in vpn-manager
make[2]: Entering directory
`/home/allen/Desktop/nm6/src/vpn-manager'
make[3]: Entering directory
`/home/allen/Desktop/nm6/src/vpn-manager'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/home/allen/Desktop/nm6/src/vpn-manager'
make[2]: Leaving directory
`/home/allen/Desktop/nm6/src/vpn-manager'
Making install in dhcp-manager
make[2]: Entering directory
`/home/allen/Desktop/nm6/src/dhcp-manager'
make[3]: Entering directory
`/home/allen/Desktop/nm6/src/dhcp-manager'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/home/allen/Desktop/nm6/src/dhcp-manager'
make[2]: Leaving directory
`/home/allen/Desktop/nm6/src/dhcp-manager'
Making install in backends
make[2]: Entering directory
`/home/allen/Desktop/nm6/src/backends'
make[3]: Entering directory
`/home/allen/Desktop/nm6/src/backends'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/home/allen/Desktop/nm6/src/backends'
make[2]: Leaving directory
`/home/allen/Desktop/nm6/src/backends'
make[2]: Entering directory `/home/allen/Desktop/nm6/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include
-I../src/named-manager -I. ./src/vpn-manager
-I../src/dhcp-manager -I../utils -I../libnm-util
-I/usr/includ e/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2 .0/include 
-DDBUS_VERSION_MAJOR=1 -DDBUS_VERSION_MINOR=0
-DDBUS_VERSION_MICRO= 2 -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include  -DDBUS_API_SUBJ ECT_TO_CHANGE
-I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/inc lude   
-DWPA_SUPPLICANT_BIN=\"/sbin/wpa_supplicant\"
-DDBUS_API_SUBJECT_TO_CHA NGE -DG_DISABLE_DEPRECATED
-DBINDIR=\"/usr/local/bin\" -DSBINDIR=\"/usr/local/sb
in\" -DLIBEXECDIR=\"/usr/local/libexec\"
-DDATADIR=\"/usr/local/share\" -DSYSCON
FDIR=\"/usr/local/etc\"
-DLOCALSTATEDIR=\"/usr/local/var\" -DNM_RUN_DIR=\"/usr/l
ocal/var/run/NetworkManager\" -DARP_DEBUG  -g -O2 -MT
NetworkManager-NetworkMan agerDbus.o -MD -MP -MF
".deps/NetworkManager-NetworkManagerDbus.Tpo" -c -o Netwo
rkManager-NetworkManagerDbus.o `test -f
'NetworkManagerDbus.c' || echo './'`Netw orkManagerDbus.c; \
        then mv -f
".deps/NetworkManager-NetworkManagerDbus.Tpo"
".deps/NetworkM anager-NetworkManagerDbus.Po"; else rm -f
".deps/NetworkManager-NetworkManagerDb us.Tpo"; exit 1; fi
NetworkManagerDbus.c: In function ‘nm_dbus_init’:
NetworkManagerDbus.c:841: error:
‘DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT’ undeclare d (first
use in this function)
NetworkManagerDbus.c:841: error: (Each undeclared identifier
is reported only on ce
NetworkManagerDbus.c:841: error: for each function it
appears in.)
make[2]: *** [NetworkManager-NetworkManagerDbus.o] Error 1
make[2]: Leaving directory `/home/allen/Desktop/nm6/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/allen/Desktop/nm6/src'
make: *** [install-recursive] Error 1
Thax:/home/allen/Desktop/nm6# make
make  all-recursive
make[1]: Entering directory `/home/allen/Desktop/nm6'
Making all in utils
make[2]: Entering directory `/home/allen/Desktop/nm6/utils'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/allen/Desktop/nm6/utils'
Making all in libnm-util
make[2]: Entering directory
`/home/allen/Desktop/nm6/libnm-util'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/allen/Desktop/nm6/libnm-util'
Making all in src
make[2]: Entering directory `/home/allen/Desktop/nm6/src'
Making all in named-manager
make[3]: Entering directory
`/home/allen/Desktop/nm6/src/named-manager'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/allen/Desktop/nm6/src/named-manager'
Making all in vpn-manager
make[3]: Entering directory
`/home/allen/Desktop/nm6/src/vpn-manager'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/allen/Desktop/nm6/src/vpn-manager'
Making all in dhcp-manager
make[3]: Entering directory
`/home/allen/Desktop/nm6/src/dhcp-manager'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/allen/Desktop/nm6/src/dhcp-manager'
Making all in backends
make[3]: Entering directory
`/home/allen/Desktop/nm6/src/backends'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/allen/Desktop/nm6/src/backends'
make[3]: Entering directory `/home/allen/Desktop/nm6/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include
-I../src/named-manager -I../src/vpn-manager
-I../src/dhcp-manager -I../utils -I../libnm-util
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-DDBUS_VERSION_MAJOR=1 -DDBUS_VERSION_MINOR=0
-DDBUS_VERSION_MICRO=2 -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include  -DDBUS_API_SUBJECT_TO_CHANGE
-I/usr/include/hal -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include   
-DWPA_SUPPLICANT_BIN=\"/sbin/wpa_supplicant\"
-DDBUS_API_SUBJECT_TO_CHANGE -DG_DISABLE_DEPRECATED
-DBINDIR=\"/usr/local/bin\"
-DSBINDIR=\"/usr/local/sbin\"
-DLIBEXECDIR=\"/usr/local/libexec\"
-DDATADIR=\"/usr/local/share\"
-DSYSCONFDIR=\"/usr/local/etc\"
-DLOCALSTATEDIR=\"/usr/local/var\"
-DNM_RUN_DIR=\"/usr/local/var/run/NetworkManager\"
-DARP_DEBUG  -g -O2 -MT NetworkManager-NetworkManagerDbus.o
-MD -MP -MF ".deps/NetworkManager-NetworkManagerDbus.Tpo" -c
-o NetworkManager-NetworkManagerDbus.o `test -f
'NetworkManagerDbus.c' || echo './'`NetworkManagerDbus.c; \
        then mv -f
".deps/NetworkManager-NetworkManagerDbus.Tpo"
".deps/NetworkManager-NetworkManagerDbus.Po"; else rm -f
".deps/NetworkManager-NetworkManagerDbus.Tpo"; exit 1; fi
NetworkManagerDbus.c: In function ‘nm_dbus_init’:
NetworkManagerDbus.c:841: error:
‘DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT’ undeclared (first
use in this function)
NetworkManagerDbus.c:841: error: (Each undeclared identifier
is reported only once
NetworkManagerDbus.c:841: error: for each function it
appears in.)
make[3]: *** [NetworkManager-NetworkManagerDbus.o] Error 1
make[3]: Leaving directory `/home/allen/Desktop/nm6/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/allen/Desktop/nm6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/allen/Desktop/nm6'
make: *** [all] Error 2


farslayer 06-27-2007 03:52 PM

and what was wrong with simply using the pre-compiled packages from the Debian repository ? I mean that IS the Number ONE reason most people use Debian to begin with..

aptitude update
aptitude install network-manager network-manager-gnome


Is there a particular reason you are trying to compile this from source ?

Debian Wiki: Getting Software Into the System

Debian Wiki: Aptitude package manager

Iyeck 06-27-2007 05:08 PM

Quote:

Originally Posted by farslayer
and what was wrong with simply using the pre-compiled packages from the Debian repository ? I mean that IS the Number ONE reason most people use Debian to begin with..

aptitude update
aptitude install network-manager network-manager-gnome


Is there a particular reason you are trying to compile this from source ?

Debian Wiki: Getting Software Into the System

Debian Wiki: Aptitude package manager

Yea I know but I wanted to simply tinker around with Debian to get a firmer grip of some stuff, that's all.


All times are GMT -5. The time now is 04:09 AM.