>вот еще:
>
>make -k installworld
>"/usr/src/Makefile", line 91: warning: "/usr/bin/env -i PATH=/sbin:/bin:/usr/sb
>in:/usr/bin MAKEFLAGS=" -k" make -f /dev/null -V MAKEOBJDIRPREFIX dummy" return
>ed non-zero status
>"/usr/src/Makefile", line 155: warning: "LC_ALL=C date" returned non-zero status
>*** Signal 10 (continuing)
у вас КАША в системе!!!
советую сделать так:
# rm -rf /usr/obj/*
# cvsup 4-Stable
# собрать систему и ядро и заинсталить (потому как неизвестно что
там натворил make installworld при попытке установки собранной 5-STABLE
убедиться что 4-STABLE живет НОРМАЛЬНО, снова почистить /usr/obj/*
Теперь можно сделать cvsup, и для начала лучше на RELEASE-5.3:
tag=RELENG_5_3_0_RELEASE
после того как cvsup отработает, сделать tag=RELENG_5_3 и снова
запустить cvsup чтобы всосать bug-fixes
ТЕПЕРЬ:
1) очень внимательно
# cd /usr/src
# less UPDATING
...
To upgrade in-place from 4.x-stable to current
----------------------------------------------
# 5.x uses more space than 4.x. Also, the location of kernel
# modules has changed. If you are installing 5.0 onto a 4.x
# system, you'll need about 30MB of free disk space on your /
# partition. If you have less than this, you may encounter difficult
# to back out of problems with this procedure. If /tmp is on
# the / partition, you may want to completely remove all its content
# before upgrading, as this can be a common source of shortage of
# space on /.
<make sure you have good level 0 dumps>
<maybe fix /etc/fstab> [7]
make buildworld [9]
make buildkernel KERNCONF=YOUR_KERNEL_HERE [8]
cp sys/${MACHINE}/conf/GENERIC.hints /boot/device.hints [2]
make installkernel KERNCONF=YOUR_KERNEL_HERE
cd sys/boot ; make STRIP="" install [6]
[1]
<reboot in single user> [3]
/usr/src/etc/rc.d/preseedrandom [10]
mergemaster -p [5]
rm -rf /usr/include/g++
make installworld
mergemaster -i [4]
<reboot>
Make sure that you've read the UPDATING file to understand the
tweaks to various things you need. At this point in the life
cycle of current, things change often and you are on your own
to cope. The defaults can also change, so please read ALL of
the UPDATING entries.
2) можно приступить к СБОРКЕ и обязательно по верхнему руководству,
и обязательно mergemaster -p
3) теперь ради бога - можно подниматься на 5-STABLE
PS. Во избежание путаницы - советую ПРОЧИТАТЬ Handbook (прямо на freebsd,org - чтобы последней свежести был) про то КАКИЕ теги/tags
есть на текущий момент и их соответствие CURRENT, STABLE и RELEASE
Грязная система получится, останутся ошметки от 4.x :(
Так как 5.x сильно отличается от 4.x, лучше ее поднимать с НУЛЯ