You are not logged in.
Pages: 1
Hello,
I am trying to compile BSD on ArchLinux for learning. I chose [original] BSD because it's more simpler and therefore easier to learn about than modern operating systems, such as FreeBSD. I have tried using GNU make, but that returns a missing separator error. When trying to use bmake, I get a lot of "missing bsd.*.mk" errors. Therefore, I installed the ones in share/mk. Now, trying to compile, I get a spew of errors that keeps going to the next one. Knowing that won't work, I tried to step through the Makefile manually:
# @(#)Makefile 8.1 (Berkeley) 06/19/93
SUBDIR= bin contrib games include kerberosIV lib libexec old sbin \
share usr.bin usr.sbin
afterinstall:
(cd share/man && make makedb)
build:
(cd include && make install)
make cleandir
(cd lib && make depend && make && make install)
(cd kerberosIV && make depend && make && make install)
make depend && make && make install
.include <bsd.subdir.mk>Going into "include" and running doesn't do anything helpful either:
% bmake install PREFIX=~/fb/usr DESTDIR=~/fb
symlinks: net netccitt netinet netiso netns nfs sys ufs vm
chown: cannot dereference '/home/user/fb/usr/include/net': No such file or directory
chown: cannot dereference '/home/user/fb/usr/include/netccitt': No such file or directory
chown: cannot dereference '/home/user/fb/usr/include/netinet': No such file or directory
chown: cannot dereference '/home/user/fb/usr/include/netiso': No such file or directory
chown: cannot dereference '/home/user/fb/usr/include/netns': No such file or directory
chown: cannot dereference '/home/user/fb/usr/include/nfs': No such file or directory
chown: cannot dereference '/home/user/fb/usr/include/sys': No such file or directory
chown: cannot dereference '/home/user/fb/usr/include/ufs': No such file or directory
chown: cannot dereference '/home/user/fb/usr/include/vm': No such file or directory
*** Error code 1
Stop.
bmake: stopped in /home/user/Build/original-bsd/includeDoes anyone know if this is possible, and if so, what's going wrong?
Thank you for your time.
Offline
https://wiki.freebsd.org/BuildingOnNonFreeBSD
bmake is definitely the right path, but did you use their bootstrap script to ensure needed variables were set?
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
@eschwartz, Sorry, I don't think you understand me correctly. I am trying to compile the original BSD (https://github.com/weiss/original-bsd).
Offline
Oh hmm... does it even contain docs on how to build it? How do you know this is possible?
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
It's 25+ year old code. I highly doubt you'll have much luck building that on a modern system. If you just want to tinker with a simpler unix-like OS, you should check out Minix which is still (relatively) actively developed.
"relatively" in that it *is* actively developed and kept current, but I think the development team is extremely small compared to linux or most of the bsds.
Last edited by Trilby (2020-11-08 16:53:49)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Okay, thanks. I'll try compiling someting else. I have an issue with that, so I'll open a new thread.
Offline
Pages: 1