x11/nvidia-driver fails to build from source

hi, i tried to build the nvidia driver from source, for a pascal card

IMG_20200109_005638 (1).jpg


don't know why the nvidia driver has to be a pain in all unix like operating systems
 
On what version of FreeBSD? If you're on 11.3 use packages for everything, including the NVidia driver. If you're on 12.1 use packages for everything except the NVidia driver. At the moment the packages are still being built for 12.0. For 99% of the packages this isn't a problem but kernel modules like the NVidia driver need to be build specifically for the version you have.
 
don't know why the nvidia driver has to be a pain in all unix like operating systems

Here, in this case, a dependency is to blame. If you look closely at the error message, the build process is not interrupted at x11/nvidia-driver, but at devel/llvm80, because of lang/python27.
Code:
===> llvm80-8.0.1_3 needs Python 3.6 at least but 2.7 was specified.
This is a known hickup, see Thread llvm80-8-0-1_3-needs-python-3-6-at-least-but-2-7-was-specified.72618

If you want to build the port install llvm80 first.

If you prefere to build ports in general, then ports-mgmt/portmaster is highly recommanded, particularly the --packages-build option comes handy (portmaster(8)). Instead of building the build dependencies from source, the package is installed. That is a time saver. Ports like llvm80 take hours to build.
 
Back
Top