I've got a box running FreeBSD, -RELEASE 8.2, where I am trying to build the -CURRENT 9.0 sources that I've obtained from svn. I checked out the sources to ~/current/head where ~ is /home/rcl. The actual target is an amd64 architecture machine. I've put together some flags to run this build with, but I appear to be missing something:
Things go great for a while, until:
First off, I'm not so sure I want to be putting anything in /usr/obj - this is all for an export to another machine, I don't want the build to leave anything behind. Secondly, /usr/obj/amd64.amd64/usr/home/rcl/current/head/sys/ does exist, but the only directory there is boot/, there's no GENERIC/.
I have a feeling I missed a flag or something similar. What's going on?
Also, my plan for installation is to go grab all this stuff over NFS - what directories am I going to have to export? I thought I would be ok just exporting /FreeBSD-CURRENT/build but that doesn't seem to be the case now.
Thanks,
Robert
Code:
(rootshell)# make buildworld DESTDIR=/FreeBSD-CURRENT/build TARGET=amd64 TARGET_ARCH=amd64 && make installworld DESTDIR=/FreeBSD-CURRENT/build
TARGET=amd64 TARGET_ARCH=amd64 && make installkernel DESTDIR=/FreeBSD-CURRENT/build TARGET=amd64 TARGET_ARCH=amd64 && make distribution
DESTDIR=/FreeBSD-CURRENT/build TARGET=amd64 TARGET_ARCH=amd64
Things go great for a while, until:
Code:
--------------------------------------------------------------
>>> Installing kernel GENERIC
--------------------------------------------------------------
cd /usr/obj/amd64.amd64/usr/home/rcl/current/head/sys/GENERIC; MAKEOBJDIRPREFIX=/usr/obj/amd64.amd64 MACHINE_ARCH=amd64
MACHINE=amd64 CPUTYPE= GROFF_BIN_PATH=/usr/obj/amd64.amd64/usr/home/rcl/current/head/tmp/legacy/usr/bin
GROFF_FONT_PATH=/usr/obj/amd64.amd64/usr/home/rcl/current/head/tmp/legacy/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/amd64.amd64/usr/home/rcl/current/head/tmp/legacy/usr/share/tmac
PATH=/usr/obj/amd64.amd64/usr/home/rcl/current/head/tmp/legacy/usr/sbin:/usr/obj/amd64.amd64/usr/home/rcl/current/head/tmp/legacy/usr/bin:/usr/
obj/amd64.amd64/usr/home/rcl/current/head/tmp/legacy/usr/games:/usr/obj/amd64.amd64/usr/home/rcl/current/head/tmp/usr/sbin:/usr/obj/amd64.amd64/
usr/home/rcl/current/head/tmp/usr/bin:/usr/obj/amd64.amd64/usr/home/rcl/current/head/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make
KERNEL=kernel install
cd: can't cd to /usr/obj/amd64.amd64/usr/home/rcl/current/head/sys/GENERIC
*** Error code 2
First off, I'm not so sure I want to be putting anything in /usr/obj - this is all for an export to another machine, I don't want the build to leave anything behind. Secondly, /usr/obj/amd64.amd64/usr/home/rcl/current/head/sys/ does exist, but the only directory there is boot/, there's no GENERIC/.
I have a feeling I missed a flag or something similar. What's going on?
Also, my plan for installation is to go grab all this stuff over NFS - what directories am I going to have to export? I thought I would be ok just exporting /FreeBSD-CURRENT/build but that doesn't seem to be the case now.
Thanks,
Robert