New BSD user here. I've recently switched from linux to GhostBSD on my laptop and started messing with FreeBSD on my little home server.
I wanted to start porting a couple of applications that I used on Linux (lbry and riot.im desktop app and the ion shell) when I realized that the system is missing a couple of files that are present on my default FreeBSD install.
For example, I am unable to start building anything from ports:
Code: Select all
$ portsnap fetch
$ portsnap extract
$ cd /usr/ports/net/netcat/
$ make
make: "/usr/ports/Mk/bsd.port.mk" line 1173: Unable to determine OS version. Either define OSVERSION, install /usr/include/sys/param.h or define SRC_BASE.
Code: Select all
$ ls /usr/include/sys/
disk
$ ls /usr/include/sys/disk/
$
Code: Select all
# ON FREEBSD
$ whereis cc
cc: /usr/bin/cc /usr/share/man/man1/cc.1.gz
$ whereis clang
clang: /usr/bin/clang /usr/share/man/man1/clang.1.gz
# ON GHOSTBSD
$ whereis cc
cc: /usr/share/man/man1/cc.1.gz
$ whereis clang
clang: /usr/share/man/man1/clang.1.gz