After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 500097 - revision 369 Build error in NetworkManager-0.7.0-0.7.svn3030
revision 369 Build error in NetworkManager-0.7.0-0.7.svn3030
Status: RESOLVED FIXED
Product: gnome-main-menu
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME main menu maintainers
GNOME main menu maintainers
: 500693 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-11-28 01:06 UTC by sangu
Modified: 2008-05-05 19:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to work with NM 0.7 (12.29 KB, patch)
2008-01-19 02:38 UTC, Scott Reeves
none Details | Review

Description sangu 2007-11-28 01:06:32 UTC
$ svn checkout http://svn.gnome.org/svn/gnome-main-menu/trunk gnome-main-menu
Checked out revision 369.
$ cd gnome-main-menu
$ ./autogen.sh
$ make
[...]
s-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/NetworkManager -I/usr/include/hal   -I../../libslab -Wall -Wmissing-prototypes  -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DDATADIR=\""/usr/local/share"\" -DGNOMELOCALEDIR=\""/usr/local/share/locale"\"   -g -O2 -MT network-status-agent.o -MD -MP -MF .deps/network-status-agent.Tpo -c -o network-status-agent.o network-status-agent.c
network-status-agent.c: In function 'init_nm_connection':
network-status-agent.c:157: error: 'NM_DBUS_SIGNAL_STATE_CHANGE' undeclared (first use in this function)
network-status-agent.c:157: error: (Each undeclared identifier is reported only once
network-status-agent.c:157: error: for each function it appears in.)
network-status-agent.c: In function 'nm_get_device_info':
network-status-agent.c:251: error: 'NM_DBUS_INTERFACE_DEVICES' undeclared (first use in this function)
make[2]: *** [network-status-agent.o] Error 1
make[2]: Leaving directory `/home/sangu/Work/SVN/gnome-main-menu/main-menu/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sangu/Work/SVN/gnome-main-menu'
make: *** [all] Error 2

OS: Fedora rawhide 20071128
NetworkManager-gnome-0.7.0-0.7.svn3030.fc9
NetworkManager-glib-devel-0.7.0-0.7.svn3030.fc9
NetworkManager-0.7.0-0.7.svn3030.fc9
NetworkManager-devel-0.7.0-0.7.svn3030.fc9
NetworkManager-glib-0.7.0-0.7.svn3030.fc9
Comment 1 Scott Reeves 2008-01-19 01:06:34 UTC
*** Bug 500693 has been marked as a duplicate of this bug. ***
Comment 2 Scott Reeves 2008-01-19 02:38:27 UTC
Created attachment 103182 [details] [review]
Patch to work with NM 0.7

If you could test this patch that would be appreciated.
Comment 3 Jakub 'Livio' Rusinek 2008-01-19 11:45:33 UTC
I have g-m-m ready for packaging, I had patches to remove NM dependency.
Now rpmbuild builds g-m-m to test if this patch works.
Comment 4 Jakub 'Livio' Rusinek 2008-01-19 12:18:42 UTC
NM builds with success and works well (I don't use NM for now, so I see "no network", but it indicates, that it works).
Comment 5 Anshuman 2008-04-09 14:24:46 UTC
SVN download:-

--------------------------------------------__
A    gnome-main-menu/po/bg.po
A    gnome-main-menu/po/oc.po
 U   gnome-main-menu
Checked out revision 443.
[sysmin@Fedora8 ~]$
--------------------------------------------__


Teh error on .autogen

--------------------------------------------__
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for intltool >= 0.35.0... 0.36.2 found
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.8.0... yes (version 2.14.6)
checking for GLADE... yes
checking for LIBSLAB... yes
checking for MAIN_MENU... configure: error: Package requirements ( glib-2.0 gobject-2.0 gtk+-2.0 gdk-2.0 libpanelapplet-2.0 gnome-desktop-2.0 gconf-2.0 libgtop-2.0 libgnome-2.0 libgnomeui-2.0 dbus-glib-1 NetworkManager libnm_glib >= 0.7.0 hal-storage cairo ) were not met:

No package 'libnm_glib' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables MAIN_MENU_CFLAGS
and MAIN_MENU_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

[sysmin@Fedora8 gnome-main-menu]$

--------------------------------------------__
Comment 6 Jakub 'Livio' Rusinek 2008-04-09 14:41:23 UTC
rpm -q NetworkManager-glib-devel

you should see 0.7.0. if you have nothing, then your message here shouldn't appear.
Comment 7 Scott Reeves 2008-05-05 19:00:06 UTC
Patch checked into svn and updated to latest NM 0.7 codebase.