[Devel] [ openser-Bugs-1689986 ] Error during installation of snmpstats module

SourceForge.net noreply at sourceforge.net
Wed Mar 28 17:24:35 CEST 2007


Bugs item #1689986, was opened at 2007-03-28 08:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1689986&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: core
Group: ver 1.2.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error during installation of snmpstats module 

Initial Comment:
Hi,

The following line, used in the target ‘install_module_custom’ in the Makefile of the snmpstats module,  

  $(INSTALL-CFG) mibs/OPENSER* $(INSTALLMIBDIR)

give this error message:

  mibs/OPENSER* /mypath/mibs
  /bin/sh: mibs/OPENSER-MIB: cannot execute

When the global make executes this line to install a module:

  $(MAKE) -C `dirname "$$r"` install_module_custom

$(INSTALL-CFG) has a valid value (ginstall -m 644) but this value is not available in the new instance of make.

According to the documentation of make (5.7.2 Communicating Variables to a Sub-make) '-' is not allowed in the name of exported variables. So, I replaced $(INSTALL-CFG) by $(INSTALL_CFG) in several Makefile and now it works.

The global solution is to rename *all* ${VARIA-BLE} by ${VARIA_ABLE} (At least those who need to be exported to sub-make)

NOTE: For the moment only two modules are concerned: perl and snmpstats.


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

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



More information about the Devel mailing list