On 17/07/07, Need Help <[EMAIL PROTECTED]> wrote:
> When I perform the "configure" command I provide a "--prefix=/usr/local"
> option value to indicate the NetSNMP package should be installed into
> "/usr/local" after it has been cross-compiled and I run "make install".
That's not quite right.
The role of the "--prefix" flag is to specify where the Net-SNMP package
will be installed when the software is *run*. This path will get hard
coded into various bits of the library and applications.
> I am just wondering whether it would be possible somehow to have
> "configure" install the package contents to some other directory
Hint:
Try running "configure --help" and look for where this mentions:
a) prefix
and
b) install
> Basically, must the install directory locations match on the host machine
> as well as the target machine all the time or is there a way to install to a
> new location on the target hardware box?
Turn the question the other way round.
Ask if there's a way to install the software to a temporary intermediate
directory, before deploying it for real.
The hint immediately above may not be entirely irrelevant here....
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