Re: Network-Manager applet r953 fails to compile.



On Tue, 2008-10-21 at 09:24 -0400, Dan Williams wrote:
> On Tue, 2008-10-21 at 15:04 +0530, Pramod Dematagoda wrote:
> > On Mon, 2008-10-20 at 13:07 -0400, Dan Williams wrote: 
> > > On Sat, 2008-10-18 at 19:13 +0530, Pramod Dematagoda wrote:
> > > > I've just pulled r953 of network-manager-applet, however when I try to
> > > > compile it I get the following errors from make:-
> > > > 
> > > > gconf-helpers.c: In function 'write_one_secret_to_keyring':
> > > > gconf-helpers.c:1254: error: 'NM_SETTING_VPN_SECRETS' undeclared (first
> > > > use in this function)
> > > > gconf-helpers.c:1254: error: (Each undeclared identifier is reported
> > > > only once
> > > > gconf-helpers.c:1254: error: for each function it appears in.)
> > > > make[3]: *** [libgconf_helpers_la-gconf-helpers.lo] Error 1
> > > > make[2]: *** [all-recursive] Error 1
> > > > make[1]: *** [all-recursive] Error 1
> > > > make: *** [all] Error 2
> > > > 
> > > > Is this something wrong with nm-applet itself or is there something I'm
> > > > doing wrong here? This is on a Fedora 9 PC.
> > > 
> > > What version of NetworkManager are you using?  You'll generally have to
> > > build latest NetworkManager along with the applet.  I bet you've got
> > > svn4022.4 installed and you're trying to build trunk applet, which isn't
> > > going to work...
> > > 
> > > Dan
> > > 
> > > 
> > Whoops, you are right, I only have the version of NM that comes with
> > Fedora, although I didn't know that the NM-Core and the NM-Applet were
> > so tied with each other. But now I tried compiling the latest SVN
> > NM-Core, and now I get this slight headache while running make:-
> > 
> > nm-connection.c:27:28: error: dbus/dbus-glib.h: No such file or
> > directory
> > 
> > I have installed the required version of dbus-glib and the path in
> > Makefile.in states:-
> > DBUS_CFLAGS = /usr/local/include/dbus-1.0/dbus/ -DDBUS_VERSION_MAJOR=1
> > -DDBUS_VERSION_MINOR=2 -DDBUS_VERSION_MICRO=4
> > 
> > which I verified contains the DBUS header files.
> 
> You also need to 'yum install dbus-glib-devel'.
> 
> Dan
> 
> 
But that doesn't really work does it since the configure script is
looking for dbus-glib => 0.75 whereas the version in Fedora 9 is 0.74.
Now the thing is that I installed version 0.76 of dbus-glib manually
into /usr/local, I pointed the DBUS_LIBS and DBUS_CFLAGS variables to
the appropriate areas and that got the configure script happy, but it
seems like the Makefile doesn't get it.

Am I just doing this compile really wrong or something?

Regards,
Pramod Dematagoda



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