On 18/07/07, Need Help <[EMAIL PROTECTED]> wrote:
> Excellent ...... looks like if I want to have NetSNMP install itself on our
> build system into "/mybuild/system/directory/usr/local"
> when the "make install" command is executed, but have the actual snmpd
> master agent and subagent run from the "/usr/local" directory on our target
> hardware box, then I can use the following configure options:
>
>     --prefix="/mybuild/system/directory/usr/local"
>     --with-install-prefix="/usr/local"

No - you've got that the wrong way round (I think).
If you want to run from /usr/local on the target box, then you need

     --prefix=/usr/local

If you want to install into /mybuild/system/directory/usr/local
then you need

     --with-install-prefix=/mybuild/system/directory/usr/local


Or else you can build with "--prefix=./usr/local"  (only),
and then run

    make install DESTDIR=/mybuild/system/directory/

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to