>>>>> Sanapoori, Hari writes:
Hari> When snmp mibs were complied for the first time, it creates
Hari> directory called "tnm3.0.0" under root directory. This happens
Hari> only if I don't have user-defined directories in PATH and
Hari> LD_LIBRARY_PATH. If I have some user-defined directories in PATH
Hari> and LD_LIBRARY_PATH, it creates the tnm3.0.0 direcotory in some
Hari> other place. Due to this, the Tnm::snmp commands were not found
Hari> when I execute some commands.
Hari> Is there a way to decide where to create the tnm3.0.0
Hari> directory during the complilation of mibs?
Just take a look at Makefile.in. It says:
: prefix = @prefix@
and a bit later
: # Directory in which to install library files belonging to the extension.
: TNM_INSTALL_DIR = $(prefix)/lib/tnm$(TNM_VERSION)
So the TNM_INSTALL_DIR depends on the prefix which itself is
determined during your configure run. If you type ./configure --help,
you will see among other things the switches to set the prefix (which
of course overwrites any determined settings). There is also a hint to
"./configure -help" in step (b) of the README in the unix directory.
This is all standard GNU configure behaviour. There is absolutely no
magic here and things usually work out of the box.
-- Juergen Schoenwaelder Technical University Braunschweig <email@example.com> Dept. Operating Systems & Computer Networks Phone: +49 531 391 3289 Bueltenweg 74/75, 38106 Braunschweig, Germany Fax: +49 531 391 5936 <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>
-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <firstname.lastname@example.org>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.
This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 15:27:42 MET