Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Aug 2000 21:26:54 -0500
From:      Oscar Ricardo Silva <oscars@mail.utexas.edu>
To:        fosburgh@flash.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kernel build instructions in /usr/src/UPDATING
Message-ID:  <4.3.2.7.2.20000803211747.00bb92c0@mail.utexas.edu>
In-Reply-To: <Pine.BSF.4.10.10008031852360.12132-100000@gw.fosburgh.org>
References:  <4.3.2.7.2.20000803174103.00b15e40@mail.utexas.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
At 06:53 PM 8/3/00 -0500, Jonathan E Fosburgh, you wrote:
><snip>
> >
> > Anyway, I then attempted to run 'make installworld' but got the same error
> > as before:
> >
> > vm/vm_pager.h -> vm/vm_pager.ph
> > vm/vm_param.h -> vm/vm_param.ph
> > vm/vm_zone.h -> vm/vm_zone.ph
> > vm/vnode_pager.h -> vm/vnode_pager.ph
> > *** Error code 1
> >
>Go search the archives, I reported this when upgrading 3.x->4.0.
>Jonathan Fosburgh


I had found your message and tried what you suggested.  You said to run 
"make -k" but from what I've seen this builds the system and when it runs 
into an error during the build it doesn't stop, but it also doesn't build 
the portions of the system dependant on the portion that caused the 
error.  Wouldn't that leave me with an incomplete build?

I saw that Kris Kenneway had responded saying this was a bug and the 
solution was to try one of the two following methods:

1.  make buildworld
2.  make includes
3.  make installworld

1.  make buildworld
2.  make -k installworld
3.  make installworld

I've tried both ways and I still get the errors about vm/vnode_pager.h

Here is your original message along with Kris' reply:

<http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=144925+147704+/usr/local/www/db/text/2000/freebsd-stable/20000416.freebsd-stable>;
**********
 > I have tried posting this about three times from my computer at home,
 > but it never seems to go through.  Unfortunately, I do not currently
 > have access to the log of this, but if this makes it through this time
 > I will attempt to make it available if anyone requests it.  This
 > problem occurred both when upgrading 3.4-S to 4.0-R and again 4.0-R to
 > 4.0-S. When perl is installing, it dies with Error code 1 when running
 > h2ph (I believe that is what it is doing) on vm/vnode_pager.h.  This
 > file exists both under /include and under /src/sys and I can run h2ph
 > on the one under /src/sys manually (haven't tried the other.)
 > running make -k is a workaround, but I would like to know if anyone
 > has an idea what the problem might be.

make includes before make installworld, or make -k installworld followed
by make installworld, fixes this particular bug (i.e. it won't be
necessary again barring future bugs).

The problem is that libdes was reabsorbed into libcrypto in 4.0, and the
des.h include file replaced by a symlink to openssl/des.h. The problem is
that in certain cases perl is run over the headers after the symlink has
been created, but before the target file has been installed, so perl
follows the symlink into the void and dies.

This is (not surprisingly) a bug in the make world process since some of
the .ph headers will be out of sync with the .h headers. Now that you've
reminded me I'll try and get it fixed so it doesn't affect others in the
future.

Kris
**********


Oscar



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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