‘m trying buildworld under FreeBSD operating system. But I’m getting an error which read as follows:
————————————————————–
>>> Building an up-to-date make(1)
————————————————————–
cd: can’t cd to /usr/src/usr.bin/make
*** Error code 2Stop in /usr/src.
*** Error code 1Stop in /usr/src.
How do I fix this problem?
You need upto date FreeBSD source tree. Type the following command to fetch FreeBSD src tree:
# cp /usr/share/examples/cvsup/standard-supfile /root/standard-supfile
# vi /root/standard-supfile
Set default host as follows:
*default host=cvsup4.us.FreeBSD.org
Save and close the file. Now get source code, enter:
# cvsup /root/standard-supfile
To build system use regular commands:
# make clean && make buildworld
# make buildkernel KERNCONF=kernelname
# make installkernel KERNCONF=kernelname
See how-to: Update The FreeBSD From Previous Releases Using Source Code (CVSUP method) for details about building world and install a new kernel under FreeBSD operating system.
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
- RSS feed or Weekly email newsletter
- Share on Twitter • Facebook • 1 comment... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
Thanks!