Re: Compiling Binaries for HP UX

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> "m" == mcdonnellt  <[email protected]> writes:

m> I have been able to successfully compile and install net-snmp 5.3.1
m> on a couple of my servers, but have run into an issue where most of
m> the rest of my servers do not have ANSI C installed, so running
m> make and make install on these machines fail.  I would like to
m> simply compile the binaries on one of the machines that has ANSI C
m> installed on it, but do not know the appropriate commands for make
m> install.  Any help is appreciated as I am a novice in this area.

You should be able to install the files to a temporary location, and
then tar up the results and extract them on the other systems.

make
make install DESTDIR=/tmp/snmp-install
cd /tmp/snmp-install
tar cf my-snmp-install.tar .
[copy to remote machine and log in]
cd /
tar xf my-snmp-install.tar


-- 
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.