Subject: Re: Upgrading from 1.5.2 to -current?
To: Brad Knowles <brad.knowles@skynet.be>
From: Brad Knowles <brad.knowles@skynet.be>
List: port-sparc
Date: 04/17/2002 16:09:42
At 3:48 PM +0200 2002/04/17, Brad Knowles wrote:
> I seem to recall that you had posted some steps that you had used
> to build your system. I'll see if I can find them and adapt them
> to my situation.
I found the instructions that you had previously posted, and
started with the first step:
% ./build.sh -t
===> Bootstrapping nbmake
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
[ ... deletia ... ]
cc -O -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1
-DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1 -DMAKE_BOOTSTRAP
-I/u/src/tools/make/../../usr.bin/make -c
/u/src/tools/make/../../usr.bin/make/lst.lib/lstSucc.c
cc -O -o nbmake *.o
===> DESTDIR path:
===> TOOLDIR path: /u/tools
obj ===> tools
obj ===> tools/host-mkdep
making /u/src/tools/host-mkdep/obj
obj ===> tools/.WAIT
cd: can't cd to /u/src/tools/.WAIT
*** Error code 2
Stop.
nbmake: stopped in /u/src/tools
*** Error code 1
Stop.
nbmake: stopped in /u/src
IMO, this doesn't appear to be much different from what I have
previously seen. Here's what my /etc/mk.conf looks like now:
% cat /etc/mk.conf
USE_NEW_TOOLCHAIN?= yes
MKTOOLS?= yes
USETOOLS?= yes
TOOLDIR?= /u/tools
And here is what /u looks like:
% ls -la /u
total 12
drwxr-xr-x 6 root wheel 512 Apr 17 16:08 .
drwxr-xr-x 16 root wheel 512 Apr 5 16:50 ..
drwxr-xr-x 3 root wheel 512 Apr 5 18:25 home
drwxrwxr-x 19 root wheel 512 Apr 16 19:36 src
drwxrwxrwt 2 root wheel 512 Apr 17 16:00 tmp
drwxrwxr-x 3 root wheel 512 Apr 17 16:03 tools
Finally, here's what /usr looks like:
% ls -la /usr
total 62
drwxr-xr-x 15 root wheel 512 Apr 17 15:59 .
drwxr-xr-x 16 root wheel 512 Apr 5 16:50 ..
drwxr-xr-x 2 root wheel 5632 Apr 5 15:44 bin
drwxr-xr-x 3 root wheel 1024 Apr 5 15:42 games
drwxr-xr-x 38 root wheel 2560 Apr 5 15:41 include
drwxr-xr-x 2 root wheel 6656 Apr 5 15:42 lib
drwxr-xr-x 3 root wheel 512 Aug 21 2001 libdata
drwxr-xr-x 7 root wheel 1024 Apr 5 15:44 libexec
drwxr-xr-x 2 root wheel 512 Aug 21 2001 lkm
drwxr-xr-x 9 root wheel 512 Apr 9 12:42 local
drwxr-xr-x 2 root wheel 512 Aug 23 2001 mdec
drwxr-xr-x 13 root wheel 512 Apr 5 21:34 pkg
drwxrwxr-x 46 root wheel 1024 Apr 5 19:24 pkgsrc
drwxr-xr-x 2 root wheel 3584 Apr 5 15:42 sbin
drwxr-xr-x 26 root wheel 512 Aug 21 2001 share
lrwxrwxr-x 1 root wheel 6 Apr 9 19:39 src -> /u/src
lrwxrwxr-x 1 root wheel 6 Apr 16 12:07 tmp -> /u/tmp
lrwxrwxr-x 1 root wheel 8 Apr 17 15:59 tools -> /u/tools
--
Brad Knowles, <brad.knowles@skynet.be>
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-Benjamin Franklin, Historical Review of Pennsylvania.