Artificial intelligent assistant

How do I update lsof port on FreeBSD 9.2? It threw errors about kernel sources missing. So, I looked and sure enough this box doesn't have them. The documentation I have says to install them via sysinstall. That failed both automatically and manually configured server references. I then found elsewhere that sysinstall is no longer supported and that sources should be pulled with Subversion. I pulled the sources into /usr/src with subversion. Lsof still pukes on compile. The Makefile dependency that it is missing appears to be `/usr/src/sys/kern/kern_lockf.c`. I've got a `/usr/src/sys/kern` with several files, but no `kern_lockf.c` anywhere to be found. Supposedly I have the current sources and the current ports. What's going on?

Ultimately, the following command line appears to have solved the problem. I don't recall the original source (or command line) I had used, so I don't know if the documentation I was using was wrong or it was a problem with the mirror:


svn checkout svn://svn.freebsd.org/base/release/9.2.0/ /usr/src

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 593c4b1d50b849efc22f62f77c72dc42