On 28 July 2011 10:27, anand anand <[email protected]> wrote:
> We are not using 'make install'. Instead we get a tar.gz with all the libs
> and executables including snmpd and related libs which is a  output of a top
> level Make which also takes care of building net-snmp.

> Will there be any issues if the "snmpd" script present in
> net-snmp-5.5.1/agent/ is not executed

Quite possibly, yes.
The "make install" typically re-links the agent binary
so that it can pick up the libraries from the installed location.
  I'm really not sure how well things would work if you skip this step.



> If this script is necessary to run, then how can be integrate this script to 
> our installer.

The usual technique is to run "make install" into a temporary location,
and then have the installer bundle things up from there.

Have a look at the 'dist/net-snmp.spec'  file used for building RPMs.
The install block starts with

    make DESTDIR=%{buildroot} install

(plus some other stuff).
The rpm builder then takes this %{buildroot} tree, and packages the
contents ready to install into the final live location.

That's probably a much safer approach.

Dave

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
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