From owner-freebsd-questions Thu Apr 11 14:32:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id B36C837B404 for ; Thu, 11 Apr 2002 14:32:15 -0700 (PDT) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id OAA11610; Thu, 11 Apr 2002 14:32:09 -0700 Message-ID: <3CB600D7.6080008@owt.com> Date: Thu, 11 Apr 2002 14:32:07 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Shawn Kennedy Cc: questions@FreeBSD.ORG Subject: Re: Build error - Confused! References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Shawn Kennedy wrote: > Hello, > > I have a box that I cvsup'ed a few days ago > (was last updated about 2 months ago). I > then did a 'make world' as I don't have anything > fancy on the box and am not running anything > critical on the system - if I mess it up, no > real loss. And, I did cvsup the whole tree > (including all ports). > > But (you had to know this was coming!!) when > I did the build, it died while building the > libraries. I've attached the build output at > near the relevant section (in libpam). > Any ideas? I'd like not to wipe out > all my settings and start over. Also, if you > have any words of wisdom about future updating, > I'm very open! > rm -f .depend > mkdep -f .depend -a -I/usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh /usr/src/lib/libpam/modules/pam_ssh/pam_ssh.c > /usr/src/lib/libpam/modules/pam_ssh/pam_ssh.c:69: log.h: No such file or directory > In file included from /usr/src/lib/libpam/modules/pam_ssh/pam_ssh.c:70: > /usr/src/lib/libpam/modules/pam_ssh/pam_ssh.h:31: warning: `SSH_CLIENT_IDENTITY' redefined > /usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh/ssh.h:105: warning: this is the location of the previous definition > /usr/src/lib/libpam/modules/pam_ssh/pam_ssh.h:32: warning: `SSH_CLIENT_ID_DSA' redefined > /usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh/ssh.h:106: warning: this is the location of the previous definition > mkdep: compile failed > *** Error code 1 > > Stop in /usr/src/lib/libpam/modules/pam_ssh. > *** Error code 1 > I am assuming that you did not cvsup src-all. The other thing is that make world has not been the recommended way of updating a system since they introduce 4.1. The method in /usr/src/UPDATING is the following To update from 4.0-RELEASE or later to the most current 4.x-STABLE ---------- make buildworld make buildkernel KERNCONF=YOUR_KERNEL_HERE make installkernel KERNCONF=YOUR_KERNEL_HERE reboot (in single user) [1] make installworld mergemaster [2] reboot Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message