RE: make doesn't work on compiling snmpd
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC08EB99B7@mailserver.metatv-ds.metatv.com> |
> From: [email protected] > [mailto:[email protected]] 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.php?banner_id=100&url=/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users