Re: Problem in Compiling Network Manager source code



On Thu, 2013-04-04 at 01:37 +0600, Malintha Adikari wrote:
Hi,

I am in the middle of the compiling the NM source code. It has several dependencies. When I execute the 
command

./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var

it gives the following error

checking for DBUS... no
configure: error: Package requirements (dbus-1 >= 1.1 dbus-glib-1 >= 0.94) were not met:

No package 'dbus-1' found
No package 'dbus-glib-1' found


I assume that I have to downgrade the DBUS. I tried to it and not succeeded.

No, this just means you don't have the necessary development header
files to build NetworkManager.  In Fedora, packages are split up between
their runtime libraries and programs (eg, dbus) and their development
header files/libraries/documentation (eg, dbus-devel) because normal
users don't need the development stuff.  So you'll find that you need to
install a bunch of different packages for NetworkManager to build.  So
something like:

yum install dbus-devel dbus-glib-devel wireless-tools-devel glib2-devel
gobject-introspection-devel gettext-devel /usr/bin/autopoint pkgconfig
wpa_supplicant libnl3-devel perl-XML-Parser automake autoconf intltool
libtool ppp ppp-devel nss-devel polkit-devel dhclient gtk-doc
libudev-devel libuuid-devel libgudev1-devel vala-tools iptables
systemd-devel 

will get you pretty close.

Dan

How can I solve this problem. 

Thanks,
Malintha Adikari 

From: malintha adikari hotmail com
To: dcbw redhat com
Subject: RE: Problem in Compiling Network Manager source code
Date: Thu, 4 Apr 2013 00:26:02 +0600




Hi,

Thank you Dan for your prompt reply. it solve my problem.

Thanks,
Malintha Adikari

Subject: Re: Problem in Compiling Network Manager source code
From: dcbw redhat com
To: malintha adikari hotmail com
CC: networkmanager-list gnome org
Date: Wed, 3 Apr 2013 13:22:06 -0500

On Wed, 2013-04-03 at 23:34 +0600, Malintha Adikari wrote:
Hi,

I am trying to checkout and compile NM source code in Fedora 18. execute following command in terminal

git clone git://anongit.freedesktop.org/NetworkManager/NetworkManager.git

          cd NetworkManager


But when I execute following command

          ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var

It gives following error

You'll need the gtk-doc package installed.  That doesn't install GTK+
though, just the scripts needed to build documentation.

Dan

./autogen.sh: line 17: gtkdocize: command not found
./autogen.sh: line 23: ./configure: No such file or directory

Then I tried to installed gtk+dev using following

yum install 'gtk+-devel'

But it still gives same error. What is the solution for this ?

Thanks & Regards,
Malintha Adikari
                                    
_______________________________________________
networkmanager-list mailing list
networkmanager-list gnome org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


                                                                                
_______________________________________________
networkmanager-list mailing list
networkmanager-list gnome org
https://mail.gnome.org/mailman/listinfo/networkmanager-list




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