> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Dave Shield
> Sent: Tuesday, February 12, 2008 6:32 AM
> On 12/02/2008, Mariusz Iwański <[EMAIL PROTECTED]> wrote:
> > > .... try deleting the block of code from
> > >
> > > sedscript: sedscript.in ....
> > >
> > > through to
> > >
> > > EXAMPLE.conf: sedscript EXAMPLE.conf.def
> > > $(SED) -f sedscript $(srcdir)/EXAMPLE.conf.def >
> EXAMPLE.conf
> > >
> >
> > Nothing works I still get error :
> > Makefile:218: *** commands commence before first target. Stop.
>
>
> Ummm...
> Then I'm stumped.
>
> I've checked your Makefile against my 5.4.x version, and there
> are basically no significant differences (and such as there are
> are nowhere near the offending line!).
>
>
> > Is it possible that problem is with "sed" command ??
>
> If you've followed the instuctions above, then this should have
> deleted any mention of sed at all. This feels much more like
> a problem with "make" and/or the Makefile itself.
>
> If you move the block from "local build rules" up to
> "extra install rules" to the end of the Makefile, does
> the location of the error move with it?
>
> Otherwise, I'm out of idea.
> Over to the rest of you....
Oddly, this is completely coincidental. As I'm doing a `make install`:
<SNIP>
install: installed snmp_perl_trapd.pl in
/c/mike/wrk/net-snmp-2/iroot/share/snmp
make[1]: Leaving directory `/c/mike/wrk/net-snmp-2/net-snmp-5.4.1/apps'
making install in /c/mike/wrk/net-snmp-2/net-snmp-5.4.1/man
make[1]: Entering directory `/c/mike/wrk/net-snmp-2/net-snmp-5.4.1/man'
mkdir /c/mike/wrk/net-snmp-2/iroot/man
mkdir /c/mike/wrk/net-snmp-2/iroot/man/man1
mkdir /c/mike/wrk/net-snmp-2/iroot/man/man3
mkdir /c/mike/wrk/net-snmp-2/iroot/man/man5
mkdir /c/mike/wrk/net-snmp-2/iroot/man/man8
make[1]: *** No rule to make target `../sedscript', needed by `snmpbulkget.1'.
Stop.
make[1]: Leaving directory `/c/mike/wrk/net-snmp-2/net-snmp-5.4.1/man'
make: *** [installsubdirs] Error 1
</SNIP>
Now, the error isn't the same, but it's also a sedcript problem... or
is it?
Turns out I ran `make install` without first running make:
<SNIP file="Makefile">
# installlibs handles local, ucd and subdir libs. need to do subdir libs
# before bins, sinze those libs may be needed for successful linking
install: installlocalheaders \
installlibs \
installlocalbin installlocalsbin \
installsubdirs $(OTHERINSTALL)
</SNIP>
Unlike some Makefile configurations, that is not permitted here.
OP, could this be an issue? I know it's a longshot, but I thought I'd
check. Barring that, have you tried `make distclean` followed by
re-configuring?
HTH,
Mike
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users