View previous topic :: View next topic |
Author |
Message |
willyvmm n00b
Joined: 21 Jan 2008 Posts: 5
|
Posted: Thu Jan 24, 2008 7:34 pm Post subject: Problem z instalacją Hamachi |
|
|
Na początek log
Code: | magnat ~ # emerge hamachi
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) net-misc/hamachi-0.9.9.9_p20-r2 to /
* hamachi-0.9.9.9-20-lnx.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking hamachi-0.9.9.9-20-lnx.tar.gz ;-) ... [ ok ]
* Checking your kernel configuration for TUN/TAP support.
* 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: net-misc/hamachi-0.9.9.9_p20-r2 failed.
* Call stack:
* ebuild.sh, line 46: Called pkg_setup
* hamachi-0.9.9.9_p20-r2.ebuild, line 38: Called check_extra_config
* linux-info.eclass, line 425: Called require_configured_kernel
* linux-info.eclass, line 145: 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
*
* 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/net-misc/hamachi-0.9.9.9_p20-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/hamachi-0.9.9.9_p20-r2/temp/die.env'.
*
|
Oczywiście mam wszystko na swoim miejscu (a przynajmniej tak mi się wydaje):
Code: | magnat ~ # la /usr/src/
lrwxrwxrwx 1 root root 23 2008-01-24 18:26 linux -> linux-2.6.23-gentoo-r5/
drwxr-xr-x 20 root root 4096 2008-01-24 18:28 linux-2.6.23-gentoo-r5
magnat ~ # la /usr/src/linux/.config
-rw-r--r-- 1 root root 37708 2008-01-24 18:27 /usr/src/linux/.config
magnat ~ # la /dev/net/
crw-rw-rw- 1 root root 10, 200 2008-01-10 23:22 tun
magnat ~ #
|
Chodzi oczywiście o to:
* 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
Jakieś pomysły ?
POzdrawiam Willy. |
|
Back to top |
|
|
quosek Apprentice
Joined: 07 Mar 2006 Posts: 269
|
Posted: Thu Jan 24, 2008 9:44 pm Post subject: |
|
|
zobacz, ze on nie widzi sciezki - zamiast niej wyswietla : ${KV_OUT_DIR}
zobacz co zwraca
|
|
Back to top |
|
|
willyvmm n00b
Joined: 21 Jan 2008 Posts: 5
|
Posted: Thu Jan 24, 2008 9:57 pm Post subject: |
|
|
Proszę bardzo:
Code: |
willy@magnat ~ $ uname -r
2.6.23-gentoo-r5-nasghar
|
Wiem że nie widzi ścieżki ale nie wiem dlaczego ?? Jedyne ewentualnie co mogło by być to dodany własny string do wersji jądra, ale nawet zmieniłem nazwe katalogu z jadrem i nie pomogło. |
|
Back to top |
|
|
willyvmm n00b
Joined: 21 Jan 2008 Posts: 5
|
Posted: Fri Jan 25, 2008 6:14 pm Post subject: |
|
|
Już sobie poradziłem, dodałem jedną linijkę w pliku /usr/portage/eclass/linux-info.eclass
Konkretnie get_running_version na początku funkcji check_extra_config()
I znalazł nagle wszystko co trzeba i gdzie trzeba. |
|
Back to top |
|
|
|