From owner-freebsd-questions@FreeBSD.ORG Thu Jul 28 09:00:28 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B9AD16A41F for ; Thu, 28 Jul 2005 09:00:28 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out1.blueyonder.co.uk (smtp-out1.blueyonder.co.uk [195.188.213.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9B6643D46 for ; Thu, 28 Jul 2005 09:00:26 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [82.41.37.55] ([82.41.37.55]) by smtp-out1.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Thu, 28 Jul 2005 10:01:11 +0100 Message-ID: <42E89EA9.7000508@dial.pipex.com> Date: Thu, 28 Jul 2005 10:00:25 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.8) Gecko/20050530 X-Accept-Language: en, en-us, pl MIME-Version: 1.0 To: Marius Korsmo References: <20050728031706.fsbcd03hh4lcsg8g@elwolfie.com> In-Reply-To: <20050728031706.fsbcd03hh4lcsg8g@elwolfie.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 28 Jul 2005 09:01:11.0444 (UTC) FILETIME=[E68BA540:01C59352] Cc: freebsd-questions@freebsd.org Subject: Re: make buildworld fails in openssl/colldef [SOLVED] 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, 28 Jul 2005 09:00:28 -0000 Marius Korsmo wrote: >It took two weeks to fix this problem, and therefore I do have a few questions. > >The error turned out to be in err.h. The file located in /usr/include was >totally different from the one located in /usr/src/include. > >< /*- >< * Copyright (c) 1993 >< *The Regents of the University of California. All rights reserved. >--- > > >>/* crypto/err/err.h */ >>/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) >> * All rights reserved. >> >> > >You can see the entire diff at http://pastebin.com/322918 > >My question is: I deleted /usr/src, and I cvsup'ed everything. When I do a make >buildworld, why does not the new err.h get copied from /usr/src/include to >/usr/include? This would have solved my problem two weeks ago :) > > build = recompile things install = put them where they belong in the filesystem buildworld doesn't install the file because it's not supposed to. >Does err.h get copied only when you do a make installworld? > > I would expect so. Why don't you try it? >Another question, why on earth did I have an old version of err.h? I was running >5.4 RELEASE, and it was installed from an ISO downloaded at FreeBSD.org > > That does not look like an *old* version, it looks like a completely different file. Did you install anything not from ports that might have overwritten it? Did you try and install a port into a target hierarchy that /usr/local? (The same copyright header as the real 5.4 one exists in err.h from 4.11). Operating system bugs are rare compared to user errors, I'm afraid. --Alex