Bug 243087 - x11/nvidia-driver: ERROR- requires kernel source files
Summary: x11/nvidia-driver: ERROR- requires kernel source files
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-04 17:05 UTC by Gerard Seibert
Modified: 2020-01-07 14:56 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (danfe)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerard Seibert 2020-01-04 17:05:32 UTC
FreeBSD-11.3-RELEASE-p5 amd64

I am attempting to install the x11/nvidia-driver. Unfortunately, it will not install. This is the error message, which is emitted immediately when attempting to build the port.

/usr/ports/x11/nvidia-driver # make                                                                 
===>  nvidia-driver-440.31 requires kernel source files in SRC_BASE=/usr/src.                       
*** Error code 1                                                                                    
                                                                                                    
Stop.                                                                                               
make: stopped in /usr/ports/x11/nvidia-driver

The "/usr/src" directory is in fact, completely empty.
Comment 1 Alex S 2020-01-07 14:56:34 UTC
So, what's the actual issue?