[FUG-BR] Upgrade 4.11 to 6.1
Renato Botelho
garga em FreeBSD.org
Quarta Julho 19 19:10:49 BRT 2006
Evandro Zampieri wrote:
> Estou tendo problema no upgrade de um server 4.11 pro 6.1... ja no make
> buildworld aparece os erros abaixo:
>
> # cd /usr/src/
> # make buildworld
>
> --------------------------------------------------------------
>>>> Building an up-to-date make(1)
> --------------------------------------------------------------
> rm -f .depend
> mkdep -f
> .depend -a -I/usr/src/usr.bin/make -DOLD_JOKE=1 -DMAKE_VERSION=\"5200408120\"
> -D__FBSDID=__RCSID -DDEFSHELLNAME=\"sh\" /usr/src/usr.bin/make/arch.c
> /usr/src/usr.bin/make/buf.c /usr/src/usr.bin/make/cond.c
> /usr/src/usr.bin/make/dir.c /usr/src/usr.bin/make/for.c
> /usr/src/usr.bin/make/hash.c /usr/src/usr.bin/make/hash_tables.c
> /usr/src/usr.bin/make/job.c /usr/src/usr.bin/make/lst.c
> /usr/src/usr.bin/make/main.c /usr/src/usr.bin/make/make.c
> /usr/src/usr.bin/make/parse.c /usr/src/usr.bin/make/proc.c
> /usr/src/usr.bin/make/shell.c /usr/src/usr.bin/make/str.c
> /usr/src/usr.bin/make/suff.c /usr/src/usr.bin/make/targ.c
> /usr/src/usr.bin/make/util.c /usr/src/usr.bin/make/var.c
> In file included from /usr/src/usr.bin/make/arch.c:107:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/cond.c:59:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/dir.c:97:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/for.c:55:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/job.c:131:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/main.c:82:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/make.c:80:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/parse.c:86:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/str.c:49:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/suff.c:102:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/targ.c:84:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/util.c:59:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/var.c:96:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> mkdep: compile failed
> *** Error code 1
>
> Stop in /usr/src/usr.bin/make.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> #
>
>
> Meu ports-supfile esta assim:
> *default host=cvsup2.FreeBSD.org
> *default base=/usr
> *default prefix=/usr
> *default release=cvs tag=.
> *default delete use-rel-suffix
> *default compress
> #ports-all
> ports-base
> ports-comms
> ports-devel
> ports-dns
> ....
>
> Meu stable-supfile esta assim:
> *default host=cvsup2.FreeBSD.org
> *default base=/usr
> *default prefix=/usr
> *default release=cvs tag=.
> *default delete use-rel-suffix
> *default compress
> src-all
Bom, essa não é uma atualização recomendada, o ideal é instalar um novo
sistema com o 6.x. Do 4 pro 5 houveram muitas mudanças...
Mas, não é recomendado não quer dizer que é impossível. Algumas máquinas
do cluster .freebsd.org foram migradas recentemente do 4.11 pro 6.0 e
funcionou perfeitamente. Primeiro foi atualizada pro 5.x e depois do 5
pro 6.
Tenho uma documentação que o cara que fez a atualização, o Ken Smith, me
passou, está no meu trabalho e posso lhe passar amanhã se você quiser.
[]s
Mais detalhes sobre a lista de discussão freebsd