Portál AbcLinuxu, 17. července 2025 07:06


Dotaz: Gentoo AMD64 & Vmware 5.0

20.9.2005 20:45 hyperion
Gentoo AMD64 & Vmware 5.0
Přečteno: 127×
Odpovědět | Admin
stahnul jsem si app-emulation/vmware-workstation 5.0.0.13124-r2

po spusteni /opt/vmware/bin/vmware-config.pl a odsouhlaseni licence bla bla, zaseknu se na:

The path "/usr/src/linux/include" is an existing directory, but it does not contain at least one of these directories "linux", "asm", "net" as expected.

link /usr/src/linux-... mam na /usr/src/linux. ok, napadlo me udelat link na asm adresar: ln -s asm-x86_64 asm

pak zase protestuje, ze neexistuje linux/version.h. chapu, ze Gentoo ma ty fajly jinde, ale jak ho presvedcit aby se nainstaloval, pokud mozno tak, aby mi pak sel jeste zkompilovat kernel ze zdrojaku?:) diky.
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

David Watzke avatar 20.9.2005 21:13 David Watzke | skóre: 74 | blog: Blog... | Praha
Rozbalit Rozbalit vše Re: Gentoo AMD64 & Vmware 5.0
Odpovědět | | Sbalit | Link | Blokovat | Admin
A ukazuje ten symlink linux v /usr/src na kernel, kterej právě používáš ? Já tam ty složky mám a asm-x86_64 opravdu ukazuje na asm. Jiný symlinky tam nejsou.

[dancelis@xeonix ~] $ ls /usr/src/linux/include
acpi asm-arm26 asm-h8300 asm-m32r asm-ppc asm-sparc asm-v850 math-emu pcmcia video asm asm-cris asm-ia64 asm-m68k asm-ppc64 asm-sparc64 asm-x86_64 media rxrpc asm-alpha asm-frv asm-i386 asm-m68knommu asm-sh asm-s390 config mtd scsi asm-arm asm-generic asm-mips asm-parisc asm-sh64 asm-um linux net sound
“Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
20.9.2005 21:25 hyperion
Rozbalit Rozbalit vše Re: Gentoo AMD64 & Vmware 5.0
emerge --search gentoo-sources
Searching...
[ Results for search key : gentoo-sources ]
[ Applications found : 1 ]

*  sys-kernel/gentoo-sources
      Latest version available: 2.6.12-r10
      Latest version installed: 2.6.12-r10
      Size of downloaded files: 36,910 kB
      Homepage:    http://dev.gentoo.org/~dsd/genpatches
      Description: Full sources including the gentoo patchset for the 2.6 kernel tree
      License:     GPL-2

uname -a
Linux umi 2.6.12-gentoo-r10 #1 Sun Sep 18 02:40:59 CEST 2005 x86_64 AMD Sempron(tm) Processor 3100+ AuthenticAMD GNU/Linux

#ls -alF /usr/src/
celkem 2
drwxr-xr-x   4 root root  176 zář 16 22:40 ./
drwxr-xr-x  15 root root  472 zář 17 20:59 ../
-rw-r--r--   1 root root    0 zář 17 15:20 .keep
lrwxrwxrwx   1 root root   23 zář 16 22:40 linux -> linux-2.6.12-gentoo-r10/
drwxr-xr-x  18 root root  720 zář 20 19:58 linux-2.6.12-gentoo-r10/
drwxr-xr-x  18 root root 1056 zář 17 15:08 linux-2.6.12-gentoo-r6/
ten link asm-x86_64 -> asm tam ale puvodne nebyl!
20.9.2005 21:31 hyperion
Rozbalit Rozbalit vše Re: Gentoo AMD64 & Vmware 5.0
kdyz vytvorim ten link, ktery tam mas..a u me v linux-2.6.12-r6 je a v r10 neni...(WTF!), btw. proc mi emerge --search najde jen r10, kdyz v /usr/src je i r6? (system je po --update --deep world)

tak to hodi hlasku:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The path "/usr/src/linux/include" is a kernel header file directory, but it does
not contain the file "linux/version.h" as expected.  This can happen if the
kernel has never been built, or if you have invoked the "make mrproper" command
in your kernel directory.  In any case, you may want to rebuild your kernel.
20.9.2005 22:30 hyperion
Rozbalit Rozbalit vše Re: Gentoo AMD64 & Vmware 5.0
odpovim si sam..

je potreba pred instalaci znovu zkompilovat kernel (pouzivam genkernel):

#genkernel --oldconfig all

<(oIo)>

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.