|
|
|
|
# cd lib/modules/source # cp vmnet.tar vmnet.tar.bck # tar -xvf vmnet.tar # grep -lRF CHECKSUM_HW vmnet-only/* bridge.c userif.c # grep -lRFZ CHECKSUM_HW vmnet-only/* | xargs -r0 perl -pi -e 's/CHECKSUM_HW/CHECKSUM_PARTIAL/g' # cd ../../../ Then, rebuild VMware.
Configuration: Linux Debian Mozilla 1.8.1.6
|
Peut-être noyau trop récent ?
Testerai avec un noyau + ancien ! :-)) Je vous présente "Etch" et "Spring" ........... ....... histoire d'être tout de suite dans l'ambiance ! |
|
Salut,
Je bloque ici : You have already setup networking. et avant c'est quoi? dit les étapes que tu fais pas seulement un p'tit bout ;-) lami20j |
|
Bonjour,
Désolé ! J'explique donc depuis le début ! Je veux installer VMware Workstation sur ma debian. Mon processeur étant un 600 MHz, je me suis porté sur la version 5.5.4-4. Je commence avec le noyau 2.6.18.5, je désarchive le fichier tar.gz et je lance le script ./vmware-install.pl. Premier souci : une histoire de location de headers. Je vois qu'il reconnait le noyau 2.6.22.3 donc je recommence sous le noyau 2.6.22.3. Je lance donc script ./vmware_install.pl je passe le cap des headers et tombe sur un deuxième problème : Deuxième souci : j'ai le message d'erreur suivant : Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config0/vmmon-only' make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic' CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:80: /tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘compat_exit’ /tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘exit_code’ /tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘int’ in declaration of ‘_syscall1’ make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1 make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic' make: *** [vmmon.ko] Error 2 make: Leaving directory `/tmp/vmware-config0/vmmon-only' Unable to build the vmmon module. un petit coup de google et je tombe ici : http://www.debuntu.org/how-to-vmware-server-workstation-under-ubuntu-feisty le deuxième souci est résolu ainsi : commenter la ligne static inline _syscall1(int, compat_exit, int, exit_code); du fichier vmmon-only/include/compat_kernel.h ok ! je relance l'installation de VMware, je passe le cap du module vmmon pour tomber sur un troisième problème : Troisième souci : You have already setup networking. (car j'ai pu configurer le setup networking lors de la tentative précédente, ok ?) Would you like to skip networking setup and keep your old settings as they are? (yes/no) [yes] Extracting the sources of the vmnet module. Building the vmnet module. Using 2.6.x kernel build system. make: entrant dans le répertoire « /tmp/vmware-config5/vmnet-only » make -C /lib/modules/2.6.22.3/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: entrant dans le répertoire « /usr/src/linux-2.6.22.3 » CC [M] /tmp/vmware-config5/vmnet-only/driver.o CC [M] /tmp/vmware-config5/vmnet-only/hub.o CC [M] /tmp/vmware-config5/vmnet-only/userif.o /tmp/vmware-config5/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’: /tmp/vmware-config5/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ has no member named ‘h’ /tmp/vmware-config5/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ has no member named ‘nh’ /tmp/vmware-config5/vmnet-only/userif.c:636: error: ‘const struct sk_buff’ has no member named ‘h’ make[2]: *** [/tmp/vmware-config5/vmnet-only/userif.o] Erreur 1 make[1]: *** [_module_/tmp/vmware-config5/vmnet-only] Erreur 2 make[1]: quittant le répertoire « /usr/src/linux-2.6.22.3 » make: *** [vmnet.ko] Erreur 2 make: quittant le répertoire « /tmp/vmware-config5/vmnet-only » Unable to build the vmnet module. toujours dans le même lien la solution est proposée : # cd lib/modules/source # cp vmnet.tar vmnet.tar.bck # tar -xvf vmnet.tar # grep -lRF CHECKSUM_HW vmnet-only/* bridge.c userif.c # grep -lRFZ CHECKSUM_HW vmnet-only/* | xargs -r0 perl -pi -e 's/CHECKSUM_HW/CHECKSUM_PARTIAL/g' # cd ../../../ Then, rebuild VMware. ceci devrait résoudre mon troisième problème, malheureusement les fichiers bridge.c et userif.c sont déjà corrigés d'origine. ....et là je bloque ! Merci. :-)) Je vous présente "Etch" et "Spring" ........... ....... histoire d'être tout de suite dans l'ambiance ! |
Bonjour,
STOP ! j'arrête ici l'installation de VMware Workstation..Désolé ! Merci. :-)) Je vous présente "Etch" et "Spring" ........... ....... histoire d'être tout de suite dans l'ambiance ! |
|
post-scriptum : pour désinstaller VMware :
debian:~# /usr/bin/vmware-uninstall.pl Uninstalling the tar installation of VMware Workstation. Stopping VMware services: Virtual machine monitor done Bridged networking on /dev/vmnet0 done DHCP server on /dev/vmnet1 done Host-only networking on /dev/vmnet1 done DHCP server on /dev/vmnet8 done NAT service on /dev/vmnet8 done Host-only networking on /dev/vmnet8 done Virtual ethernet done This program previously created the file /dev/vmnet8, and was about to remove it. Somebody else apparently did it already. This program previously created the file /dev/vmnet0, and was about to remove it. Somebody else apparently did it already. This program previously created the file /dev/parport3, and was about to remove it. Somebody else apparently did it already. This program previously created the file /dev/vmmon, and was about to remove it. Somebody else apparently did it already. This program previously created the file /dev/vmnet1, and was about to remove it. Somebody else apparently did it already. This program previously created the file /dev/parport2, and was about to remove it. Somebody else apparently did it already. This program previously created the file /dev/parport1, and was about to remove it. Somebody else apparently did it already. The removal of VMware Workstation 5.5.4 build-44386 for Linux completed successfully. Thank you for having tried this software. debian:~# FIN ! :-)) Je vous présente "Etch" et "Spring" ........... ....... histoire d'être tout de suite dans l'ambiance ! |
j'ai eu le meme probleme avec une debian sid et VMware Workstation 6 (probleme du au noyau 2.6.22 pas encore bien supporté)
La solution au probleme de compilation est la : http://communities.vmware.com/thread/84170 (il faut recuperer le fichier vmnet.tar et le mettre dans le repertoire vmware-distrib/lib/modules/source |
|
Salut,
Merci pour l'info ! J'essaierai une autre fois ! :-)) Je vous présente "Etch" et "Spring" ........... ....... histoire d'être tout de suite dans l'ambiance ! |
Résultats pour [Debian] VMware workstation 5.5.4 4
Résultats pour [Debian] VMware workstation 5.5.4 4
Résultats pour [Debian] VMware workstation 5.5.4 4
Résultats pour [Debian] VMware workstation 5.5.4 4
Résultats pour [Debian] VMware workstation 5.5.4 4