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://sourcefo
rge.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* $ by
$ (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://sourcefo
rge.net/tracker/?func=detail&atid=743020&aid=1689986
&group_id=139143
_______________________________________________
Devel mailing list
Devel openser.org
htt
p://openser.org/cgi-bin/mailman/listinfo/devel
|