Re: Compiling Binaries for HP UX

Johannes Schmidt-Fischer <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization InterFace AG
Message-ID <[email protected]>
Hello,

I'd suggest that you run configure with the option --prefix=dir where
dir is an empty directory like $HOME/inst-net-snmp on any of your HP-UX
servers with ANSI-C installed. After that you run make on that machine.

Finally you'll have all files that are to be installed on all of your
HP-UX servers in that directory. Save all those files with tar relative
from that directory. Afterwards you might unpack that tar file under
/usr/local at all other HP-UX machines.

Note that all those machines must be equivalent (same processor type,
same operating system version etc.).

It might be necessary to link all binaries statically since HP-UX looks
for the dynamic libraries in the directory they've been at link time
when starting any binary. Due to that installing under HP-UX implies
another linking step for every binary that is to be installed.

Hope that helps

Johannes

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

-- 
Johannes Schmidt-Fischer

InterFace AG                 phone  +49 (0)89 / 610 49 - 207
Leipziger Str. 16            fax    +49 (0)89 / 610 49 - 85
D-82008 Unterhaching         mobile +49 (0)171/ 787 76 01
http://www.InterFace-AG.com  mailto:[email protected]

-------------------------------------------------------------------------
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.