Конфигурирование VMWare

PCLinuxOS

Модератор: Bizdelnick

GokenTanmay
Сообщения: 5

Конфигурирование VMWare

Сообщение GokenTanmay »

при попытке отконфигурировать выдает следующее
и соответственно не ставится :(

Код:

[root@localhost sergey]# /usr/bin/vmware-config.pl Making sure services for VMware Server are stopped. Stopping VMware services: Virtual machine monitor [ OK ] Configuring fallback GTK+ 2.4 libraries. In which directory do you want to install the mime type icons? [/usr/share/icons] What directory contains your desktop menu entry files? These files have a .desktop file extension. [/usr/share/applications] In which directory do you want to install the application's icon? [/usr/share/pixmaps] /usr/share/applications/vmware-server.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path /usr/share/applications/vmware-console-uri-handler.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path Trying to find a suitable vmmon module for your running kernel. 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] y Using compiler "/usr/bin/gcc". Use environment variable CC to override. Your kernel was built with "gcc" version "4.3.1", while you are trying to use "/usr/bin/gcc" version "4.3.2". This configuration is not recommended and VMware Server may crash if you'll continue. Please try to use exactly same compiler as one used for building your kernel. Do you want to go with compiler "/usr/bin/gcc" version "4.3.2" anyway? [no] y What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.27-server-0.rc8.2mnb/build/include] Extracting the sources of the vmmon module. Building the vmmon module. Using 2.6.x kernel build system. make: Entering directory `/root/tmp/vmware-config8/vmmon-only' make -C /lib/modules/2.6.27-server-0.rc8.2mnb/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.27-server-0.rc8.2mnb' CC [M] /root/tmp/vmware-config8/vmmon-only/linux/driver.o In file included from /root/tmp/vmware-config8/vmmon-only/./include/machine.h:24, from /root/tmp/vmware-config8/vmmon-only/linux/driver.h:15, from /root/tmp/vmware-config8/vmmon-only/linux/driver.c:49: /root/tmp/vmware-config8/vmmon-only/./include/x86.h:830:1: warning: "PTE_PFN_MASK" redefined In file included from include/asm/paravirt.h:7, from include/asm/irqflags.h:55, from include/linux/irqflags.h:57, from include/asm/system.h:11, from include/asm/processor.h:17, from include/linux/prefetch.h:14, from include/linux/list.h:6, from include/linux/module.h:9, from /root/tmp/vmware-config8/vmmon-only/linux/driver.c:12: include/asm/page.h:22:1: warning: this is the location of the previous definition In file included from /root/tmp/vmware-config8/vmmon-only/linux/vmhost.h:13, from /root/tmp/vmware-config8/vmmon-only/linux/driver.c:71: /root/tmp/vmware-config8/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: Нет такого файла или каталога /root/tmp/vmware-config8/vmmon-only/linux/driver.c:146: ошибка: неизвестное поле ‘nopage’ в инициализаторе /root/tmp/vmware-config8/vmmon-only/linux/driver.c:147: предупреждение: несовместимый тип указателя в инициализации /root/tmp/vmware-config8/vmmon-only/linux/driver.c:150: ошибка: неизвестное поле ‘nopage’ в инициализаторе /root/tmp/vmware-config8/vmmon-only/linux/driver.c:151: предупреждение: несовместимый тип указателя в инициализации /root/tmp/vmware-config8/vmmon-only/linux/driver.c: В функции ‘LinuxDriver_Ioctl’: /root/tmp/vmware-config8/vmmon-only/linux/driver.c:1670: ошибка: слишком много аргументов в вызове функции ‘smp_call_function’ make[2]: *** [/root/tmp/vmware-config8/vmmon-only/linux/driver.o] Ошибка 1 make[1]: *** [_module_/root/tmp/vmware-config8/vmmon-only] Ошибка 2 make[1]: Leaving directory `/usr/src/linux-2.6.27-server-0.rc8.2mnb' make: *** [vmmon.ko] Ошибка 2 make: Leaving directory `/root/tmp/vmware-config8/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.


Что посоветуете? чем руки выпрямлять?
Спасибо сказали:
olelukoie
Сообщения: 1248
ОС: Linux, Win

Re: Конфигурирование VMWare

Сообщение olelukoie »

А что у Вас за версия vmware? Вы уверены, что она поддерживает ядро 2.6.27? В ядрах (и их заголоовчных файлах) часто случаются изменения, которые делают старые версии vmware и других программ, взаимодействующих с ядром системы напрямую, полностью неработоспособными. И как так получилось, что ядро у Вас собрано с gcc 4.3.1, а варю Вы собираете уже с gcc 4.3.2?
В общем, лечение одно - приведение версий ядра, gcc и вари в соответствие друг с другом.

ЗЫ. Судя по всему, пакет kernel-devel для Вашей версии ядра у Вас установлен, но на всякий случай проверьте его версию еще раз...
Спасибо сказали:
GokenTanmay
Сообщения: 5

Re: Конфигурирование VMWare

Сообщение GokenTanmay »

VMWare ставлю VMware-server-1.0.8-126538.i386.rpm - скачанна с оф сайта сегодня...
Как посмотреть версию ядра и gcc однозначно?? потому что шарясь по установленным пакетам могу что нибудь пропустить.
И как делать приведения все в норм состояние если например версия установленного пакета новее чем требуемого??
Спасибо сказали: