Getting FUSE to work...
But, when I try to emerge sys-fs/fuse, I get:
* 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: sys-fs/fuse-2.7.4 failed.
* Call stack:
* ebuild.sh, line 49: Called pkg_setup
* fuse-2.7.4.ebuild, line 29: Called linux-mod_pkg_setup
* linux-mod.eclass, line 579: Called linux-info_pkg_setup
* linux-info.eclass, line 846: Called check_extra_config
* linux-info.eclass, line 698: Called linux_chkconfig_present 'FUSE_FS'
* linux-info.eclass, line 277: Called require_configured_kernel
* linux-info.eclass, line 264: Called die
* The specific snippet of code:
* die "Kernel not configured; no .config found in ${KV_OUT_DIR}"
* The die message:
* Kernel not configured; no .config found in /usr/src/linux
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-fs/fuse-2.7.4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/fuse-2.7.4/temp/die.env'.
I remember having this problem before, wayback when I was running a Linode in the past. I'm using the stock Kernel with the stock Gentoo image from Linode, but apparently a .config isn't provided with the image, and therefore trying to get fuse installed won't work.
I might be missing a step, this is the first time I've tried to get FUSE to work on Gentoo.
(Also note: Gentoo helpfully installed gentoo-sources for the kernel source; I think there's a xen specific kernel sources available, but didn't want to interrupt Gentoo while it was doing it's thing. Do I need to do anything here?)
2 Replies
in this directory
Kernel not configured; no .config found in /usr/src/linux
…sounds promising.
Another option if you are on xen is to use pv-grub and then you can build and run the stock gentoo kernel. See herehere