On 6 October 2011 18:53, Sergey Prilutsky <sprilut...@hotmail.com> wrote:
> After we configured , compiled (make) and install (make install) of the
> net-ntmp 5.7.1 it puts files in different directories.
>
> Can someone tell me how to properly tar ball all of them with the direct
> path, so when we untar it, it will put all files in the appropriate
> location(s) on the target machine?

The usual technique would be to run something like

    make DESTDIR=/tmp/TempRoot install

which would install the files relative to the specified location
(/tmp/TempRoot/etc/snmp,  etc).   This would then contain
*just* the Net-SNMP-related files, and nothing else.

You can therefore create a tarball based on that point, which
can be unpacked at the top level to install everything into the
correct location.
   That's certainly what the RPM spec file we use does.

Dave

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to