How to install Hynetd-0.2.3 under ubuntu 6.06?
zhihang wang
zhihang.wang at gmail.com
Sat Feb 3 16:34:35 UTC 2007
I want to install the Hynetd-0.2.3 under ubuntu 6.06. I read the INSTALL
file with the Hynetd package and I know it needs *net-snmp ver 5.2 or
higher*.
I download the net-snmp rpm package from the webset and use alien commant to
change this package to deb package. Then I use
sudo dpkg -i
to install this package. But I can't successfull. the error message is:
(Reading database ... 110095 files and directories currently installed.)
Unpacking net-snmp (from net-snmp_5.4-2_i386.deb) ...
dpkg: error processing net-snmp_5.4-2_i386.deb (--install):
trying to overwrite `/usr/share/man/man1/encode_keychange.1.gz', which is
also in package snmp
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
net-snmp_5.4-2_i386.deb
Then I use the following instruction to intstall the net-snmp package.
sudo apt-get install *libsnmp-base, libsnmp5, snmp and snmpd*
Although I install these package successfully, I still can't install the
Hynetd package.
When I type make command, the following error messages occur:
gcc -c -Wall -ggdb -DDEBUG -o scanner.o scanner.c
In file included from scanner.h:28,
from scanner.c:21:
snmp.h:31:38: error: net-snmp/net-snmp-config.h: No such file or directory
snmp.h:32:40: error: net-snmp/net-snmp-includes.h: No such file or directory
scanner.c: In function 'testSnmp':
scanner.c:633: error: storage size of 'session' isn't known
scanner.c:643: warning: implicit declaration of function 'snmp_sess_init'
scanner.c:645: error: 'SNMP_VERSION_1' undeclared (first use in this
function)
scanner.c:645: error: (Each undeclared identifier is reported only once
scanner.c:645: error: for each function it appears in.)
scanner.c:650: warning: implicit declaration of function 'snmp_sess_open'
scanner.c:650: warning: assignment makes pointer from integer without a cast
scanner.c:651: warning: implicit declaration of function 'snmp_perror'
scanner.c:655: warning: implicit declaration of function 'snmp_sess_session'
scanner.c:655: warning: assignment makes pointer from integer without a cast
scanner.c:666: error: dereferencing pointer to incomplete type
scanner.c:667: error: dereferencing pointer to incomplete type
scanner.c:675: error: 'ASN_INTEGER' undeclared (first use in this function)
scanner.c:693: error: dereferencing pointer to incomplete type
scanner.c:694: error: dereferencing pointer to incomplete type
scanner.c:696: error: 'ASN_IPADDRESS' undeclared (first use in this
function)
scanner.c:723: warning: implicit declaration of function 'snmp_sess_close'
scanner.c:633: warning: unused variable 'session'
scanner.c: In function 'snmpclient':
scanner.c:794: error: storage size of 'session' isn't known
scanner.c:814: error: 'SNMP_VERSION_1' undeclared (first use in this
function)
scanner.c:823: warning: assignment makes pointer from integer without a cast
scanner.c:857: error: 'ASN_IPADDRESS' undeclared (first use in this
function)
scanner.c:870: error: 'ASN_INTEGER' undeclared (first use in this function)
scanner.c:878: error: 'ASN_GAUGE' undeclared (first use in this function)
scanner.c:879: error: 'MAX_OID_LEN' undeclared (first use in this function)
scanner.c:794: warning: unused variable 'session'
make: *** [scanner.o] Error 1
Would any one help me?
--
Best Regards
zhihang wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070204/5f0cea3d/attachment.html>
More information about the ubuntu-users
mailing list