Michael

You are trying to compile and install net-snmp, right ? In Ubuntu, you
don't need to compile the snmp client, you can install the snmp client
using "snmp" and "snmpd" packages.

If you really need to compile the agent, and already have libperl-dev
package installed, the remaining procedure outlines are:

1. Unpack the tar.gz package from net-snmp site.
2. cd to unpackaged directory
3. run ./configure --with-perl-modules
4. make (don't need make clean or other cleanup routines if you are
not working on client code).
5. make install (as root)
The files will be installed in default dir: /usr/local
6. run snmpconf (see tutorials below in section "Application Configuration").

You can start the SNMP daemon by: /usr/local/sbin/snmpd

When you reach this point email again with more doubts.

Never forget the tutorial pages in:

http://www.net-snmp.org/wiki/index.php/Tutorials

Specially sections "Application Configuration" and "Net-SNMP Daemons".

Regards

-Ricardo

2012/6/17, Michael Zimmers <[email protected]>:
>>> There's still a bunch of files with "snmp" in their names in /usr.
>>
>> Right - those will almost certainly be part of the Ubuntu-provided
>> version of the package.
>> I would tend to recommend that you remove this before trying to
>> compile the software
>> yourself.   (It's perfectly possible to run the two in parallel.   But
>> it's also very easy to get
>> confused between the two, so it's simpler to start with a completely
>> clean sheet!)
>>
>>
>>> Should I do some more clean-up before proceeding, and if so, what would
>>> you recommend?
>>
>> I'm more familiar with RedHat/Fedora - i.e. RPM-based systems rather
>> than Debian/Ubuntu.
>> But try using the normal package management tools (?apt, or some
>> graphical admin tool)
>> to remove the vendor-provided net-snmp package(s)
>
> OK...it turns out I did have another snmp package installed. I ran the
> uninstaller on that.
>
> There were still a bunch of files left over in /bin, /lib and /usr, so I
> deleted those manually. Just to be really sure, I also ran make clean, make
> distclean and deleted the unpacked directory. Anything else I might do
> before I unpack and start over?
>
> Thanks.
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> 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
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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

Reply via email to