Error installing world on FreeBSD 6.3, make installworld
Error installing world on FreeBSD 6.3
Today I encountered the following error while trying to installworld:
# make installworld >>> stage 1.1: legacy release compatibility shims -------------------------------------------------------------- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbi:/usr/bin WORLDTMP=/usr/obj/usr/src/tmp MAKEFLAGS="-m /usr/src/tools/build/mk -j 3 -m /usr/src/share/mk" /usr/obj/usr/src/make.i386/make -f Makefile.inc1 DESTDIR= BOOTSTRAPPING= -DNO_HTML -DNO_INFO -DNO_LINT -DNO_MAN -DNO_NLS -DNO_PIC -DNO_PROFILE -DNO_SHARED -DNO_CPU_CFLAGS -DNO_WARNS legacy awk: illegal statement input record number 1, file /usr/include/osreldate.h source line number 1 "Makefile.inc1", line 101: warning: "awk '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' /usr/include/osreldate.h" returned non-zero status PERMISSION DENIED *** Error code 1
Stop in /usr/src. *** Error code 1
Stop in /usr/src.
==============
After analyzing with truss make installworld I saw that make was generating some internal errors regarding /tmp filesystem. Then I checked /tmp and the mounting options for this filesystem were: rw,noexec,nosuid,nodev,nosymfollow
I then removed all options and left only rw mount option and umount /tmp && mount /tmp (no process was using /tmp).
Then, the make installworld command worked perfectly.
Designed and developed by Andrei Manescu. Optimized for Mozilla Firefox.
Copyright 2007 Andrei Manescu
All trademarks and copyrights on this page are owned by their respective owners. Comments are owned by those who posted them.