From owner-freebsd-questions@FreeBSD.ORG Thu Sep 25 16:52:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D21D3106568F for ; Thu, 25 Sep 2008 16:52:32 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9A9A98FC1E for ; Thu, 25 Sep 2008 16:52:31 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id D0F5FAFBC01; Thu, 25 Sep 2008 08:52:30 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 25 Sep 2008 18:52:28 +0200 User-Agent: KMail/1.9.7 References: <340a29540809250833u27f7c3d6o5f3bcfe9932056d0@mail.gmail.com> <200809251749.04425.fbsd.questions@rachie.is-a-geek.net> <340a29540809250933g1f76d098y87806ea439c8bfad@mail.gmail.com> In-Reply-To: <340a29540809250933g1f76d098y87806ea439c8bfad@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809251852.29479.fbsd.questions@rachie.is-a-geek.net> Cc: Andrew Falanga Subject: Re: Can't build all in /usr/src/crypto/openssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2008 16:52:32 -0000 On Thursday 25 September 2008 18:33:52 Andrew Falanga wrote: > On Thu, Sep 25, 2008 at 9:49 AM, Mel > > 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 newvers.sh 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, "23.4.14.1. 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 > >> Makefile.in 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' {} \+ ./lib/libpam/modules/pam_ssh/Makefile ./secure/libexec/sftp-server/Makefile ./secure/libexec/ssh-keysign/Makefile ./secure/usr.bin/scp/Makefile ./secure/usr.bin/sftp/Makefile ./secure/usr.bin/ssh/Makefile ./secure/usr.bin/ssh-add/Makefile ./secure/usr.bin/ssh-agent/Makefile ./secure/usr.bin/ssh-keygen/Makefile ./secure/usr.bin/ssh-keyscan/Makefile ./secure/usr.sbin/sshd/Makefile The pam module is the only one outside secure that depends on libssh. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.