[Solved] Missing files/binaries after installation of 20.01
Posted: Sun Feb 09, 2020 2:35 pm
Hi,
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:
When I check /usr/include/sys is completely empty.
Additionally, it seems like that clang is not installed unlike on freebsd.
Also, the rust pkg seems to be broken, but it's most likely only the missing cc hard link, like in FreeBSD. Even though, if I install llvm to have clang, then add a simlink to cc, I get some weird linker errors, that doesn't exists on FreeBSD with the default clang + rust pkg installed.
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