scp in dropbearmulti?
Rob Landley
rob at landley.net
Thu Oct 1 17:21:21 WST 2009
On Thursday 01 October 2009 00:37:52 Matt Johnston wrote:
> On Thu, Oct 01, 2009 at 12:34:30AM -0500, Rob Landley wrote:
> > On Wednesday 30 September 2009 22:46:17 Mike Frysinger wrote:
> > > dbscp is already in the multi build
> >
> > Really?
>
> ...
>
> > Where?
>
> ...
>
> > Because I'm not finding it in the output of
> >
> > ./configure
> > make -j 2 MULTI=1
>
> It's not in the list by default. Try something like:
>
> make -j 2 MULTI=1 PROGRAMS="dropbear dbclient dropbearkey dropbearconvert
> scp"
>
> and it should work. I'll make the docs a bit clearer.
I tried that already, why didn't it work?
Ah, I figured it out.
I did a "make" just specifying "MULTI=1" and nothing else (naievely assuming
it'd build everything), then when it didn't include SMP I did another make
with the PROGRAMS= list including scp (dunno where this is documented, I just
read the comment at the top of the makefile). And it did build several more
files with scp in their names... and then once again produced a dropbearmulti
binary that still didn't list scp.
What I _didn't_ do is "make clean" between the two, because I forgot that make
dependencies are horked in the majority of projects in the world. (Make
dependencies are always horked, because make's dependency generation is
obsolete. They have to be maintained by hand and are seldom if ever tested,
so they bit rot for anything but "make all" from a clean state. Meaning you
always need to do a "make clean; make all" when anything actually changes,
such as configuration options or source code.)
I just forgot, my bad.
> Cheers,
> Matt
Rob
--
Latency is more important than throughput. It's that simple. - Linus Torvalds
More information about the Dropbear
mailing list