<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hello Fred,<br><br>thanks for your answer. <br>i installed libusb-dev , libsnmp-dev and libneon25-dev package.<br>with ./configure command, usb, snmp and xml driver loaded. <br>i think there is no problem.<br><br>Configuration summary:<br>======================<br>build serial drivers: yes <br>build USB drivers: yes <br>build SNMP drivers: yes <br>build neon based XML driver: yes <br>enable Avahi support: no <br>build Powerman PDU client driver: no <br>build IPMI driver: no <br>enable SSL development code: yes <br>enable libwrap (tcp-wrappers) support: yes <br>enable libltdl (Libtool dlopen abstraction) support: no <br>build CGI programs: no <br>enable HAL support: no <br>build and install documentation: no <br>build and install the development files: no <br>root@debian:/home/ramazan/Desktop/nut-2.6.3# <br><br><br>when i run make , that is output, i think there is no problem too.<br><br>re -MT netinstcmd.o -MD -MP -MF .deps/netinstcmd.Tpo -c -o netinstcmd.o netinstcmd.c<br>mv -f .deps/netinstcmd.Tpo .deps/netinstcmd.Po<br>/bin/bash ../libtool --tag=CC --mode=link gcc -I../include -g -O2 -Wall -Wsign-compare -o upsd upsd.o user.o conf.o ssl.o sstate.o desc.o netget.o netmisc.o netlist.o netuser.o netset.o netinstcmd.o ../common/libcommon.la ../common/libparseconf.la -lnsl -lwrap -lssl -lcrypto -lpthread <br>libtool: link: gcc -I../include -g -O2 -Wall -Wsign-compare -o upsd upsd.o user.o conf.o ssl.o sstate.o desc.o netget.o netmisc.o netlist.o netuser.o netset.o netinstcmd.o ../common/.libs/libcommon.a ../common/.libs/libparseconf.a -lnsl -lwrap -lssl -lcrypto -lpthread<br>make[1]: Leaving directory `/home/ramazan/Desktop/nut-2.6.3/server'<br>make[1]: Entering directory `/home/ramazan/Desktop/nut-2.6.3'<br>make[1]: Nothing to be done for `all-am'.<br>make[1]: Leaving directory `/home/ramazan/Desktop/nut-2.6.3'<br>root@debian:/home/ramazan/Desktop/nut-2.6.3# <br><br>but nut-scanner nut installed. <br><br>i run this command:<br>root@debian:/home/ramazan/Desktop/nut-2.6.3/tools/nut-scanner# make nut-scanner<br><br>output:<br>root@debian:/home/ramazan/Desktop/nut-2.6.3/tools/nut-scanner# make nut-scanner<br>/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../include -DNETSNMP_ENABLE_IPV6 -g -O2 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -I/usr/include -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include/neon -g -O2 -Wall -Wsign-compare -MT libnutscan_la-scan_usb.lo -MD -MP -MF .deps/libnutscan_la-scan_usb.Tpo -c -o libnutscan_la-scan_usb.lo `test -f 'scan_usb.c' || echo './'`scan_usb.c<br>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../include -DNETSNMP_ENABLE_IPV6 -g -O2 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -I/usr/include -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include/neon -g -O2 -Wall -Wsign-compare -MT libnutscan_la-scan_usb.lo -MD -MP -MF .deps/libnutscan_la-scan_usb.Tpo -c scan_usb.c -fPIC -DPIC -o .libs/libnutscan_la-scan_usb.o<br>scan_usb.c:28:18: error: ltdl.h: No such file or directory<br>scan_usb.c:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dl_handle'<br>scan_usb.c: In function 'nutscan_load_usb_library':<br>scan_usb.c:46: error: 'dl_handle' undeclared (first use in this function)<br>scan_usb.c:46: error: (Each undeclared identifier is reported only once<br>scan_usb.c:46: error: for each function it appears in.)<br>scan_usb.c:55: warning: implicit declaration of function 'lt_dlinit'<br>scan_usb.c:60: warning: implicit declaration of function 'lt_dlopenext'<br>scan_usb.c:62: warning: implicit declaration of function 'lt_dlerror'<br>scan_usb.c:62: warning: assignment makes pointer from integer without a cast<br>scan_usb.c:66: warning: implicit declaration of function 'lt_dlsym'<br>scan_usb.c:67: warning: assignment makes pointer from integer without a cast<br>scan_usb.c:72: warning: assignment makes pointer from integer without a cast<br>scan_usb.c:77: warning: assignment makes pointer from integer without a cast<br>scan_usb.c:82: warning: assignment makes pointer from integer without a cast<br>scan_usb.c:88: warning: assignment makes pointer from integer without a cast<br>scan_usb.c:93: warning: assignment makes pointer from integer without a cast<br>scan_usb.c:98: warning: assignment makes pointer from integer without a cast<br>scan_usb.c:103: warning: assignment makes pointer from integer without a cast<br>make: *** [libnutscan_la-scan_usb.lo] Error 1<br>root@debian:/home/ramazan/Desktop/nut-2.6.3/tools/nut-scanner# <br><br>i didnt find ,how can i install nut-scanner??<br><br>cheers<br>Ramazan<br><br><br><br><br><div><div id="SkyDrivePlaceholder"></div>> Subject: Re: [Nut-upsuser] configure with error<br>> From: fredericbohe@eaton.com<br>> To: ramazan_firin@hotmail.com<br>> CC: nut-upsuser@lists.alioth.debian.org<br>> Date: Wed, 25 Apr 2012 09:52:04 +0200<br>> <br>> Hello Ramazan,<br>> <br>> On Wed, 2012-04-25 at 09:41 +0300, ramazan firin wrote:<br>> > Hi,<br>> > <br>> > <br>> > i am new on Linux so have some problems about installing package.<br>> > <br>> > <br>> > because of installing package is simple,i install debian ,<br>> > and install nut by "apt-get install nut" command. it works fine.<br>> > <br>> > <br>> > i need nut-scanner. i cant find any way to install it witt apt-get.<br>> > i downloaded nut-2.6.3.tar.gz to build and install nut-scanner.<br>> > i hope i run ./configure --with-lib command, nut-scanner can be<br>> > installed.<br>> > <br>> > <br>> > in nut-2.6.3 folder, <br>> > <br>> > <br>> > run ./configure --with-all command. there are errors<br>> > configure: error: "USB drivers requested, but libusb not found."<br>> > <br>> > <br>> > run ./configure --with-snmp , <br>> > configur e: error: "Net-SNMP libraries, but libusb not found." <br>> > <br>> > <br>> > i try to install libusb package but there is a message package is<br>> > already installed..<br>> > <br>> > <br>> > how can i install nut-scanner?<br>> <br>> You should run "./configure" without any parameter. It will use the<br>> available libraries.<br>> If you want nut-scanner to scan USB and SNMP devices, you will need<br>> libsnmp-dev and libusb-dev packages.<br>> <br>> Regards,<br>> Fred<br>> <br>> > <br>> > <br>> > cheers,<br>> > Ramazan<br>> > <br>> > <br>> > <br>> > _______________________________________________<br>> > Nut-upsuser mailing list<br>> > Nut-upsuser@lists.alioth.debian.org<br>> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser<br>> <br>> -- <br>> Team Open Source Eaton - http://powerquality.eaton.com<br>> <br>> --------------------------------------------------------------------------<br></div> </div></body>
</html>