I accidentallty answerd to David directly instead of the list. -----Oorspronkelijk bericht----- Van: Stefaan Van Dooren Verzonden: za 6-11-2010 10:29 Aan: davidMbrooke Onderwerp: RE: [leaf-devel] compiling nut The log is pasted below :
buildtool::Make::Source::_makeEnvString:envstring= SOURCE=nut-2.4.3.tar.gz PATCH1=nut-uclibc.patch LANG=C checking link /lib/ld-uClibc.so make: Map '/home/stefaan/leaf/src/bering-uclibc4/buildtool/source/nut' wordt binnengegaan (cd nut-2.4.3 ; CC=/home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 LD=/home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/usr/bin/ld \ CFLAGS="-Os -march=i486 -mtune=pentiumpro -g -Wall" LIBS="-lm" \ LIBC_INCLUDE=/home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/include \ KERNEL_INCLUDE=/home/stefaan/leaf/src/bering-uclibc4/buildtool/source/linux/linux-/include \ ./configure --prefix=/usr \ --sysconfdir=/etc/nut \ --localstatedir=/var/run \ --with-usb \ --with-drivers=all \ ; cd drivers; BT_ST_DIR=/home/stefaan/leaf/src/bering-uclibc4/buildtool/staging sh ../../patch-mkfile) Network UPS Tools version 2.4.3 checking build system type... i386-pc-linux-gnu checking host system type... i386-pc-linux-gnu checking target system type... i386-pc-linux-gnu checking for host system name... ubuntu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 accepts -g... yes checking for /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 option to accept ISO C89... none needed checking dependency style of /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32... gcc3 checking how to run the C preprocessor... /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... (cached) /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 checking whether we are using the GNU C compiler... (cached) yes checking whether /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 accepts -g... (cached) yes checking for /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 option to accept ISO C89... (cached) none needed checking dependency style of /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32... (cached) gcc3 checking whether /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 and cc understand -c and -o together... yes checking how to run the C preprocessor... /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 -E checking for egrep... (cached) /bin/grep -E checking for ar... /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/usr/bin/ar checking for ranlib... ranlib checking whether byte ordering is bigendian... no checking for inline... inline checking for flexible array members... yes checking for variable-length arrays... yes checking for flock... yes checking for lockf... yes checking for fcvt... no checking for fcvtl... no checking for cfsetispeed... yes checking for tcsendbreak... yes checking for seteuid... yes checking for setsid... yes checking for getpassphrase... no checking for on_exit... yes checking for strptime... yes checking for vsnprintf... yes checking for snprintf... yes checking for setenv... yes checking for inet_aton... yes checking for strerror... yes checking for atexit... yes checking whether optind is declared... yes checking whether uu_lock is declared... no checking whether __func__ is declared... yes checking for library containing gethostbyname... none required checking for library containing connect... none required checking whether time.h and sys/time.h may both be included... yes checking for sys/modem.h... no checking for stdarg.h... yes checking for varargs.h... no checking for sys/termios.h... yes checking for sys/time.h... yes checking for stdint types... stdint.h (shortcircuit) make use of stdint.h in include/nut_stdint.h (assuming C99 compatible system) checking for socklen_t... yes checking for --with-all... not given checking for libusb version via pkg-config... checking via libusb-config... 0.1.12 found checking for libusb cflags... checking for libusb ldflags... -L/usr/lib -lusb checking for usb.h... yes checking for usb_init... no checking for libhal version via pkg-config (0.5.8 minimum required)... 0.5.14 found checking for libhal cflags via pkg-config... -DDBUS_API_SUBJECT_TO_CHANGE -pthread -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 checking for libhal ldflags via pkg-config... -pthread -L/lib -lhal -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 checking for libhal user via pkg-config... haldaemon checking for hal-0.5.14 device match key... info.subsystem checking for libhal Callouts path... ${exec_prefix}/lib/hal checking for libhal Device Information path... ${prefix}/share/hal/fdi/information/20thirdparty checking if GLib is version 2.14.0 or newer... yes checking for Net-SNMP version via net-snmp-config... 5.4.3 found checking for Net-SNMP cflags... -DNETSNMP_ENABLE_IPV6 -Os -march=i486 -mtune=pentiumpro -D_REENTRANT -Ulinux -Dlinux=linux -I. -I/usr/include checking for Net-SNMP libs... -L/home/stefaan/leaf/src/bering-uclibc4/buildtool/build/net-snmp/usr/lib -L/usr/lib -lnetsnmp checking for net-snmp/net-snmp-config.h... yes checking for init_snmp... no checking for libneon version via pkg-config (0.25.0 minimum required)... not found checking for libneon cflags... checking for libneon ldflags... checking for ne_xmlreq.h... no checking for ne_xml_dispatch_request... no checking for libpowerman cflags... checking for libpowerman libs... checking for libpowerman.h... no checking for pm_connect... no checking for openssl version via pkg-config... not found checking for openssl cflags... checking for openssl ldflags... -lssl -lcrypto checking for openssl/ssl.h... yes checking for SSL_library_init... yes checking whether to enable SSL development code... yes checking for tcpd.h... yes checking for library containing yp_get_default_domain... no checking for library containing request_init... -lwrap checking whether to enable libwrap (tcp-wrappers) support... no checking for getaddrinfo... yes checking for freeaddrinfo... yes checking for struct addrinfo... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_in6... yes checking for struct in6_addr... yes checking whether to enable IPv6 support... yes checking whether to build CGI programs... no checking whether to build and install the development files... no checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32... /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/usr/bin/ld checking if the linker (/home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/usr/bin/nm -B checking the name lister (/home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 805306365 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/usr/bin/ar checking for strip... strip checking for ranlib... (cached) ranlib checking command to parse /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/usr/bin/nm -B output from /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 object... ok checking for dlfcn.h... yes checking for objdir... .libs checking if /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 supports -fno-rtti -fno-exceptions... no checking for /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 option to produce PIC... -fPIC -DPIC checking if /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 PIC flag -fPIC -DPIC works... yes checking if /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 static flag -static works... yes checking if /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 supports -c -o file.o... yes checking if /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 supports -c -o file.o... (cached) yes checking whether the /home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/bin/gcc-m32 linker (/home/stefaan/leaf/src/bering-uclibc4/buildtool/staging/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether to build serial drivers... yes checking whether to build SNMP drivers... no configure: error: "USB drivers requested, but libusb not found." sed: can't read Makefile: No such file or directory make: *** [nut-2.4.3/Makefile] Fout 2 -----Oorspronkelijk bericht----- Van: davidMbrooke [mailto:dmb.leaf-de...@ntlworld.com] Verzonden: vr 5-11-2010 22:08 Aan: leaf-devel@lists.sourceforge.net Onderwerp: Re: [leaf-devel] compiling nut Hi Stefaan, I see the same as Andrew; nut compiles perfectly. What do you get for the "usb" entries earlier in the log? I get: checking for --with-all... not given checking for libusb version via pkg-config... checking via libusb-config... 0.1.12 found checking for libusb cflags... checking for libusb ldflags... -L/usr/lib -lusb checking for usb.h... yes checking for usb_init... yes checking for usb_detach_kernel_driver_np... yes checking for libhal version via pkg-config (0.5.8 minimum required)... not found My build machine is running 64-bit Fedora 13, in case that is relevant. I wonder if this is the culprit: checking for libusb ldflags... -L/usr/lib -lusb Should that be -L$(BT_STAGING_DIR)/usr/lib ??? dMb On Fri, 2010-11-05 at 10:49 +0100, Stefaan Van Dooren wrote: > did you fix this issue ? I'm having the same problem. > I allready tried to send the "config.log" from nut, but it didn't made it to > the list. > > > Stefaan > > > -----Oorspronkelijk bericht----- > Van: Andrew [mailto:ni...@seti.kr.ua] > Verzonden: di 2-11-2010 23:03 > Aan: leaf-devel@lists.sourceforge.net > Onderwerp: Re: [leaf-devel] compiling nut > > 02.11.2010 23:53, KP Kirchdoerfer ?????: > > Hi; > > > > I've never been able to build the nut package... > > > > It fails with the message: > > checking whether to build serial drivers... yes > > checking whether to build SNMP drivers... no > > configure: error: "USB drivers requested, but libusb not found." > > sed: can't read Makefile: No such file or directory > > > > any hints? > > > > kp > Hm, strange, for me all is ok: > checking whether to build serial drivers... yes > checking whether to build SNMP drivers... yes > checking whether to build USB drivers... yes > checking whether to enable HAL support... no > checking whether to build neon based XML driver... no > > > Can you send me config.log from nut and full buildenv log for nut building? > ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel