This is a discussion on RE: make doesn't work on compiling snmpd - SNMP ; > From: net-snmp-users-bounces@lists.sourceforge.net > [mailto:net-snmp-users-bounces@lists.sourceforge.net] On > Behalf Of Reza Salehi > After running ./configure whenever I run make,make clean or > make install the result is the same and it goes through an > infinite loop and prints a ...
> From: net-snmp-users-bounces@lists.sourceforge.net
> [mailto:net-snmp-users-bounces@lists.sourceforge.net] On
> Behalf Of Reza Salehi
> After running ./configure whenever I run make,make clean or
> make install the result is the same and it goes through an
> infinite loop and prints a lot of lines and asks over and
> over the questions like >>>default version of SNMP to use(3)
> >>>>System contact information(root)....>>>location to write
> logfile(var/log/snmpd.log)....
>
> It seems "make" is indeed configuring the net-snmp...
My bet is that you're not waiting for configure to finish running before typing "make" at the prompt...
Try putting this in a file, say mknsnmp.sh:
============================ SNIP ===================8<-----------------------
#!/bin/sh
# Run from the build dir
../configure --with-default-snmp-version=3 --with-sys-contact="Me" --with-sys-location="Planet Earth" --with-logfile=/var/log/snmpd.log --with-persistent-directory=/var/net-snmp
echo "OK, I'm done now. You may proceed to make."
============================ SNIP ===================8<-----------------------
Review and modify to suit your needs, then:
$ sh mksnmp.sh
HTH,
Mike
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.p...r_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users