Re: elsewhere: built snmpd, but where did it go?
Manfred Wassmann <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 2 Feb 2008, Bennett Haselton wrote:
> I'm running into a puzzle on another machine: building snmpd from source
> finishes with no errors, but doesn't appear to update the only snmpd binary
>
> on the machine.
>
> I built it by downloading net-snmp-5.4.1.tar, then runninig:
> tar xvf net-snmp-5.4.1.tar
> cd net-snmp-5.4.1
> ./configure
> make
> make install
>
> The entire output of the "make install" command, I've posted to:
> http://www.peacefire.org/my-install-log.txt
>
> But after doing the build, the only "snmpd" file I can find is this one:
> [root@D2585 net-snmp-5.4.1]# which snmpd
> /usr/sbin/snmpd
The "which" command does only look into the directories specified in the
PATH environment variable. So if your binary is installed under
/usr/local/sbin -- which usually is the default, if you run configure
without arguments -- and /usr/local/sbin is not in your PATH it will not
find your binary. And usually only root has the sbin directories in the
PATH.
You could have found it with the "whereis" command which does not use the
PATH environment variable but looks in "standard places" which include
/usr/local/sbin.
HTH
--
*** Message ends here ***
I am not responsible for anything added below this line.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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