Re: make just the binaries & man pages?

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Thu, 26 Aug 2010 17:29:25 -0400, Lee <[email protected]> said:

L> Is it possible to build just the snmpXXX programs and man pages?  I
L> fed this bit to configure:

L> ./configure \
L> --disable-agent         --disable-mibs \
L> --disable-embedded-perl --without-perl-modules \
L> --with-default-snmp-version="2" \
L> --with-libs="-lws2_32"

L> and the "make && make install" did more than just build and install
L> the programs and man pages.  Am I missing something that would slim
L> down & speed up the build?

The problem is that you're still building the trap daemon, which
compiles in a lot of the agent code even though you're not building the
agent.  The future 5.6 version actually has some improvements for this
situation.

L> And is there an easy way to package things up to install on another
L> PC?  It's not that hard to tar/gzip up /usr/local/bin and
L> /usr/local/man, but it'd be nice if I could add another configure flag
L> to cause make to create a tarball or something that I could use to
L> install the progs on another machine.

make install DESTDIR=/tmp/root

and it'll package everything under /tmp/root/usr/local that you can
tar-up easily.
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.