Problem with docsis_server 2.0.4 | docsis.org

You are here

Problem with docsis_server 2.0.4

7 posts / 0 new
Last post
Anonymous (not verified)
Problem with docsis_server 2.0.4

I am trying to install docsis-server-2.0.4 on Fedora 7. but i have this problem when I run the make command.

[root@localhost docsis-server-2.0.4]# make
gcc -g -O2 -fPIC -I. -c -o libdocsis.o libdocsis.c
libdocsis.c:44:38: error: net-snmp/net-snmp-config.h: No such file or directory
libdocsis.c:45:32: error: net-snmp/utilities.h: No such file or directory
libdocsis.c:46:33: error: net-snmp/config_api.h: No such file or directory
libdocsis.c:47:33: error: net-snmp/output_api.h: No such file or directory
libdocsis.c:48:30: error: net-snmp/mib_api.h: No such file or directory
libdocsis.c: In function ‘docsis_initialize’:
libdocsis.c:182: error: ‘NETSNMP_DS_LIBRARY_ID’ undeclared (first use in this function)
libdocsis.c:182: error: (Each undeclared identifier is reported only once
libdocsis.c:182: error: for each function it appears in.)
libdocsis.c:182: error: ‘NETSNMP_DS_LIB_PRINT_NUMERIC_OIDS’ undeclared (first use in this function)
libdocsis.c:186: error: ‘NETSNMP_DS_LIB_PRINT_NUMERIC_ENUM’ undeclared (first use in this function)
libdocsis.c:190: error: ‘NETSNMP_DS_LIB_PRINT_FULL_OID’ undeclared (first use in this function)
libdocsis.c:210: error: ‘NETSNMP_DS_LIB_OID_OUTPUT_FORMAT’ undeclared (first use in this function)
libdocsis.c:211: error: ‘NETSNMP_OID_OUTPUT_SUFFIX’ undeclared (first use in this function)
libdocsis.c:213: error: ‘NETSNMP_DS_LIB_RANDOM_ACCESS’ undeclared (first use in this function)
make[1]: *** [libdocsis.o] Error 1
make[1]: Izlazim iz direktorija `/etc/docsis-server-2.0.4/docsis_lib'
make: *** [libdocsis] Error 2

I even try with command
#rpm -qa |grep net-snmp
but nothing change. I get the same respond after make command.
Please, help me... Thanks.

DocsisAdmin
Doesn't look like net-snmp-devel is installed?

yum install net-snmp-devel
apt-get install net-snmp-devel

kuguars (not verified)
OK

Thanks.
The first command is working but when I type the second one i get this answer:
[root@dsldevice ~]# apt-get install net-snmp-devel
bash: apt-get: command not found

Can you help me?

DocsisAdmin
Try compiling again

Sorry - I didn't mention that those were commands for different types of Linux systems. I didn't know which type of system you were running so I suggested both. Since the first one worked, you can try recompiling again. "Yum" is the program that installs software. In your case, the net-snmp development libraries were not installed, so you typed "yum install net-snmp-devel" to fix that.

kuguars (not verified)
Working

Thanks, yoyo. Now it is working.
Can you tell me how to enter values into the dhsp_server config_nets table?
see, i am a rookie for mysql and the guy how suposed to teach me how to do this is on a vacation.
So, i am all alone. please, if you have time answer me.
thanks again.

DocsisAdmin
Not familiar with docsis_server :(

Sorry - I've never used docsis_server before -- I don't know anything about the configuration or setup for the program. The only thing I can suggest is to follow the documentation at http://users.accesscomm.ca/docsis_server/ - specifically, the part that talks about populating the databases:

http://users.accesscomm.ca/docsis_server/howto_4.html

kuguars (not verified)
Thanks anyway :(

Hm, I knew it. i just don't have luck with this docsis_server.
Well, if that is the only way, I am gonna do it. Step by step.
The only problem is that I don't have to much time to finish that.
So, if you know any other software (free) for cable modem provisioning, please, sheare with me.

Thank you,yoyo. again, and again....

Log in or register to post comments