Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    problemi nell'installazione di vmware-workstation

    Ciao,

    ho provato ad installare la versione di prova scaricabile dal sito ufficiale, precisamente la VMware-workstation-5.5.3-34685.tar.gz su debian testing con kernel vanilla 2.6.20-7 non patchato.

    e seguendo le istruzioni di installazione.

    mi restituisce questo errore:

    Building the vmmon module.

    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-config3/vmmon-only'
    make -C /lib/modules/2.6.20.7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modu
    make[1]: Entering directory `/usr/src/linux-2.6.20.7'
    CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
    In file included from /tmp/vmware-config3/vmmon-only/linux/driver.c:80:
    /tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: error: expected de
    /tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: error: expected de
    /tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: warning: type defa
    make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.20.7'
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config3/vmmon-only'
    Unable to build the vmmon module.

    Come faccio a risolvere questo problema?
    LE DONNE:
    COME E' POSSIBILE SPERARE DI CAPIRLE SE LORO STESSE NON RIESCONO A FARLO?

  2. #2
    Utente di HTML.it L'avatar di cacao74
    Registrato dal
    Jan 2005
    Messaggi
    2,570
    Volevo inserire questi appunti sul forum ufficiale di vmware, ma la soluzione era gia' stata postata da tempo.

    Ti allego quanto ho dovuto fare per installare vmware SERVER 1.0.2 con kernel vanilla.
    Il testo e' in inglese, ma i fondamentali, si dovrebbero capire, spero:
    codice:
    I've just installed VMWare Server 1.0.2 this morning.
    
    My install_dir is in /opt/vmware and I was unable to complete
    the configuration of the server (vmware-config.pl)
    I need to edit a header file of the vmmon.tar, located in
    "/opt/vmware/lib/vmware/modules/source/vmmon.tar"
    Explode this tar with:
    # pwd
    # /opt/vmware/lib/vmware/modules/source
    # tar xvf vmmon.tar
    # cd ./vmmon-only/include
    # sed -n 21p compat_kernel.h
    static inline _syscall1(int, compat_exit, int, exit_code);
    
    With an editor, comment this line. It should now be:
    # sed -n 21p compat_kernel.h
    //static inline _syscall1(int, compat_exit, int, exit_code);
    
    At this point, I can rebuild the tar file:
    # cd ../../
    # pwd
    /opt/vmware/lib/vmware/modules/source
    
    # mv vmmon.tar vmmon-ori.tar
    # tar cvpWf vmmon.tar vmmon-only
    
    The last thing is to reconfig the server with:
    # cd /opt/vmware/bin
    # ./vmware-config.pl
    
    Now I can work with the new version of the VMWare Server!!!
    
    All of above on:
    - Slackware 11.0
    - Kernel (Vanilla) 2.6.20.2
    - VMWare Server 1.0.2
    
    I hope this could be useful. bye :^)
    ciao
    slack? smack!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.