Can't build all in /usr/src/crypto/openssh

Mel fbsd.questions at
Thu Sep 25 16:52:32 UTC 2008

On Thursday 25 September 2008 18:33:52 Andrew Falanga wrote:
> On Thu, Sep 25, 2008 at 9:49 AM, Mel
> <fbsd.questions at> wrote:
> > On Thursday 25 September 2008 17:33:56 Andrew Falanga wrote:
> >> Hi,
> >>
> >> I've just updated my sources for 6.2-RELEASE.  It took me from p11 to
> >> p12.  The changes were quite minor.  Only changes were to UPDATING
> >> (obviously), channels.c in the openssh directory and a file
> >> in /usr/src/conf.  So, instead of rebuilding world, since the UPDATING
> >> notes say that the changes only affect sshd, I'm following the
> >> instructions in the handbook for section, " Do I need to
> >> re-make the world for every change?."  The instructions state, "... go
> >> to the appropriate sub-directories and make all install."  However,
> >> when I do this I get, "make: don't know how to make all.  Stop."
> >>
> >> So, what do I tell it to do?  Especially, considering that the
> >> in this directory (/usr/src/crypto/openssh), appears to
> >> have a default rule of "all."
> >
> > Openssh/ssl is distributed accross the source tree. crypto/openssh only
> > contains the imported sources, not the files that FreeBSD actually uses
> > to build them.
> > cd /usr/src/secure && make all install should work for you (but will also
> > rebuild openssl and sendmail).
> Because this will rebuild OpenSSL, would it be advisable to rebuild
> the world or is this sufficient?

Bad choice of words on my part. It won't rebuild openssl, if you still 
have /usr/obj/usr/src/* from last time. But it will go through the motions to 
see if stuff needs to be rebuilt. It will only rebuild libssh and anything 
that uses libssh:
# find . -name 'Makefile' -exec grep channels.c {} \+
./secure/lib/libssh/Makefile:   canohost.c channels.c cipher.c cipher-acss.c 
cipher-aes.c \

# find . -name 'Makefile' -exec grep -l 'DPADD.*LIBSSH' {} \+

The pam module is the only one outside secure that depends on libssh.


Problem with today's modular software: they start with the modules
    and never get to the software part.

More information about the freebsd-questions mailing list