NetworkManager-0.4-3.cvs20050315.3.0 Build Errors

John (J5) Palmieri johnp at redhat.com
Fri Mar 18 18:34:46 UTC 2005


On Fri, 2005-03-18 at 13:27 -0500, David Cary Hart wrote:
> On Fri, 2005-03-18 at 13:24 -0500, John (J5) Palmieri wrote:
> > On Fri, 2005-03-18 at 12:34 -0500, David Cary Hart wrote:
> > > I selected FC3 in the spec and have tried repeatedly to compile. Same
> > > error when compiling from source.
> > > 
> > > NetworkManagerDbus.c:992: error: `DBUS_INTERFACE_DBUS' undeclared (first
> > > use in this function)
> > > NetworkManagerDbus.c:992: error: (Each undeclared identifier is reported
> > > only once
> > > NetworkManagerDbus.c:992: error: for each function it appears in.)
> > > NetworkManagerDbus.c: In function `nm_dbus_init':
> > > NetworkManagerDbus.c:1220: error: syntax error before
> > > "DBUS_INTERFACE_DBUS"
> > > NetworkManagerDbus.c:1225: warning: implicit declaration of function
> > > `dbus_bus_request_name'
> > > make[2]: *** [NetworkManager-NetworkManagerDbus.o] Error 1
> > > make[2]: Leaving directory
> > > `/usr/src/redhat/BUILD/NetworkManager-0.4/src'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/usr/src/redhat/BUILD/NetworkManager-0.4'
> > > make: *** [all] Error 2
> > > error: Bad exit status from /var/tmp/rpm-tmp.91237 (%build)
> > > 
> > 
> > Do you have the latest D-BUS devel packages installed?  You should have
> > 0.31.
> 
> No. 
> 
> %define build_fc3			1
> %define build_rhel4			0
> %define build_fc4			0
> 
> %if %{build_fc3}
> %define dbus_version	0.22
> %endif

Ah, NetworkManager has been forked to allow for the migration to the new
D-Bus and HAL APIs.  The logic for selecting distributions should have
been cleaned out of the RPM.  They were mainly there to deal with the
minor API changes that dbus-0.23 introduced.  0.31 was such a huge
change that we needed to fork.

-- 
John (J5) Palmieri
Associate Software Engineer
Desktop Group
Red Hat, Inc.
Blog: http://martianrock.com




More information about the fedora-devel-list mailing list