При установке Mono получаю вот это:
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.
* ERROR: dev-lang/mono-4.4.1.0::gentoo failed (pretend phase):
* Kernel not configured; no .config found in /lib/modules/4.4.17-calculate/build
*
* Call stack:
* ebuild.sh, line 115: Called pkg_pretend
* environment, line 3451: Called check_extra_config
* environment, line 690: Called require_configured_kernel
* environment, line 3779: Called die
* The specific snippet of code:
* die "Kernel not configured; no .config found in ${KV_OUT_DIR}";
*
* If you need support, post the output of `emerge --info '=dev-lang/mono-4.4.1.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/mono-4.4.1.0::gentoo'`.
* The complete build log is located at '/var/calculate/tmp/portage/dev-lang/mono-4.4.1.0/temp/build.log'.
* The ebuild environment file is located at '/var/calculate/tmp/portage/dev-lang/mono-4.4.1.0/temp/environment'.
* Working directory: '/usr/lib64/python3.4/site-packages'
* S: '/var/calculate/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1.0'
* Messages for package dev-lang/mono-4.4.1.0:
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.
* ERROR: dev-lang/mono-4.4.1.0::gentoo failed (pretend phase):
* Kernel not configured; no .config found in /lib/modules/4.4.17-calculate/build
*
* Call stack:
* ebuild.sh, line 115: Called pkg_pretend
* environment, line 3451: Called check_extra_config
* environment, line 690: Called require_configured_kernel
* environment, line 3779: Called die
* The specific snippet of code:
* die "Kernel not configured; no .config found in ${KV_OUT_DIR}";
*
* If you need support, post the output of `emerge --info '=dev-lang/mono-4.4.1.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/mono-4.4.1.0::gentoo'`.
* The complete build log is located at '/var/calculate/tmp/portage/dev-lang/mono-4.4.1.0/temp/build.log'.
* The ebuild environment file is located at '/var/calculate/tmp/portage/dev-lang/mono-4.4.1.0/temp/environment'.
* Working directory: '/usr/lib64/python3.4/site-packages'
* S: '/var/calculate/tmp/portage/dev-lang/mono-4.4.1.0/work/mono-4.4.1.0'
С gentoo и calculate знаком день, матчасти не знаю.
Установлено и работает ванильное ядро 4.8, но из вывода консоли можно предположить, что .config ищется в папке со старым ядром.
Помогите, пожалуйста, разобраться в проблеме и пофиксить.