[Nut-upsdev] Sweex 1000VA UPS (Lakeview Research)
Tom Cassimon
tom at cassimon.mine.nu
Sun Dec 28 15:28:43 UTC 2008
Hi,
I've tried the newest version from the trunk, compiled it, installed it. And
using the richcomm_usb driver with my Sweex 1000VA UPS works perfect.
I've pulled the plug and waited for it to reach the LB state. It shuts down
correctly and powers back on when the power is back.
My config.log:
======================================================================
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by nut configure 2.4.0-pre1, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure --with-user=ups --with-group=ups --prefix=/ups
## --------- ##
## Platform. ##
## --------- ##
hostname = server
uname -m = i686
uname -r = 2.6.27.7-smp
uname -s = Linux
uname -v = #1 SMP Thu Nov 20 22:18:02 CST 2008
/usr/bin/uname -p = Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/games
PATH: /usr/lib/java/bin
PATH: /usr/lib/java/jre/bin
PATH: /usr/lib/qt/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2220: checking build system type
configure:2238: result: i686-pc-linux-gnu
configure:2260: checking host system type
configure:2275: result: i686-pc-linux-gnu
configure:2297: checking target system type
configure:2312: result: i686-pc-linux-gnu
configure:2436: checking for host system name
configure:2474: result:
configure:2496: checking for a BSD-compatible install
configure:2564: result: /usr/bin/ginstall -c
configure:2575: checking whether build environment is sane
configure:2618: result: yes
configure:2643: checking for a thread-safe mkdir -p
configure:2682: result: /usr/bin/mkdir -p
configure:2695: checking for gawk
configure:2711: found /usr/bin/gawk
configure:2722: result: gawk
configure:2733: checking whether make sets $(MAKE)
configure:2755: result: yes
configure:2940: checking whether to enable maintainer-specific portions of
Makefiles
configure:2949: result: no
configure:3041: checking for gcc
configure:3057: found /usr/bin/gcc
configure:3068: result: gcc
configure:3300: checking for C compiler version
configure:3308: gcc --version >&5
gcc (GCC) 4.2.4
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3312: $? = 0
configure:3319: gcc -v >&5
Reading specs from /usr/lib/gcc/i486-slackware-linux/4.2.4/specs
Target: i486-slackware-linux
Configured with: ../gcc-4.2.4/configure --prefix=/usr --enable-shared
--enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix
--enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose
--with-arch=i486 --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 4.2.4
configure:3323: $? = 0
configure:3330: gcc -V >&5
gcc: '-V' option must have argument
configure:3334: $? = 1
configure:3357: checking for C compiler default output file name
configure:3379: gcc -O conftest.c >&5
configure:3383: $? = 0
configure:3421: result: a.out
configure:3440: checking whether the C compiler works
configure:3450: ./a.out
configure:3454: $? = 0
configure:3473: result: yes
configure:3480: checking whether we are cross compiling
configure:3482: result: no
configure:3485: checking for suffix of executables
configure:3492: gcc -o conftest -O conftest.c >&5
configure:3496: $? = 0
configure:3522: result:
configure:3528: checking for suffix of object files
configure:3554: gcc -c -O conftest.c >&5
configure:3558: $? = 0
configure:3583: result: o
configure:3587: checking whether we are using the GNU C compiler
configure:3616: gcc -c -O conftest.c >&5
configure:3623: $? = 0
configure:3640: result: yes
configure:3649: checking whether gcc accepts -g
configure:3679: gcc -c -g conftest.c >&5
configure:3686: $? = 0
configure:3787: result: yes
configure:3804: checking for gcc option to accept ISO C89
configure:3878: gcc -c -O conftest.c >&5
configure:3885: $? = 0
configure:3908: result: none needed
configure:3937: checking for style of include used by make
configure:3965: result: GNU
configure:3990: checking dependency style of gcc
configure:4081: result: gcc3
configure:4097: checking whether gcc and cc understand -c and -o together
configure:4132: gcc -c conftest.c -o conftest2.o >&5
configure:4136: $? = 0
configure:4142: gcc -c conftest.c -o conftest2.o >&5
configure:4146: $? = 0
configure:4157: cc -c conftest.c >&5
configure:4161: $? = 0
configure:4169: cc -c conftest.c -o conftest2.o >&5
configure:4173: $? = 0
configure:4179: cc -c conftest.c -o conftest2.o >&5
configure:4183: $? = 0
configure:4201: result: yes
configure:4232: checking how to run the C preprocessor
configure:4272: gcc -E conftest.c
configure:4279: $? = 0
configure:4310: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4317: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4350: result: gcc -E
configure:4379: gcc -E conftest.c
configure:4386: $? = 0
configure:4417: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4424: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4477: checking for a BSD-compatible install
configure:4545: result: /usr/bin/ginstall -c
configure:4556: checking for grep that handles long lines and -e
configure:4616: result: /usr/bin/grep
configure:4621: checking for egrep
configure:4685: result: /usr/bin/grep -E
configure:4692: checking for ar
configure:4710: found /usr/bin/ar
configure:4722: result: /usr/bin/ar
configure:4773: checking for ranlib
configure:4789: found /usr/bin/ranlib
configure:4800: result: ranlib
configure:4823: checking for inline
configure:4849: gcc -c -O conftest.c >&5
configure:4856: $? = 0
configure:4874: result: inline
configure:4900: checking for flock
configure:4956: gcc -o conftest -O conftest.c >&5
configure:4963: $? = 0
configure:4985: result: yes
configure:4900: checking for lockf
configure:4956: gcc -o conftest -O conftest.c >&5
configure:4963: $? = 0
configure:4985: result: yes
configure:4900: checking for fcvt
configure:4956: gcc -o conftest -O conftest.c >&5
configure:4963: $? = 0
configure:4985: result: yes
configure:4900: checking for fcvtl
configure:4956: gcc -o conftest -O conftest.c >&5
/tmp/ccSyp8JT.o: In function `main':
conftest.c:(.text+0x12): undefined reference to `fcvtl'
collect2: ld returned 1 exit status
configure:4963: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| #define HAVE_FLOCK 1
| #define HAVE_LOCKF 1
| #define HAVE_FCVT 1
| /* end confdefs.h. */
| /* Define fcvtl to an innocuous variant, in case <limits.h> declares
fcvtl.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define fcvtl innocuous_fcvtl
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char fcvtl (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef fcvtl
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char fcvtl ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_fcvtl || defined __stub___fcvtl
| choke me
| #endif
|
| int
| main ()
| {
| return fcvtl ();
| ;
| return 0;
| }
configure:4985: result: no
configure:5002: checking for cfsetispeed
configure:5058: gcc -o conftest -O conftest.c >&5
configure:5065: $? = 0
configure:5087: result: yes
configure:5002: checking for tcsendbreak
configure:5058: gcc -o conftest -O conftest.c >&5
configure:5065: $? = 0
configure:5087: result: yes
configure:5105: checking for seteuid
configure:5161: gcc -o conftest -O conftest.c >&5
configure:5168: $? = 0
configure:5190: result: yes
configure:5105: checking for setsid
configure:5161: gcc -o conftest -O conftest.c >&5
configure:5168: $? = 0
configure:5190: result: yes
configure:5105: checking for getpassphrase
configure:5161: gcc -o conftest -O conftest.c >&5
/tmp/cc826opx.o: In function `main':
conftest.c:(.text+0x12): undefined reference to `getpassphrase'
collect2: ld returned 1 exit status
configure:5168: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| #define HAVE_FLOCK 1
| #define HAVE_LOCKF 1
| #define HAVE_FCVT 1
| #define HAVE_CFSETISPEED 1
| #define HAVE_TCSENDBREAK 1
| #define HAVE_SETEUID 1
| #define HAVE_SETSID 1
| /* end confdefs.h. */
| /* Define getpassphrase to an innocuous variant, in case <limits.h>
declares getpassphrase.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define getpassphrase innocuous_getpassphrase
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char getpassphrase (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef getpassphrase
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char getpassphrase ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_getpassphrase || defined __stub___getpassphrase
| choke me
| #endif
|
| int
| main ()
| {
| return getpassphrase ();
| ;
| return 0;
| }
configure:5190: result: no
configure:5206: checking for on_exit
configure:5262: gcc -o conftest -O conftest.c >&5
configure:5269: $? = 0
configure:5291: result: yes
configure:5309: checking for vsnprintf
configure:5365: gcc -o conftest -O conftest.c >&5
conftest.c:41: warning: conflicting types for built-in function 'vsnprintf'
configure:5372: $? = 0
configure:5394: result: yes
configure:5309: checking for snprintf
configure:5365: gcc -o conftest -O conftest.c >&5
conftest.c:42: warning: conflicting types for built-in function 'snprintf'
configure:5372: $? = 0
configure:5394: result: yes
configure:5421: checking for setenv
configure:5477: gcc -o conftest -O conftest.c >&5
configure:5484: $? = 0
configure:5506: result: yes
configure:5421: checking for inet_aton
configure:5477: gcc -o conftest -O conftest.c >&5
configure:5484: $? = 0
configure:5506: result: yes
configure:5421: checking for strerror
configure:5477: gcc -o conftest -O conftest.c >&5
configure:5484: $? = 0
configure:5506: result: yes
configure:5421: checking for atexit
configure:5477: gcc -o conftest -O conftest.c >&5
configure:5484: $? = 0
configure:5506: result: yes
configure:5533: checking for ANSI C header files
configure:5563: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:5570: $? = 0
configure:5669: gcc -o conftest -O -Wall -Wsign-compare conftest.c >&5
configure:5673: $? = 0
configure:5679: ./conftest
configure:5683: $? = 0
configure:5701: result: yes
configure:5725: checking for sys/types.h
configure:5746: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:5753: $? = 0
configure:5770: result: yes
configure:5725: checking for sys/stat.h
configure:5746: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:5753: $? = 0
configure:5770: result: yes
configure:5725: checking for stdlib.h
configure:5746: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:5753: $? = 0
configure:5770: result: yes
configure:5725: checking for string.h
configure:5746: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:5753: $? = 0
configure:5770: result: yes
configure:5725: checking for memory.h
configure:5746: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:5753: $? = 0
configure:5770: result: yes
configure:5725: checking for strings.h
configure:5746: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:5753: $? = 0
configure:5770: result: yes
configure:5725: checking for inttypes.h
configure:5746: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:5753: $? = 0
configure:5770: result: yes
configure:5725: checking for stdint.h
configure:5746: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:5753: $? = 0
configure:5770: result: yes
configure:5725: checking for unistd.h
configure:5746: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:5753: $? = 0
configure:5770: result: yes
configure:5785: checking whether byte ordering is bigendian
configure:5810: gcc -c -O -Wall -Wsign-compare conftest.c >&5
conftest.c:35: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'a'
configure:5817: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| #define HAVE_FLOCK 1
| #define HAVE_LOCKF 1
| #define HAVE_FCVT 1
| #define HAVE_CFSETISPEED 1
| #define HAVE_TCSENDBREAK 1
| #define HAVE_SETEUID 1
| #define HAVE_SETSID 1
| #define HAVE_ON_EXIT 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_SETENV 1
| #define HAVE_INET_ATON 1
| #define HAVE_STRERROR 1
| #define HAVE_ATEXIT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #ifndef __APPLE_CC__
| not a universal capable compiler
| #endif
| typedef int dummy;
|
configure:5867: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:5874: $? = 0
configure:5906: gcc -c -O -Wall -Wsign-compare conftest.c >&5
conftest.c: In function 'main':
conftest.c:41: error: 'not' undeclared (first use in this function)
conftest.c:41: error: (Each undeclared identifier is reported only once
conftest.c:41: error: for each function it appears in.)
conftest.c:41: error: expected ';' before 'big'
configure:5913: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| #define HAVE_FLOCK 1
| #define HAVE_LOCKF 1
| #define HAVE_FCVT 1
| #define HAVE_CFSETISPEED 1
| #define HAVE_TCSENDBREAK 1
| #define HAVE_SETEUID 1
| #define HAVE_SETSID 1
| #define HAVE_ON_EXIT 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_SETENV 1
| #define HAVE_INET_ATON 1
| #define HAVE_STRERROR 1
| #define HAVE_ATEXIT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
configure:6165: result: no
configure:6191: checking for getopt declarations
configure:6214: gcc -c -O -Wall -Wsign-compare conftest.c >&5
conftest.c: In function 'main':
conftest.c:38: warning: unused variable 'i'
configure:6221: $? = 0
configure:6236: result: in unistd.h
configure:6393: checking whether to use uu_lock
conftest.c:34:21: error: libutil.h: No such file or directory
configure:6420: result: no
configure:6433: checking for connect
configure:6489: gcc -o conftest -O -Wall -Wsign-compare conftest.c >&5
configure:6496: $? = 0
configure:6518: result: yes
configure:6703: checking sys/modem.h usability
configure:6720: gcc -c -O -Wall -Wsign-compare conftest.c >&5
conftest.c:68:23: error: sys/modem.h: No such file or directory
configure:6727: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| #define HAVE_FLOCK 1
| #define HAVE_LOCKF 1
| #define HAVE_FCVT 1
| #define HAVE_CFSETISPEED 1
| #define HAVE_TCSENDBREAK 1
| #define HAVE_SETEUID 1
| #define HAVE_SETSID 1
| #define HAVE_ON_EXIT 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_SETENV 1
| #define HAVE_INET_ATON 1
| #define HAVE_STRERROR 1
| #define HAVE_ATEXIT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CONNECT 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/modem.h>
configure:6741: result: no
configure:6745: checking sys/modem.h presence
configure:6760: gcc -E conftest.c
conftest.c:35:23: error: sys/modem.h: No such file or directory
configure:6767: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| #define HAVE_FLOCK 1
| #define HAVE_LOCKF 1
| #define HAVE_FCVT 1
| #define HAVE_CFSETISPEED 1
| #define HAVE_TCSENDBREAK 1
| #define HAVE_SETEUID 1
| #define HAVE_SETSID 1
| #define HAVE_ON_EXIT 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_SETENV 1
| #define HAVE_INET_ATON 1
| #define HAVE_STRERROR 1
| #define HAVE_ATEXIT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CONNECT 1
| /* end confdefs.h. */
| #include <sys/modem.h>
configure:6781: result: no
configure:6809: checking for sys/modem.h
configure:6818: result: no
configure:6703: checking stdarg.h usability
configure:6720: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:6727: $? = 0
configure:6741: result: yes
configure:6745: checking stdarg.h presence
configure:6760: gcc -E conftest.c
configure:6767: $? = 0
configure:6781: result: yes
configure:6809: checking for stdarg.h
configure:6818: result: yes
configure:6703: checking varargs.h usability
configure:6720: gcc -c -O -Wall -Wsign-compare conftest.c >&5
In file included from conftest.c:69:
/usr/lib/gcc/i486-slackware-linux/4.2.4/include/varargs.h:4:2: error: #error
"GCC no longer implements <varargs.h>."
/usr/lib/gcc/i486-slackware-linux/4.2.4/include/varargs.h:5:2: error: #error
"Revise your code to use <stdarg.h>."
configure:6727: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| #define HAVE_FLOCK 1
| #define HAVE_LOCKF 1
| #define HAVE_FCVT 1
| #define HAVE_CFSETISPEED 1
| #define HAVE_TCSENDBREAK 1
| #define HAVE_SETEUID 1
| #define HAVE_SETSID 1
| #define HAVE_ON_EXIT 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_SETENV 1
| #define HAVE_INET_ATON 1
| #define HAVE_STRERROR 1
| #define HAVE_ATEXIT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CONNECT 1
| #define HAVE_STDARG_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <varargs.h>
configure:6741: result: no
configure:6745: checking varargs.h presence
configure:6760: gcc -E conftest.c
In file included from conftest.c:36:
/usr/lib/gcc/i486-slackware-linux/4.2.4/include/varargs.h:4:2: error: #error
"GCC no longer implements <varargs.h>."
/usr/lib/gcc/i486-slackware-linux/4.2.4/include/varargs.h:5:2: error: #error
"Revise your code to use <stdarg.h>."
configure:6767: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| #define HAVE_FLOCK 1
| #define HAVE_LOCKF 1
| #define HAVE_FCVT 1
| #define HAVE_CFSETISPEED 1
| #define HAVE_TCSENDBREAK 1
| #define HAVE_SETEUID 1
| #define HAVE_SETSID 1
| #define HAVE_ON_EXIT 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_SETENV 1
| #define HAVE_INET_ATON 1
| #define HAVE_STRERROR 1
| #define HAVE_ATEXIT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CONNECT 1
| #define HAVE_STDARG_H 1
| /* end confdefs.h. */
| #include <varargs.h>
configure:6781: result: no
configure:6809: checking for varargs.h
configure:6818: result: no
configure:6703: checking sys/termios.h usability
configure:6720: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:6727: $? = 0
configure:6741: result: yes
configure:6745: checking sys/termios.h presence
configure:6760: gcc -E conftest.c
configure:6767: $? = 0
configure:6781: result: yes
configure:6809: checking for sys/termios.h
configure:6818: result: yes
configure:6834: checking whether time.h and sys/time.h may both be included
configure:6864: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:6871: $? = 0
configure:6886: result: yes
configure:6912: checking sys/time.h usability
configure:6929: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:6936: $? = 0
configure:6950: result: yes
configure:6954: checking sys/time.h presence
configure:6969: gcc -E conftest.c
configure:6976: $? = 0
configure:6990: result: yes
configure:7018: checking for sys/time.h
configure:7027: result: yes
configure:7044: checking for stdint types
configure:7077: gcc -c conftest.c >&5
configure:7084: $? = 0
configure:7163: result: stdint.h (shortcircuit)
configure:10017: result: make use of stdint.h in include/nut_stdint.h
(assuming C99 compatible system)
configure:10025: checking for socklen_t
configure:10055: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:10062: $? = 0
configure:10091: gcc -c -O -Wall -Wsign-compare conftest.c >&5
conftest.c: In function 'main':
conftest.c:45: error: expected expression before ')' token
configure:10098: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| #define HAVE_FLOCK 1
| #define HAVE_LOCKF 1
| #define HAVE_FCVT 1
| #define HAVE_CFSETISPEED 1
| #define HAVE_TCSENDBREAK 1
| #define HAVE_SETEUID 1
| #define HAVE_SETSID 1
| #define HAVE_ON_EXIT 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_SETENV 1
| #define HAVE_INET_ATON 1
| #define HAVE_STRERROR 1
| #define HAVE_ATEXIT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CONNECT 1
| #define HAVE_STDARG_H 1
| #define HAVE_SYS_TERMIOS_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TIME_H 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/socket.h>
|
| int
| main ()
| {
| if (sizeof ((socklen_t)))
| return 0;
| ;
| return 0;
| }
configure:10121: result: yes
configure:10214: checking for --with-all
configure:10236: result: not given
configure:10334: checking for Net-SNMP cflags
configure:10344: result: -DNETSNMP_ENABLE_IPV6 -O2 -march=i486 -mtune=i686
-Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl5/5.10.0/i486-linux-thread-multi/CORE -I. -I/usr/include
configure:10348: checking for Net-SNMP libs
configure:10358: result: -L/usr/lib -lnetsnmp
configure:10381: checking for libusb cflags
configure:10390: result:
configure:10394: checking for libusb libs
configure:10403: result: -L/usr/lib -lusb
configure:10426: checking for libhal version via pkg-config (0.5.8 minimum
required)
configure:10436: result: 0.5.11 found
configure:10440: checking for libhal cflags via pkg-config
configure:10449: result: -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
configure:10453: checking for libhal ldflags via pkg-config
configure:10462: result: -lhal -ldbus-glib-1 -ldbus-1 -lgobject-2.0
-lglib-2.0
configure:10466: checking for libhal user via pkg-config
configure:10475: result: haldaemon
configure:10484: checking for hal-0.5.11 device match key
configure:10493: result: info.subsystem
configure:10501: checking for libhal Callouts path
configure:10517: result: ${exec_prefix}/libexec
configure:10531: checking for libhal Device Information path
configure:10541: result: ${prefix}/share/hal/fdi/information/20thirdparty
configure:10777: checking if GLib is version 2.14.0 or newer
configure:10785: result: yes
configure:10803: checking for libneon version via pkg-config (0.25.0 minimum
required)
configure:10813: result: 0.28.3 found
configure:10821: checking for libneon has ne_set_connect_timeout()
configure:10829: result: found
configure:10839: checking for libneon cflags via pkg-config
configure:10848: result: -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include/neon
configure:10852: checking for libneon ldflags via pkg-config
configure:10861: result: -lneon
configure:10884: checking for libpowerman cflags
configure:10889: result: not found
configure:10897: checking for libpowerman libs
configure:10902: result: not found
configure:10922: checking for usb_detach_kernel_driver_np in -lusb
configure:10957: gcc -o conftest -O -Wall -Wsign-compare conftest.c -lusb
-L/usr/lib -lusb >&5
configure:10964: $? = 0
configure:10985: result: yes
configure:11115: checking for SSL library availability
configure:11145: gcc -o conftest -lssl -lcrypto conftest.c >&5
configure:11152: $? = 0
configure:11339: result: yes
configure:11374: checking whether to enable SSL development code
configure:11376: result: yes
configure:11420: checking tcpd.h usability
configure:11437: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:11444: $? = 0
configure:11458: result: yes
configure:11462: checking tcpd.h presence
configure:11477: gcc -E conftest.c
configure:11484: $? = 0
configure:11498: result: yes
configure:11526: checking for tcpd.h
configure:11533: result: yes
configure:11545: checking for request_init in -lwrap
configure:11580: gcc -o conftest -O -Wall -Wsign-compare conftest.c -lwrap
>&5
configure:11587: $? = 0
configure:11608: result: yes
configure:11621: checking for library containing yp_get_default_domain
configure:11662: gcc -o conftest -O -Wall -Wsign-compare conftest.c -lwrap
>&5
/tmp/ccIAgPm1.o: In function `main':
conftest.c:(.text+0x12): undefined reference to `yp_get_default_domain'
collect2: ld returned 1 exit status
configure:11669: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| #define HAVE_FLOCK 1
| #define HAVE_LOCKF 1
| #define HAVE_FCVT 1
| #define HAVE_CFSETISPEED 1
| #define HAVE_TCSENDBREAK 1
| #define HAVE_SETEUID 1
| #define HAVE_SETSID 1
| #define HAVE_ON_EXIT 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_SETENV 1
| #define HAVE_INET_ATON 1
| #define HAVE_STRERROR 1
| #define HAVE_ATEXIT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CONNECT 1
| #define HAVE_STDARG_H 1
| #define HAVE_SYS_TERMIOS_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TIME_H 1
| #define HAL_USER "haldaemon"
| #define HAL_DEVICE_MATCH_KEY "info.subsystem"
| #define HAVE_GLIB_2_14 1
| #define LIBNEON_VERSION "0.28.3"
| #define HAVE_LIBNEON_SET_CONNECT_TIMEOUT 1
| #define LIBUSB_HAS_DETACH_KRNL_DRV 1
| #define HAVE_SSL 1
| #define HAVE_LIBWRAP 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char yp_get_default_domain ();
| int
| main ()
| {
| return yp_get_default_domain ();
| ;
| return 0;
| }
configure:11662: gcc -o conftest -O -Wall -Wsign-compare conftest.c -lnsl
-lwrap >&5
configure:11669: $? = 0
configure:11700: result: -lnsl
configure:11749: checking whether to enable tcp-wrappers support
configure:11751: result: yes
configure:11786: checking for getaddrinfo
configure:11842: gcc -o conftest -O -Wall -Wsign-compare conftest.c >&5
configure:11849: $? = 0
configure:11871: result: yes
configure:11786: checking for freeaddrinfo
configure:11842: gcc -o conftest -O -Wall -Wsign-compare conftest.c >&5
configure:11849: $? = 0
configure:11871: result: yes
configure:11886: checking for struct addrinfo
configure:11915: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:11922: $? = 0
configure:11950: gcc -c -O -Wall -Wsign-compare conftest.c >&5
conftest.c: In function 'main':
conftest.c:55: error: expected expression before ')' token
configure:11957: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| #define HAVE_FLOCK 1
| #define HAVE_LOCKF 1
| #define HAVE_FCVT 1
| #define HAVE_CFSETISPEED 1
| #define HAVE_TCSENDBREAK 1
| #define HAVE_SETEUID 1
| #define HAVE_SETSID 1
| #define HAVE_ON_EXIT 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_SETENV 1
| #define HAVE_INET_ATON 1
| #define HAVE_STRERROR 1
| #define HAVE_ATEXIT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CONNECT 1
| #define HAVE_STDARG_H 1
| #define HAVE_SYS_TERMIOS_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TIME_H 1
| #define HAL_USER "haldaemon"
| #define HAL_DEVICE_MATCH_KEY "info.subsystem"
| #define HAVE_GLIB_2_14 1
| #define LIBNEON_VERSION "0.28.3"
| #define HAVE_LIBNEON_SET_CONNECT_TIMEOUT 1
| #define LIBUSB_HAS_DETACH_KRNL_DRV 1
| #define HAVE_SSL 1
| #define HAVE_LIBWRAP 1
| #define HAVE_WRAP 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| /* end confdefs.h. */
| #include <netdb.h>
|
| int
| main ()
| {
| if (sizeof ((struct addrinfo)))
| return 0;
| ;
| return 0;
| }
configure:11980: result: yes
configure:11992: checking for struct sockaddr_storage
configure:12021: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:12028: $? = 0
configure:12056: gcc -c -O -Wall -Wsign-compare conftest.c >&5
conftest.c: In function 'main':
conftest.c:56: error: expected expression before ')' token
configure:12063: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| #define HAVE_FLOCK 1
| #define HAVE_LOCKF 1
| #define HAVE_FCVT 1
| #define HAVE_CFSETISPEED 1
| #define HAVE_TCSENDBREAK 1
| #define HAVE_SETEUID 1
| #define HAVE_SETSID 1
| #define HAVE_ON_EXIT 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_SETENV 1
| #define HAVE_INET_ATON 1
| #define HAVE_STRERROR 1
| #define HAVE_ATEXIT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CONNECT 1
| #define HAVE_STDARG_H 1
| #define HAVE_SYS_TERMIOS_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TIME_H 1
| #define HAL_USER "haldaemon"
| #define HAL_DEVICE_MATCH_KEY "info.subsystem"
| #define HAVE_GLIB_2_14 1
| #define LIBNEON_VERSION "0.28.3"
| #define HAVE_LIBNEON_SET_CONNECT_TIMEOUT 1
| #define LIBUSB_HAS_DETACH_KRNL_DRV 1
| #define HAVE_SSL 1
| #define HAVE_LIBWRAP 1
| #define HAVE_WRAP 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_STRUCT_ADDRINFO 1
| /* end confdefs.h. */
| #include <netdb.h>
|
| int
| main ()
| {
| if (sizeof ((struct sockaddr_storage)))
| return 0;
| ;
| return 0;
| }
configure:12086: result: yes
configure:12098: checking for struct sockaddr_in6
configure:12127: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:12134: $? = 0
configure:12162: gcc -c -O -Wall -Wsign-compare conftest.c >&5
conftest.c: In function 'main':
conftest.c:57: error: expected expression before ')' token
configure:12169: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| #define HAVE_FLOCK 1
| #define HAVE_LOCKF 1
| #define HAVE_FCVT 1
| #define HAVE_CFSETISPEED 1
| #define HAVE_TCSENDBREAK 1
| #define HAVE_SETEUID 1
| #define HAVE_SETSID 1
| #define HAVE_ON_EXIT 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_SETENV 1
| #define HAVE_INET_ATON 1
| #define HAVE_STRERROR 1
| #define HAVE_ATEXIT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CONNECT 1
| #define HAVE_STDARG_H 1
| #define HAVE_SYS_TERMIOS_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TIME_H 1
| #define HAL_USER "haldaemon"
| #define HAL_DEVICE_MATCH_KEY "info.subsystem"
| #define HAVE_GLIB_2_14 1
| #define LIBNEON_VERSION "0.28.3"
| #define HAVE_LIBNEON_SET_CONNECT_TIMEOUT 1
| #define LIBUSB_HAS_DETACH_KRNL_DRV 1
| #define HAVE_SSL 1
| #define HAVE_LIBWRAP 1
| #define HAVE_WRAP 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| /* end confdefs.h. */
| #include <netdb.h>
|
| int
| main ()
| {
| if (sizeof ((struct sockaddr_in6)))
| return 0;
| ;
| return 0;
| }
configure:12192: result: yes
configure:12204: checking for struct in6_addr
configure:12233: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:12240: $? = 0
configure:12268: gcc -c -O -Wall -Wsign-compare conftest.c >&5
conftest.c: In function 'main':
conftest.c:58: error: expected expression before ')' token
configure:12275: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| #define HAVE_FLOCK 1
| #define HAVE_LOCKF 1
| #define HAVE_FCVT 1
| #define HAVE_CFSETISPEED 1
| #define HAVE_TCSENDBREAK 1
| #define HAVE_SETEUID 1
| #define HAVE_SETSID 1
| #define HAVE_ON_EXIT 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_SETENV 1
| #define HAVE_INET_ATON 1
| #define HAVE_STRERROR 1
| #define HAVE_ATEXIT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CONNECT 1
| #define HAVE_STDARG_H 1
| #define HAVE_SYS_TERMIOS_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TIME_H 1
| #define HAL_USER "haldaemon"
| #define HAL_DEVICE_MATCH_KEY "info.subsystem"
| #define HAVE_GLIB_2_14 1
| #define LIBNEON_VERSION "0.28.3"
| #define HAVE_LIBNEON_SET_CONNECT_TIMEOUT 1
| #define LIBUSB_HAS_DETACH_KRNL_DRV 1
| #define HAVE_SSL 1
| #define HAVE_LIBWRAP 1
| #define HAVE_WRAP 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| /* end confdefs.h. */
| #include <netdb.h>
|
| int
| main ()
| {
| if (sizeof ((struct in6_addr)))
| return 0;
| ;
| return 0;
| }
configure:12298: result: yes
configure:12337: checking whether to enable IPv6 support
configure:12339: result: yes
configure:12689: checking whether to build CGI programs
configure:12691: result: no
configure:12741: checking whether to build and install the development files
configure:12743: result: no
configure:12802: checking for a sed that does not truncate output
configure:12858: result: /usr/bin/sed
configure:12872: checking for ld used by gcc
configure:12939: result: /usr/i486-slackware-linux/bin/ld
configure:12948: checking if the linker (/usr/i486-slackware-linux/bin/ld)
is GNU ld
configure:12963: result: yes
configure:12968: checking for /usr/i486-slackware-linux/bin/ld option to
reload object files
configure:12975: result: -r
configure:12993: checking for BSD-compatible nm
configure:13042: result: /usr/bin/nm -B
configure:13046: checking whether ln -s works
configure:13050: result: yes
configure:13057: checking how to recognize dependent libraries
configure:13243: result: pass_all
configure:13502: checking dlfcn.h usability
configure:13519: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:13526: $? = 0
configure:13540: result: yes
configure:13544: checking dlfcn.h presence
configure:13559: gcc -E conftest.c
configure:13566: $? = 0
configure:13580: result: yes
configure:13608: checking for dlfcn.h
configure:13617: result: yes
configure:13690: checking for g++
configure:13706: found /usr/bin/g++
configure:13717: result: g++
configure:13744: checking for C++ compiler version
configure:13752: g++ --version >&5
g++ (GCC) 4.2.4
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:13756: $? = 0
configure:13763: g++ -v >&5
Reading specs from /usr/lib/gcc/i486-slackware-linux/4.2.4/specs
Target: i486-slackware-linux
Configured with: ../gcc-4.2.4/configure --prefix=/usr --enable-shared
--enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix
--enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose
--with-arch=i486 --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 4.2.4
configure:13767: $? = 0
configure:13774: g++ -V >&5
g++: '-V' option must have argument
configure:13778: $? = 1
configure:13781: checking whether we are using the GNU C++ compiler
configure:13810: g++ -c conftest.cpp >&5
configure:13817: $? = 0
configure:13834: result: yes
configure:13843: checking whether g++ accepts -g
configure:13873: g++ -c -g conftest.cpp >&5
configure:13880: $? = 0
configure:13981: result: yes
configure:14006: checking dependency style of g++
configure:14097: result: gcc3
configure:14122: checking how to run the C++ preprocessor
configure:14158: g++ -E conftest.cpp
configure:14165: $? = 0
configure:14196: g++ -E conftest.cpp
conftest.cpp:56:28: error: ac_nonexistent.h: No such file or directory
configure:14203: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| #define HAVE_FLOCK 1
| #define HAVE_LOCKF 1
| #define HAVE_FCVT 1
| #define HAVE_CFSETISPEED 1
| #define HAVE_TCSENDBREAK 1
| #define HAVE_SETEUID 1
| #define HAVE_SETSID 1
| #define HAVE_ON_EXIT 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_SETENV 1
| #define HAVE_INET_ATON 1
| #define HAVE_STRERROR 1
| #define HAVE_ATEXIT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CONNECT 1
| #define HAVE_STDARG_H 1
| #define HAVE_SYS_TERMIOS_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TIME_H 1
| #define HAL_USER "haldaemon"
| #define HAL_DEVICE_MATCH_KEY "info.subsystem"
| #define HAVE_GLIB_2_14 1
| #define LIBNEON_VERSION "0.28.3"
| #define HAVE_LIBNEON_SET_CONNECT_TIMEOUT 1
| #define LIBUSB_HAS_DETACH_KRNL_DRV 1
| #define HAVE_SSL 1
| #define HAVE_LIBWRAP 1
| #define HAVE_WRAP 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| #define HAVE_STRUCT_IN6_ADDR 1
| #define HAVE_IPV6 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:14236: result: g++ -E
configure:14265: g++ -E conftest.cpp
configure:14272: $? = 0
configure:14303: g++ -E conftest.cpp
conftest.cpp:56:28: error: ac_nonexistent.h: No such file or directory
configure:14310: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nut"
| #define PACKAGE_TARNAME "nut"
| #define PACKAGE_VERSION "2.4.0-pre1"
| #define PACKAGE_STRING "nut 2.4.0-pre1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "nut"
| #define VERSION "2.4.0-pre1"
| #define HAVE_FLOCK 1
| #define HAVE_LOCKF 1
| #define HAVE_FCVT 1
| #define HAVE_CFSETISPEED 1
| #define HAVE_TCSENDBREAK 1
| #define HAVE_SETEUID 1
| #define HAVE_SETSID 1
| #define HAVE_ON_EXIT 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_SETENV 1
| #define HAVE_INET_ATON 1
| #define HAVE_STRERROR 1
| #define HAVE_ATEXIT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CONNECT 1
| #define HAVE_STDARG_H 1
| #define HAVE_SYS_TERMIOS_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TIME_H 1
| #define HAL_USER "haldaemon"
| #define HAL_DEVICE_MATCH_KEY "info.subsystem"
| #define HAVE_GLIB_2_14 1
| #define LIBNEON_VERSION "0.28.3"
| #define HAVE_LIBNEON_SET_CONNECT_TIMEOUT 1
| #define LIBUSB_HAS_DETACH_KRNL_DRV 1
| #define HAVE_SSL 1
| #define HAVE_LIBWRAP 1
| #define HAVE_WRAP 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| #define HAVE_STRUCT_IN6_ADDR 1
| #define HAVE_IPV6 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:14405: checking for g77
configure:14421: found /usr/bin/g77
configure:14432: result: g77
configure:14458: checking for Fortran 77 compiler version
configure:14466: g77 --version >&5
GNU Fortran (GCC) 4.2.4
Copyright (C) 2007 Free Software Foundation, Inc.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
configure:14470: $? = 0
configure:14477: g77 -v >&5
Reading specs from /usr/lib/gcc/i486-slackware-linux/4.2.4/specs
Target: i486-slackware-linux
Configured with: ../gcc-4.2.4/configure --prefix=/usr --enable-shared
--enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix
--enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose
--with-arch=i486 --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 4.2.4
configure:14481: $? = 0
configure:14488: g77 -V >&5
g77: '-V' option must have argument
configure:14492: $? = 1
configure:14500: checking whether we are using the GNU Fortran 77 compiler
configure:14519: g77 -c conftest.F >&5
configure:14526: $? = 0
configure:14543: result: yes
configure:14549: checking whether g77 accepts -g
configure:14566: g77 -c -g conftest.f >&5
configure:14573: $? = 0
configure:14589: result: yes
configure:14622: checking the maximum length of command line arguments
configure:14734: result: 98304
configure:14746: checking command to parse /usr/bin/nm -B output from gcc
object
configure:14851: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:14854: $? = 0
configure:14858: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:14861: $? = 0
configure:14913: gcc -o conftest -O -Wall -Wsign-compare conftest.c
conftstm.o >&5
configure:14916: $? = 0
configure:14954: result: ok
configure:14958: checking for objdir
configure:14973: result: .libs
configure:15065: checking for ar
configure:15092: result: /usr/bin/ar
configure:15157: checking for ranlib
configure:15184: result: ranlib
configure:15249: checking for strip
configure:15265: found /usr/bin/strip
configure:15276: result: strip
configure:15866: checking if gcc supports -fno-rtti -fno-exceptions
configure:15884: gcc -c -O -Wall -Wsign-compare -fno-rtti -fno-exceptions
conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but
not for C
configure:15888: $? = 0
configure:15901: result: no
configure:15916: checking for gcc option to produce PIC
configure:16148: result: -fPIC
configure:16156: checking if gcc PIC flag -fPIC works
configure:16174: gcc -c -O -Wall -Wsign-compare -fPIC -DPIC conftest.c >&5
configure:16178: $? = 0
configure:16191: result: yes
configure:16219: checking if gcc static flag -static works
configure:16247: result: yes
configure:16257: checking if gcc supports -c -o file.o
configure:16278: gcc -c -O -Wall -Wsign-compare -o out/conftest2.o
conftest.c >&5
configure:16282: $? = 0
configure:16304: result: yes
configure:16330: checking whether the gcc linker
(/usr/i486-slackware-linux/bin/ld) supports shared libraries
configure:17318: result: yes
configure:17339: checking whether -lc should be explicitly linked in
configure:17344: gcc -c -O -Wall -Wsign-compare conftest.c >&5
configure:17347: $? = 0
configure:17362: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o
conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1
configure:17365: $? = 0
configure:17377: result: no
configure:17385: checking dynamic linker characteristics
configure:17987: result: GNU/Linux ld.so
configure:18011: checking how to hardcode library paths into programs
configure:18036: result: immediate
configure:18050: checking whether stripping libraries is possible
configure:18055: result: yes
configure:18885: checking if libtool supports shared libraries
configure:18887: result: yes
configure:18890: checking whether to build shared libraries
configure:18911: result: yes
configure:18914: checking whether to build static libraries
configure:18918: result: no
configure:19012: creating libtool
configure:19605: checking for ld used by g++
configure:19672: result: /usr/i486-slackware-linux/bin/ld
configure:19681: checking if the linker (/usr/i486-slackware-linux/bin/ld)
is GNU ld
configure:19696: result: yes
configure:19747: checking whether the g++ linker
(/usr/i486-slackware-linux/bin/ld) supports shared libraries
configure:20701: result: yes
configure:20718: g++ -c conftest.cpp >&5
configure:20721: $? = 0
configure:20877: checking for g++ option to produce PIC
configure:21161: result: -fPIC
configure:21169: checking if g++ PIC flag -fPIC works
configure:21187: g++ -c -fPIC -DPIC conftest.cpp >&5
configure:21191: $? = 0
configure:21204: result: yes
configure:21232: checking if g++ static flag -static works
configure:21260: result: yes
configure:21270: checking if g++ supports -c -o file.o
configure:21291: g++ -c -o out/conftest2.o conftest.cpp >&5
configure:21295: $? = 0
configure:21317: result: yes
configure:21343: checking whether the g++ linker
(/usr/i486-slackware-linux/bin/ld) supports shared libraries
configure:21369: result: yes
configure:21436: checking dynamic linker characteristics
configure:21986: result: GNU/Linux ld.so
configure:22010: checking how to hardcode library paths into programs
configure:22035: result: immediate
configure:22574: checking if libtool supports shared libraries
configure:22576: result: yes
configure:22579: checking whether to build shared libraries
configure:22599: result: yes
configure:22602: checking whether to build static libraries
configure:22606: result: no
configure:22616: checking for g77 option to produce PIC
configure:22848: result: -fPIC
configure:22856: checking if g77 PIC flag -fPIC works
configure:22874: g77 -c -g -O2 -fPIC conftest.f >&5
configure:22878: $? = 0
configure:22891: result: yes
configure:22919: checking if g77 static flag -static works
configure:22947: result: yes
configure:22957: checking if g77 supports -c -o file.o
configure:22978: g77 -c -g -O2 -o out/conftest2.o conftest.f >&5
configure:22982: $? = 0
configure:23004: result: yes
configure:23030: checking whether the g77 linker
(/usr/i486-slackware-linux/bin/ld) supports shared libraries
configure:23998: result: yes
configure:24065: checking dynamic linker characteristics
configure:24615: result: GNU/Linux ld.so
configure:24639: checking how to hardcode library paths into programs
configure:24664: result: immediate
configure:28286: checking whether to build serial drivers
configure:28288: result: yes
configure:28320: checking whether to build SNMP drivers
configure:28322: result: yes
configure:28373: checking whether to build USB drivers
configure:28375: result: libusb-based drivers only
configure:28416: checking whether to enable HAL support
configure:28418: result: no
configure:28449: checking whether to build neon based XML driver
configure:28451: result: yes
configure:28483: checking whether to build Powerman PDU client driver
configure:28485: result: no
configure:28497: checking state path
configure:28516: result: /var/state/ups
configure:28520: checking alt pid path
configure:28543: result: /var/state/ups
configure:28546: checking driver path
configure:28568: result: ${exec_prefix}/bin
configure:28571: checking cgi path
configure:28593: result: ${exec_prefix}/cgi-bin
configure:28596: checking html path
configure:28618: result: ${prefix}/html
configure:28621: checking pidpath
configure:28640: result: /var/run
configure:28643: checking network port number
configure:28666: result: 3493
configure:28670: checking user to run as
configure:28690: result: ups
configure:28694: checking group membership of user to run as
configure:28714: result: ups
configure:28727: checking facility for syslog
configure:28750: result: LOG_DAEMON
configure:28753: checking which drivers to build
configure:28774: result: all available
configure:28799: checking which driver man pages to install
configure:28803: result: all available
configure:28816: checking whether to strip debug symbols
configure:28834: result: no
configure:28841: checking whether to install pkg-config *.pc files
configure:28862: result: using ${libdir}/pkgconfig
configure:28877: checking whether to install hotplug rules
configure:28909: result: no
configure:28921: checking whether to install udev rules
configure:28950: result: using /etc/udev
configure:28965: checking for long long
configure:28989: gcc -o conftest -O -Wall -Wsign-compare conftest.c >&5
conftest.c:67: warning: return type defaults to 'int'
conftest.c: In function 'main':
conftest.c:67: warning: implicit declaration of function 'exit'
conftest.c:67: warning: incompatible implicit declaration of built-in
function 'exit'
configure:28993: $? = 0
configure:28999: ./conftest
configure:29003: $? = 0
configure:29020: result: yes
configure:29327: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by nut config.status 2.4.0-pre1, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on server
config.status:963: creating clients/Makefile
config.status:963: creating common/Makefile
config.status:963: creating conf/Makefile
config.status:963: creating conf/upssched.conf.sample
config.status:963: creating data/html/header.html
config.status:963: creating data/html/Makefile
config.status:963: creating data/Makefile
config.status:963: creating docs/Makefile
config.status:963: creating drivers/Makefile
config.status:963: creating include/Makefile
config.status:963: creating lib/libupsclient-config
config.status:963: creating lib/libupsclient.pc
config.status:963: creating lib/Makefile
config.status:963: creating man/Makefile
config.status:963: creating scripts/hal/Makefile
config.status:963: creating scripts/hal/ups-nut-device.fdi
config.status:963: creating scripts/hotplug/Makefile
config.status:963: creating scripts/hotplug/libhidups
config.status:963: creating scripts/udev/Makefile
config.status:963: creating scripts/udev/nut-usbups.rules
config.status:963: creating scripts/Makefile
config.status:963: creating server/Makefile
config.status:963: creating tools/Makefile
config.status:963: creating Makefile
config.status:963: creating include/config.h
config.status:1237: executing depfiles commands
config.status:1237: executing include/nut_stdint.h commands
config.status:1369: creating include/nut_stdint.h :
_NUT_INCLUDE_NUT_STDINT_H
config.status:1801: include/nut_stdint.h is unchanged
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_f77_compiler_gnu=yes
ac_cv_func_atexit=yes
ac_cv_func_cfsetispeed=yes
ac_cv_func_connect=yes
ac_cv_func_fcvt=yes
ac_cv_func_fcvtl=no
ac_cv_func_flock=yes
ac_cv_func_freeaddrinfo=yes
ac_cv_func_getaddrinfo=yes
ac_cv_func_getpassphrase=no
ac_cv_func_inet_aton=yes
ac_cv_func_lockf=yes
ac_cv_func_on_exit=yes
ac_cv_func_setenv=yes
ac_cv_func_seteuid=yes
ac_cv_func_setsid=yes
ac_cv_func_snprintf=yes
ac_cv_func_strerror=yes
ac_cv_func_tcsendbreak=yes
ac_cv_func_vsnprintf=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdarg_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint=stdint.h
ac_cv_header_stdint_h=yes
ac_cv_header_stdint_t=stdint.h
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_modem_h=no
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_termios_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_tcpd_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_header_varargs_h=no
ac_cv_host=i686-pc-linux-gnu
ac_cv_lib_usb_usb_detach_kernel_driver_np=yes
ac_cv_lib_wrap_request_init=yes
ac_cv_objext=o
ac_cv_path_AR=/usr/bin/ar
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_install='/usr/bin/ginstall -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_AR=/usr/bin/ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_F77=g77
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_gcc_c_o=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_f77_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_yp_get_default_domain=-lnsl
ac_cv_stdint_message='using gnu compiler gcc (GCC) 4.2.4'
ac_cv_stdint_result='(assuming C99 compatible system)'
ac_cv_target=i686-pc-linux-gnu
ac_cv_type_socklen_t=yes
ac_cv_type_struct_addrinfo=yes
ac_cv_type_struct_in6_addr=yes
ac_cv_type_struct_sockaddr_in6=yes
ac_cv_type_struct_sockaddr_storage=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
dist_cv_build_flavor=
dist_cv_build_issue_file=/etc/issue
dist_cv_build_lsb_file=no
dist_cv_build_rel_file=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/i486-slackware-linux/bin/ld
lt_cv_path_LDCXX=/usr/i486-slackware-linux/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_SED=/usr/bin/sed
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_c_o_F77=yes
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_pic_works_F77=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_compiler_static_works_F77=yes
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/
{\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/
{"\2", (lt_ptr) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int
\1;/p'\'''
lt_cv_sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/local/lib
/usr/i486-slackware-linux/lib '
lt_cv_sys_lib_search_path_spec='/usr/lib/gcc/i486-slackware-linux/4.2.4
/usr/i486-slackware-linux/lib /usr/lib /lib'
lt_cv_sys_max_cmd_len=98304
lt_lt_cv_prog_compiler_c_o='"yes"'
lt_lt_cv_prog_compiler_c_o_CXX='"yes"'
lt_lt_cv_prog_compiler_c_o_F77='"yes"'
lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[
]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][
]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'\''"'
lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^
]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\)
\\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .*
\\(.*\\)\$/extern int \\1;/p'\''"'
nut_cv_have_longlong=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /usr/src/trunk/missing --run aclocal-1.10'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/src/trunk/missing --run tar'
AR='/usr/bin/ar'
AUTOCONF='${SHELL} /usr/src/trunk/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/src/trunk/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/src/trunk/missing --run automake-1.10'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O -Wall -Wsign-compare'
CONFPATH='/ups/etc'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXCPP='g++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS=''
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DRIVER_BUILD_LIST='all'
DRIVER_INSTALL_TARGET=''
DRIVER_MAN_LIST='all'
DSYMUTIL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
F77='g77'
FFLAGS='-g -O2'
GREP='/usr/bin/grep'
HAL_CALLOUTS_PATH='${exec_prefix}/libexec'
HAL_DEVICE_MATCH_KEY='info.subsystem'
HAL_FDI_PATH='${prefix}/share/hal/fdi/information/20thirdparty'
HAL_USER='haldaemon'
HAVE_GLIB_2_14=''
HAVE_LIBUSB_FALSE='#'
HAVE_LIBUSB_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBGD_CFLAGS=''
LIBGD_LDFLAGS=''
LIBHAL_CFLAGS='-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include '
LIBHAL_LDFLAGS='-lhal -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 '
LIBNEON_CFLAGS='-D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include/neon '
LIBNEON_LDFLAGS='-lneon '
LIBNETSNMP_CFLAGS='-DNETSNMP_ENABLE_IPV6 -O2 -march=i486 -mtune=i686 -Ulinux
-Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl5/5.10.0/i486-linux-thread-multi/CORE -I. -I/usr/include'
LIBNETSNMP_LDFLAGS='-L/usr/lib -lnetsnmp'
LIBOBJS=''
LIBPOWERMAN_CFLAGS=''
LIBPOWERMAN_LDFLAGS=''
LIBS=''
LIBSSL_CFLAGS=''
LIBSSL_LDFLAGS='-lssl -lcrypto'
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIBUSB_CFLAGS=''
LIBUSB_LDFLAGS='-L/usr/lib -lusb'
LIBWRAP_CFLAGS=''
LIBWRAP_LDFLAGS='-lnsl -lwrap '
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /usr/src/trunk/missing --run makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
NETLIBS=''
NMEDIT=''
OBJEXT='o'
OS_NAME=''
PACKAGE='nut'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='nut'
PACKAGE_STRING='nut 2.4.0-pre1'
PACKAGE_TARNAME='nut'
PACKAGE_VERSION='2.4.0-pre1'
PATH_SEPARATOR=':'
RANLIB='ranlib'
RUN_AS_GROUP='ups'
RUN_AS_USER='ups'
SED='/usr/bin/sed'
SERLIBS=''
SET_MAKE=''
SHELL='/bin/sh'
SOME_DRIVERS_FALSE=''
SOME_DRIVERS_TRUE='#'
STATEPATH='/var/state/ups'
STRIP='strip'
SUN_LIBUSB=''
VERSION='2.4.0-pre1'
WITH_CGI_FALSE=''
WITH_CGI_TRUE='#'
WITH_DEV_FALSE=''
WITH_DEV_TRUE='#'
WITH_HAL_FALSE=''
WITH_HAL_TRUE='#'
WITH_HOTPLUG_FALSE=''
WITH_HOTPLUG_TRUE='#'
WITH_LIBPOWERMAN_FALSE=''
WITH_LIBPOWERMAN_TRUE='#'
WITH_NEONXML_FALSE='#'
WITH_NEONXML_TRUE=''
WITH_PKG_CONFIG_FALSE='#'
WITH_PKG_CONFIG_TRUE=''
WITH_SERIAL_FALSE='#'
WITH_SERIAL_TRUE=''
WITH_SNMP_FALSE='#'
WITH_SNMP_TRUE=''
WITH_SSL_FALSE='#'
WITH_SSL_TRUE=''
WITH_UDEV_FALSE='#'
WITH_UDEV_TRUE=''
WITH_USB_FALSE='#'
WITH_USB_TRUE=''
WITH_WRAP_FALSE='#'
WITH_WRAP_TRUE=''
WORDS_BIGENDIAN=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_F77='g77'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
cgiexecdir='${exec_prefix}/cgi-bin'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
driverexecdir='${exec_prefix}/bin'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
hotplugdir=''
htmldir='${prefix}/html'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /usr/src/trunk/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/usr/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgconfigdir='${libdir}/pkgconfig'
prefix='/ups'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'
udevdir='/etc/udev'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "nut"
#define PACKAGE_TARNAME "nut"
#define PACKAGE_VERSION "2.4.0-pre1"
#define PACKAGE_STRING "nut 2.4.0-pre1"
#define PACKAGE_BUGREPORT ""
#define PACKAGE "nut"
#define VERSION "2.4.0-pre1"
#define HAVE_FLOCK 1
#define HAVE_LOCKF 1
#define HAVE_FCVT 1
#define HAVE_CFSETISPEED 1
#define HAVE_TCSENDBREAK 1
#define HAVE_SETEUID 1
#define HAVE_SETSID 1
#define HAVE_ON_EXIT 1
#define HAVE_VSNPRINTF 1
#define HAVE_SNPRINTF 1
#define HAVE_SETENV 1
#define HAVE_INET_ATON 1
#define HAVE_STRERROR 1
#define HAVE_ATEXIT 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CONNECT 1
#define HAVE_STDARG_H 1
#define HAVE_SYS_TERMIOS_H 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_SYS_TIME_H 1
#define HAL_USER "haldaemon"
#define HAL_DEVICE_MATCH_KEY "info.subsystem"
#define HAVE_GLIB_2_14 1
#define LIBNEON_VERSION "0.28.3"
#define HAVE_LIBNEON_SET_CONNECT_TIMEOUT 1
#define LIBUSB_HAS_DETACH_KRNL_DRV 1
#define HAVE_SSL 1
#define HAVE_LIBWRAP 1
#define HAVE_WRAP 1
#define HAVE_GETADDRINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_IN6_ADDR 1
#define HAVE_IPV6 1
#define HAVE_DLFCN_H 1
#define STATEPATH "/var/state/ups"
#define ALTPIDPATH "/var/state/ups"
#define DRVPATH "/ups/bin"
#define CGIPATH "/ups/cgi-bin"
#define HTMLPATH "/ups/html"
#define PIDPATH "/var/run"
#define PORT 3493
#define RUN_AS_USER "ups"
#define RUN_AS_GROUP "ups"
#define LOG_FACILITY LOG_DAEMON
#define HAVE_LONG_LONG 1
#define CONFPATH "/ups/etc"
#define DATADIR "/ups/share"
configure: exit 0
======================================================================
-----Oorspronkelijk bericht-----
Van: Arjen de Korte [mailto:nut+devel at de-korte.org]
Verzonden: zaterdag 27 december 2008 23:08
Aan: Tom Cassimon
CC: nut-upsdev at lists.alioth.debian.org
Onderwerp: Re: [Nut-upsdev] Sweex 1000VA UPS (Lakeview Research)
Citeren Tom Cassimon <tom at cassimon.mine.nu>:
> No problem, i've tried the new version from the trunk
> and it compiles without a problem.
Good. Could you post the 'config.log' here, so that we can verify that
this part works as intended? Did you also verify the 'richcomm_usb'
driver?
Best regards, Arjen
--
Please keep list traffic on the list
More information about the Nut-upsdev
mailing list