GNOME Bugzilla – Bug 500097
revision 369 Build error in NetworkManager-0.7.0-0.7.svn3030
Last modified: 2008-05-05 19:00:06 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
*** Bug 500693 has been marked as a duplicate of this bug. ***
Created attachment 103182 [details] [review] Patch to work with NM 0.7 If you could test this patch that would be appreciated.
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.
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).
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]$ --------------------------------------------__
rpm -q NetworkManager-glib-devel you should see 0.7.0. if you have nothing, then your message here shouldn't appear.
Patch checked into svn and updated to latest NM 0.7 codebase.