Re: feedback on attempting to build network-manager from Subversion



On Tue, 2007-03-13 at 21:25 -0400, Mark Stosberg wrote:
> Mark Stosberg wrote:
> > I tried to build NetworkManager from SVN tonight, to see if the latest
> > version fixed this bug already:
> > 
> > http://bugzilla.gnome.org/show_bug.cgi?id=418065
> > 
> >>From this ChangeLog entry, it appears that might be fixed:
> > 
> > ##########
> >  * src/nm-device-802-11-wireless.c: Fix wireless device scanning
> > scheduler.	The new algorithm is to start from SCAN_INTERVAL_MIN
> > (currently defined as 0)	and add a SCAN_INTERVAL_STEP (currently 20
> > seconds) with each successful scan	until SCAN_INTERVAL_MAX (currently
> > 120 seconds) is reached. Do not scan while	the device is down,
> > activating, or activated (in case of A/B/G cards).Remove some old dead
> > ifdef'ed out code that used to configure wireless devices, it's all done
> > through supplicant now.
> > ##############
> > 
> > However, I ran into some barriers trying to install the latest version.
> > First, the website refers to CVS, when the latest code is in Subversion now:
> > 
> > http://www.gnome.org/projects/NetworkManager/developers/
> > 
> > For me, the experience on Ubuntu when more like this instead:
> > 
> > sudo apt-get install subversion gnome-common checkinstall
> > svn checkout http://svn.gnome.org/svn/NetworkManager/trunk NetworkManager
> > 
> > ( Checkinstall would have been useful for creating a package of the CVS
> > version, but I didn't actually get that far ).
> > 
> > It seems "gnome-common" isn't all that a vanilla system needs to compile
> > this. I also get these failures from the autogen script on Ubuntu Edgy:
> > 
> > checking for glib-gettext >= 2.2.0...
> >   testing glib-gettextize...
> > not found.
> > ***Error***: You must have glib-gettext >= 2.2.0 installed
> >   to build NetworkManager.  Download the appropriate package for
> >   from your distribution or get the source tarball at
> >     ftp://ftp.gtk.org/pub/gtk/v2.2/glib-2.2.0.tar.gz
> > 
> > Checking for forbidden M4 macros...
> > ***Error***: some autoconf macros required to build NetworkManager
> >   were not found in your aclocal path, or some forbidden
> >   macros were found.  Perhaps you need to adjust your
> >   ACLOCAL_FLAGS?
> > 
> > 
> > #############
> > 
> > If someone knows the extra steps missing, it would be nice to update the
> > website to reflect them.
> 
> I got a little further on this by installing some additional packages
> mentioned here:
> 
> http://www.ubuntuforums.org/showthread.php?t=125150
> 
> However, this ultimately failed on Ubuntu Edgy, too.
> 
> The reason is that dbus-glib is not new enough on Edgy:
> 
> #####
> Requested 'dbus-glib-1 >= 0.72' but version of dbus-glib is 0.71
> #####
> 
> I tried manually installing the 0.73 version of that package from
> Feisty, but it in turn had other dependencies:
> 
> dpkg: dependency problems prevent configuration of libdbus-glib-1-2:
>  libdbus-glib-1-2 depends on libc6 (>= 2.5-0ubuntu1); however:
>   Version of libc6 on system is 2.4-1ubuntu12.3.
>  libdbus-glib-1-2 depends on libdbus-1-3 (>= 0.94); however:
>   Version of libdbus-1-3 on system is 0.93-0ubuntu3.1.
>  libdbus-glib-1-2 depends on libglib2.0-0 (>= 2.12.9); however:
>   Version of libglib2.0-0 on system is 2.12.4-0ubuntu1.
> 
> #############
> 
> And at that point.... I gave up again, since I'm comfortable with
> upgrading much of my system to Feisty at this point.

Yeah, SVN trunk is a bit rocky at this point, though it should more or
less work.  Tambet is working on rewriting large parts of the applet to
use the new D-Bus API too, and there are probably rough edges in most
places.  Next up is the config D-Bus API, followed by multiple active
device support and then we're pretty much done for 0.7.

Dan





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