[Devel] [ openser-Bugs-1675976 ] SNMP mib install ignores packaging location

SourceForge.net noreply at sourceforge.net
Wed Mar 7 22:25:48 CET 2007


Bugs item #1675976, was opened at 2007-03-07 13:29
Message generated for change (Comment added) made by osas
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1675976&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Aron Rosenberg (amr42)
Assigned to: Nobody/Anonymous (nobody)
Summary: SNMP mib install ignores packaging location

Initial Comment:
SVN rev 1711 in modules/snmp/Makefile broke our gentoo ebuild since it tries to install the MIB files outside of the working directory during the install phase.

The condition that is breaking for us is that the build machine has net-snmp-config which cause the make install step to place the files in /usr/share/openser instead of /var/tmp/portage/work/ ... where the packaging system wants it during the make install step.

I can't figure out if it just needs $(cfg-prefix) because the build system vars aren't well documented.

----------------------------------------------------------------------

Comment By: Ovidiu Sas (osas)
Date: 2007-03-07 16:25

Message:
Logged In: YES 
user_id=1395524
Originator: NO

pls try the following patch:
--- Makefile.orig	2007-03-07 16:24:32.000000000 -0500
+++ Makefile	2007-03-07 16:24:52.000000000 -0500
@@ -12,7 +12,7 @@ ifeq ($(BUILDER),)
 	INSTALLMIBDIR = $(cfg-prefix)/share/snmp/mibs
 else
 	BUILDAGENTLIBS = $(shell net-snmp-config --agent-libs)
-	INSTALLMIBDIR = $(shell net-snmp-config --prefix)/share/snmp/mibs
+	INSTALLMIBDIR = $(cfg-prefix)$(shell net-snmp-config
--prefix)/share/snmp/mibs
 endif 
 
 CFLAGS+=

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1675976&group_id=139143



More information about the Devel mailing list