Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2005 10:00:25 +0100
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        Marius Korsmo <marius@korsmo.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: make buildworld fails in openssl/colldef [SOLVED]
Message-ID:  <42E89EA9.7000508@dial.pipex.com>
In-Reply-To: <20050728031706.fsbcd03hh4lcsg8g@elwolfie.com>
References:  <20050728031706.fsbcd03hh4lcsg8g@elwolfie.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42E89EA9.7000508>