Ubuntu Hardy: VMWare
Jeg forsøger at installere VMWare server ved at følgende en guide som denne:
http://ubuntu-tutorials.com/2007/11/17/install-vmware-server-on-ubuntu-…
Under installationen får jeg denne fejl:
Jeg tror, jeg har en C compiler installeret. " /usr/bin/gcc -v" giver:
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Håber der er nogen der kan hjælpe mig?
http://ubuntu-tutorials.com/2007/11/17/install-vmware-server-on-ubuntu-…
Under installationen får jeg denne fejl:
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] 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.24-16-generic/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-config2/vmmon-only'
make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config2/vmmon-only/./include/vmware.h:25,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:48:
/tmp/vmware-config2/vmmon-only/./include/vm_basic_types.h:161: error: conflicting types for uintptr_t
include/linux/types.h:40: error: previous declaration of uintptr_t was here
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:49:
/tmp/vmware-config2/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config2/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:49:
/tmp/vmware-config2/vmmon-only/./include/compat_wait.h:60: error: conflicting types for poll_initwait
include/linux/poll.h:65: error: previous declaration of poll_initwait was here
/tmp/vmware-config2/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
/tmp/vmware-config2/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
/tmp/vmware-config2/vmmon-only/linux/driver.c: In function LinuxDriver_Ioctl:
/tmp/vmware-config2/vmmon-only/linux/driver.c:1659: error: struct mm_struct has no member named dumpable
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/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/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.Jeg tror, jeg har en C compiler installeret. " /usr/bin/gcc -v" giver:
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Håber der er nogen der kan hjælpe mig?
Kommentarer3
Re: Ubuntu Hardy: VMWare
http://www.bauer-power.net/2008/04/installing-vmware-server-on-ubuntu-8…
Jeg brugte
for dir in
for dir in vm{mon,net}; do tar xf /usr/lib/vmware/modules/source/${dir}.tar; cd ${dir}-only; patch -p1 < ../${dir}-2.6.24.patch; cd ..; tar cf ${dir}.tar ${dir}-only; cp ${dir}.tar /usr/lib/vmware/modules/source; doneog http://communities.vmware.com/servlet/JiveServlet/download/849321-5394/… og http://communities.vmware.com/servlet/JiveServlet/download/849321-5395/…
Det løste mine problemer (ref http://communities.vmware.com/thread/121847)
Re: Ubuntu Hardy: VMWare
Det bruger jeg med stor succes.
Bare lige et lille foreslag.