On Mon, 7 Jun 2010 12:57:06 +0300 Gregory Edigarov
<[email protected]> wrote:
>
> no excuse, you say....
> well...
>
> # cat /root/build.sh
> rm -rf /usr/obj/*
> rm -rf /usr/include/g++/*
> cd /usr/src && make obj
> cd /usr/src/etc && env DESTDIR=/ make distrib-dirs
> cd /usr/src && make build
>
> # sh build
Just running `rm -rf /usr/include/g++/*` is *_ONLY_* sufficient for
those who are upgrading via snapshots. For those upgrading via source
(i.e. *YOU*), there are a lot more steps listed in current.html
http://www.openbsd.org/faq/current.html
All of this is due to the recent upgrading of gcc3 to gcc4 on the amd64
and sparc64 archs. If you don't follow the procedures in current.html,
then you can be reasonably sure things will become a real mess.
jcr
--
The OpenBSD Journal - http://www.undeadly.org