Re: elsewhere: built snmpd, but where did it go?

This is a discussion on Re: elsewhere: built snmpd, but where did it go? within the SNMP Users forums, part of the Networking and Network Related category; On Sat, 2 Feb 2008, Bennett Haselton wrote: > I'm running into a puzzle on another machine: building snmpd ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-02-2008
Manfred Wassmann
 
Posts: n/a
Default Re: elsewhere: built snmpd, but where did it go?

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
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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:39 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0