Cannot locate /usr/share/examples/svr4 on NetBSD 9.2 32-bit

85 Views Asked by At

I'm attempting to setup a (32-bit) NetBSD 9.2 virtual machine with QEMU so that I can run SPARC binaries on it, specifically those that were compiled on Solaris machines (currently I've compiled a short C program on Solaris 8 and am trying to run it on NetBSD). During this endeavor, one website I was directed to is here. Specifically, step #4 of that page references a /usr/share/examples/emul/svr4 directory, which I cannot locate on my NetBSD instance. The only subdirectory within the .../emul directory is linux.

I largely followed the steps outlined here to install NetBSD.

I'm curious as to what specific packages/configuration settings are required in order to get the .../emul/svr4 directory to appear...

1

There are 1 best solutions below

1
On BEST ANSWER

COMPAT_SVR4 was removed (for various reasons, security and maintenance being the prominent ones) prior to the NetBSD 9 release branch. The manual page you've referenced is actually that of NetBSD 6.0, and is not part of your 9.2 installation.

Thus in order to get started you might install NetBSD 8.2 or even a daily snapshot of the netbsd-8 branch, which is still being maintained.