Jump to content
Sign in to follow this  
PGpaolo

Installare VMware Server 2.0.2 su CentOS 64bit

Recommended Posts

Ciao a tutti, non ci salto fuori! Quando tento di installare VMware Server 2.0.2...

None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel.  Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel?
[/lib/modules/2.6.31.5-xxxx-std-ipv4-64-mod/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.31.5-xxxx-std-ipv4-64-mod/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.31.5-ovh'
 CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:31:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:78: error: conflicting types for 'poll_initwait'
include/linux/poll.h:70: error: previous declaration of 'poll_initwait' was here
/tmp/vmware-config0/vmmon-only/linux/driver.c: In function 'LinuxDriverSyncCallOnEachCPU':
/tmp/vmware-config0/vmmon-only/linux/driver.c:1423: error: too many arguments to function 'smp_call_function'
/tmp/vmware-config0/vmmon-only/linux/driver.c: In function 'LinuxDriver_Ioctl':
/tmp/vmware-config0/vmmon-only/linux/driver.c:1987: error: 'struct task_struct' has no member named 'euid'
/tmp/vmware-config0/vmmon-only/linux/driver.c:1987: error: 'struct task_struct' has no member named 'uid'
/tmp/vmware-config0/vmmon-only/linux/driver.c:1988: error: 'struct task_struct' has no member named 'fsuid'
/tmp/vmware-config0/vmmon-only/linux/driver.c:1988: error: 'struct task_struct' has no member named 'uid'
/tmp/vmware-config0/vmmon-only/linux/driver.c:1989: error: 'struct task_struct' has no member named 'egid'
/tmp/vmware-config0/vmmon-only/linux/driver.c:1989: error: 'struct task_struct' has no member named 'gid'
/tmp/vmware-config0/vmmon-only/linux/driver.c:1990: error: 'struct task_struct' has no member named 'fsgid'
/tmp/vmware-config0/vmmon-only/linux/driver.c:1990: error: 'struct task_struct' has no member named 'gid'
/tmp/vmware-config0/vmmon-only/linux/driver.c:2007: error: too many arguments to function 'smp_call_function'
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-2.6.31.5-ovh'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/go/unsup-linux-products" and
"http://www.vmware.com/go/unsup-linux-tools".

Execution aborted.

... che può essere? Qualche idea?

Grazie :approved:

Share this post


Link to post
Share on other sites

Ciao WizOfOz, non era quello il problema; ho comunque appena risolto... se può ritornare utile ad altri ecco la soluzione:

[font=Verdana][size=2]# cd /usr/src[/size][/font][font=Verdana][size=2]
# wget [url="http://www.saarlinux.de/blog/wp-content/uploads/2009/03/vmware-server-modules-2629tar.gz"]http://communities.vmware.com/servlet/JiveServlet/download/1321950-26108/vmware-server-modules-2629.tar.gz[/url][/size][/font][font=Verdana][size=2]
# cd /usr/lib/vmware/modules/source
# mkdir oldsources
# mv *.tar oldsources/[/size][/font][size=2]
[/size][font=Verdana][size=2]# tar xzf /usr/src/vmware-server-modules-2629tar.gz
[/size][/font]

infine, rieseguire lo script di configurazione VMware Server 2.0.2

[font=Verdana][size=2]# vmware-config.pl[/size][/font]

Prima non avevo specificato, ma hai comunque centrato: CentOS 5.4 64bit!

Grazie per la risposta :approved::approved::approved:

 

 

Share this post


Link to post
Share on other sites

# cd /usr/src

# wget http://communities.vmware.com/servlet/JiveServlet/download/1321950-26108/vmware-server-modules-2629.tar.gz

# cd /usr/lib/vmware/modules/source

# mkdir oldsources

# mv *.tar oldsources/

# tar xzf /usr/src/vmware-server-modules-2629tar.gz

[/code]

Ho dimenticato un PUNTO! :062802drink_prv:

 

# tar xzf /usr/src/vmware-server-modules-2629tar.gz

LEGGASI BENE

# tar xzf /usr/src/vmware-server-modules-2629.tar.gz

 

Ciao! :approved:

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×