Seems to be broken in the current SVN: [...] x86_64-linux-gnu-gcc -I../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DINET6 -O2 -D_REENTRANT -DNETSNMP_USE_INLINE -Wall -Dlinux -I. -I/usr/include -O2 -Wall -Wsign-compare -s -o energizerups energizerups.o ../common/upsconf.o ../common/parseconf.o ../common/state.o main.o dstate.o ../common/libcommon.a x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DINET6 -O2 -D_REENTRANT -DNETSNMP_USE_INLINE -Wall -Dlinux -I. -I/usr/include -O2 -Wall -Wsign-compare -s -MT main-hal.o -MD -MP -MF .deps/main-hal.Tpo -c -o main-hal.o main-hal.c In file included from main-hal.c:23: dstate-hal.h:28:18: error: glib.h: No such file or directory dstate-hal.h:29:28: error: dbus/dbus-glib.h: No such file or directory dstate-hal.h:30:37: error: dbus/dbus-glib-lowlevel.h: No such file or directory In file included from main-hal.c:23: dstate-hal.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dbus_init_local' main-hal.c:507:2: warning: "/*" within comment main-hal.c: In function 'main': main-hal.c:465: warning: unused variable 'do_forceshutdown' main-hal.c:465: warning: unused variable 'i' main-hal.c:463: warning: unused variable 'dbus_connection' make[2]: *** [main-hal.o] Error 1 make[2]: Leaving directory `/home/dbely/nut-svn/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/dbely/nut-svn' make: *** [build-stamp] Error 2 Does anybody care? - Dmitry Bely
Hi Dmitry, Den Thursday 24 May 2007 21.51.20 skrev Dmitry Bely:> Seems to be broken in the current SVN: >Nop, the build-bot indicate that it is OK. 8<-----------------snip-------------------> [...] > x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include > -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal > -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DINET6 -O2 > -D_REENTRANT -DNETSNMP_USE_INLINE -Wall -Dlinux -I. -I/usr/include -O2 > -Wall -Wsign-compare -s -MT main-hal.o -MD -MP -MF .deps/main-hal.Tpo > -c -o main-hal.o main-hal.c > In file included from main-hal.c:23: > dstate-hal.h:28:18: error: glib.h: No such file or directory > dstate-hal.h:29:28: error: dbus/dbus-glib.h: No such file or directory > dstate-hal.h:30:37: error: dbus/dbus-glib-lowlevel.h: No such file or > directory In file included from main-hal.c:23: > > Does anybody care? >Yes we care. You compile with hal support. Do you have the development libs for dbus an hal installed? Try to 'configure --without-hal' and try to build. If it build, it may be that you are missing something or that the hal part is not building on a x86_64. Regards Kjell
On 5/24/07, Dmitry Bely <dmitry.bely at gmail.com> wrote:> Seems to be broken in the current SVN:Fixed in r917: http://boxster.ghz.cc/projects/nut/changeset/917 Please let the list know if there are any other packages required besides those listed in the control file (newly added: libdbus-1-dev, libdbus-glib-1-dev, libglib2.0-dev). -- - Charles Lepple
2007/5/25, Charles Lepple <clepple at gmail.com>:> On 5/24/07, Dmitry Bely <dmitry.bely at gmail.com> wrote: > > Seems to be broken in the current SVN: > > Fixed in r917: > > http://boxster.ghz.cc/projects/nut/changeset/917 > > Please let the list know if there are any other packages required > besides those listed in the control file (newly added: libdbus-1-dev, > libdbus-glib-1-dev, libglib2.0-dev).thanks for your action Charles. these are the only deps needed, and are required as a workaround for the DBus method in the HAL support (ie the link between NUT instant commands / var. settings and HAL actions). in fact, libhal-dev should require these and hal pkg-config should export these too. I still have to bug HAL and Debian though... Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ OpenSource Developer - http://arnaud.quette.free.fr/
On 5/25/07, Charles Lepple <clepple at gmail.com> wrote:> > Seems to be broken in the current SVN: > > Fixed in r917: > > http://boxster.ghz.cc/projects/nut/changeset/917 > > Please let the list know if there are any other packages required > besides those listed in the control file (newly added: libdbus-1-dev, > libdbus-glib-1-dev, libglib2.0-dev).For me that seems to be quite enough (although I tried to find necessary dependencies and installed some -dev libraries in the meantime). Not it builds, thank you. - Dmitry Bely
There is another (minor) problem with nut-usb Debian package: to make megatec_usb recognize my UPS I have to manually restart udev: /etc/init.d/udev restart I think this should be at least mentioned in the docs. - Dmitry Bely
On 5/29/07, Charles Lepple <clepple at gmail.com> wrote:> On 5/28/07, Dmitry Bely <dmitry.bely at gmail.com> wrote: > > checking sys/time.h presence... yes > > checking for sys/time.h... yes > > ./configure: line 5464: NUT_TYPE_SOCKLEN_T: command not found > > ./configure: line 5465: NUT_TYPE_UINT16_T: command not found > > ./configure: line 5466: NUT_TYPE_UINT8_T: command not found > > Which version of automake are you using?dbely at vserver1:~$ dpkg -l autoconf automake Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-===================-===================-=====================================================ii autoconf 2.61-3 automatic configure script builder ii automake 1.10+nogfdl-1 A tool for generating GNU Standards-compliant Makefile - Dmitry Bely