>>>>> On Thu, 6 Dec 2001 10:07:01 +0200, "gilly" <gilly@...> said:
gilly> I am trying to build the SNMP package at one path and unpack it
gilly> at a different path. The build path is equal the unpack path
gilly> but with an added prefix. How can this be done? I tried
gilly> setting the 'prefix' variable in the configure.in file, but I
gilly> encounter a problem in which this prefix is set in some
gilly> run-time variables (search paths for various files) and break
gilly> the correct running of the packages.
The proper thing to do is to build it with configure
--prefix=/the/real/install/path and then run make as normal. When you
get to running make install, since you don't want it to install into the
configured path, you should instead:
make install prefix=/my/other/path exec_prefix=/my/other/path
Please mail all replies to net-snmp-coders@...