Sie sind nicht angemeldet.

1

28.03.2012, 12:23

Probleme beim instalieren von Vmware

Habe ein Sabayon 64bit am laufen und versuche über portage (portato gui) mit dem overlay vmware die vmware workstation zu instalieren. Das klapt auch jedoch bei der instalation der Module pasiert immer dies hier:


Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
>>> Emerging (1 of 1) app-emulation/vmware-modules-264.2-r1 from vmware

 * Determining the location of the kernel source code

 * Found kernel source directory:

 *     /usr/src/linux

 * Found kernel object directory:

 *     /lib/modules/3.2.0-sabayon/build

 * Found sources for kernel version:

 *     3.2.0-sabayon

 * Checking for suitable kernel configuration options...                 [ ok ]

 * Checking for suitable kernel configuration options...                 [ ok ]

>>> Unpacking source...

>>> Source unpacked in /var/tmp/portage/app-emulation/vmware-modules-264.2-r1/work

>>> Preparing source in /var/tmp/portage/app-emulation/vmware-modules-264.2-r1/work ...

 * Applying 264-makefile-kernel-dir.patch ...                            [ ok ]

 * Applying 264-makefile-include.patch ...                               [ ok ]

 * Applying 264-jobserver.patch ...                                      [ ok ]

 * Applying 264-netdevice.patch ...                                      [ ok ]

 * Applying 264.2-3.2.0.patch ...                                        [ ok ]

 * Applying 264-apic.patch ...                                           [ ok ]

>>> Source prepared.

>>> Configuring source in /var/tmp/portage/app-emulation/vmware-modules-264.2-r1/work ...

>>> Source configured.

>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-264.2-r1/work ...

 * Preparing vmblock module

make -j16 -s HOSTCC=gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' auto-build KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/3.2.0-sabayon/build 

Using 2.6.x kernel build system.

make: cc: Kommando nicht gefunden

make[2]: x86_64-pc-linux-gnu-gcc: Kommando nicht gefunden

make[3]: x86_64-pc-linux-gnu-gcc: Kommando nicht gefunden

/bin/sh: x86_64-pc-linux-gnu-gcc: Kommando nicht gefunden.

make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-264.2-r1/work/vmblock-only/linux/dbllnklst.o] Fehler 127

make[3]: *** Warte auf noch nicht beendete Prozesse...

/bin/sh: x86_64-pc-linux-gnu-gcc: Kommando nicht gefunden.

make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-264.2-r1/work/vmblock-only/linux/file.o] Fehler 127

/bin/sh: x86_64-pc-linux-gnu-gcc: Kommando nicht gefunden.

make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-264.2-r1/work/vmblock-only/linux/dentry.o] Fehler 127

/bin/sh: x86_64-pc-linux-gnu-gcc: Kommando nicht gefunden.

make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-264.2-r1/work/vmblock-only/linux/block.o] Fehler 127

make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-264.2-r1/work/vmblock-only] Fehler 2

make[1]: *** [sub-make] Fehler 2

make: *** [vmblock.ko] Fehler 2

emake failed

 * ERROR: app-emulation/vmware-modules-264.2-r1 failed (compile phase):

 *   Unable to emake HOSTCC=gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=-m elf_x86_64   auto-build KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/3.2.0-sabayon/build

 * 

 * Call stack:

 *     ebuild.sh, line   85:  Called src_compile

 *   environment, line 3237:  Called linux-mod_src_compile

 *   environment, line 2408:  Called die

 * The specific snippet of code:

 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" 						CROSS_COMPILE=${CHOST}- 		LDFLAGS=\"$(get_abi_LDFLAGS)\" 						${BUILD_FIXES} 						${BUILD_PARAMS} 						${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";

 * 

 * If you need support, post the output of 'emerge --info =app-emulation/vmware-modules-264.2-r1',

 * the complete build log and the output of 'emerge -pqv =app-emulation/vmware-modules-264.2-r1'.

 * This ebuild is from an overlay named 'vmware': '/var/lib/layman/vmware/'

 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-264.2-r1/temp/build.log'.

 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-264.2-r1/temp/environment'.

 * S: '/var/tmp/portage/app-emulation/vmware-modules-264.2-r1/work'



>>> Failed to emerge app-emulation/vmware-modules-264.2-r1, Log file:



>>>  '/var/tmp/portage/app-emulation/vmware-modules-264.2-r1/temp/build.log'



 * Messages for package app-emulation/vmware-modules-264.2-r1:



 * ERROR: app-emulation/vmware-modules-264.2-r1 failed (compile phase):

 *   Unable to emake HOSTCC=gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=-m elf_x86_64   auto-build KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/3.2.0-sabayon/build

 * 

 * Call stack:

 *     ebuild.sh, line   85:  Called src_compile

 *   environment, line 3237:  Called linux-mod_src_compile

 *   environment, line 2408:  Called die

 * The specific snippet of code:

 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" 						CROSS_COMPILE=${CHOST}- 		LDFLAGS=\"$(get_abi_LDFLAGS)\" 						${BUILD_FIXES} 						${BUILD_PARAMS} 						${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";

 * 

 * If you need support, post the output of 'emerge --info =app-emulation/vmware-modules-264.2-r1',

 * the complete build log and the output of 'emerge -pqv =app-emulation/vmware-modules-264.2-r1'.

 * This ebuild is from an overlay named 'vmware': '/var/lib/layman/vmware/'

 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-264.2-r1/temp/build.log'.

 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-264.2-r1/temp/environment'.

 * S: '/var/tmp/portage/app-emulation/vmware-modules-264.2-r1/work'




kann mir einer bitte helfen den Fehler zu finden.

2

28.03.2012, 17:05

habe ja diese VMware nie wirklich verstanden und nutze daher virtualbox.
Aber du compilierst die Module vom Ho(r)st aus, wenn ich das richtig deute.
Verstanden habe ich zwar nicht, woher der weiß, dass er crosscompilen soll und vor allem warum, da die virtuelle Maschine ja auf der gleichen Hardware rennt, aber irgendwas ist da inne Wurst mit deinem gcc compiler.

Quellcode

1
2
3
4
5
6
7
8
9
root@p7 / # grep CHOST /etc/make.conf
CHOST="x86_64-pc-linux-gnu"
# WARNING: Changing your CHOST is not something that should be done lightly.
root@p7 / # find . | grep x86_64-pc-linux-gnu-gcc
./usr/lib64/distcc/bin/x86_64-pc-linux-gnu-gcc
./usr/bin/x86_64-pc-linux-gnu-gcc
./usr/bin/x86_64-pc-linux-gnu-gcc-4.5.3
./usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/x86_64-pc-linux-gnu-gcc
./usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/x86_64-pc-linux-gnu-gcc-4.5.3

bei mir sind die Dateien jedenfalls vorhanden .. bei dir auch?
System:
i7 P2600 @ 3,4GHz
jabber: poedel@jabber.ccc.de

3

09.04.2012, 14:34

Die Dateien sind bei mir auch vorhanden.

4

09.04.2012, 15:19

Vermutlich fängt das Problem mit

Zitat von »JohnnyGipsy«

Quellcode

1
make: cc: Kommando nicht gefunden
an - sprich, es kann kein Compiler gefunden werden.
Warum das unter Sabayon so ist ist mir nicht bekannt. Eventuell wäre es besser den im Sabayon normal verwendeten Paketmanager zu verwenden, anstatt es mit portage/emerge zu versuchen.

5

21.04.2012, 00:37

Würde ich gerne jedoch ist in dem Paketmanager von Sabayon VMware nicht drin.
Ich schau mal weiter vieleicht find ich das problem ja noch.