Summary: | x11/nvidia-driver: ERROR- requires kernel source files | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Gerard Seibert <gerard_seibert> |
Component: | Individual Port(s) | Assignee: | Alexey Dokuchaev <danfe> |
Status: | Closed Not A Bug | ||
Severity: | Affects Only Me | CC: | gerard_seibert, iwtcex |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(danfe) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Gerard Seibert
2020-01-04 17:05:32 UTC
So, what's the actual issue? If you want/need to build the driver from the ports tree (that is, from source), just like any other kernel module, it requires kernel sources under SRC_BASE (typically /usr/src). If this directory is empty, it means that you had neither installed the corresponding FreeBSD distribution set (src.txz) nor checked the source code out from the Subversion repository -- you should do one of those things prior to building the port. Alternatively, you might want to install the driver in a pre-compiled form from the binary packages with pkg(8) tool. Please tell us if you manage to successfully install the driver so this bug can be closed (even though it is technically not a bug). (In reply to Alexey Dokuchaev from comment #2) I can build this port via 'poudriere', but not from the command line. At the very least, the port should announce that it will not build sans kernel sources under SRC_BASE (typically /usr/src). Perhaps a note in 'pkg-descr' or a mention of this in "UPDATING" when the port is updated. Feel free to close this report. |