Portál AbcLinuxu, 9. května 2025 22:46
root@debian:/home/cole/Plocha/vmware-server-distrib# ./vmware-install.pl A previous installation of VMware Server has been detected. The previous installation was made by the tar installer (version 4). Keeping the tar4 installer database format. You have a previous version of VMware Server installed. Continuing this install will upgrade to the latest version by first uninstalling the previous version. Do you wish to continue? (yes/no) [yes] y Uninstalling the tar installation of VMware Server. Checking for active VMs: There are no Active VMs. Stopping services for VMware Server Stopping VMware autostart virtual machines: Virtual machines failed Stopping VMware management services: VMware Virtual Infrastructure Web Access VMware Server Host Agent failed Stopping VMware services: VMware Authentication Daemon done Virtual machine monitor done insserv: script vmware-mgmt: service VMware already provided! insserv: script vmware-core: service VMware already provided! insserv: script vmware-autostart: service VMware already provided! The removal of VMware Server 2.0.2 build-203138 for Linux completed successfully. Installing VMware Server. In which directory do you want to install the binary files? [/usr/bin] What is the directory that contains the init directories (rc0.d/ to rc6.d/)? [/etc] What is the directory that contains the init scripts? [/etc/init.d] In which directory do you want to install the daemon files? [/usr/sbin] In which directory do you want to install the library files? [/usr/lib/vmware] In which directory do you want to install the manual files? [/usr/share/man] In which directory do you want to install the documentation files? [/usr/share/doc/vmware] The path "/usr/share/doc/vmware" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] y The installation of VMware Server 2.0.2 build-203138 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmware-uninstall.pl". Before running VMware Server for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this program to invoke the command for you now? [yes] y Making sure services for VMware Server are stopped. Stopping VMware autostart virtual machines: Virtual machines failed Stopping VMware management services: VMware Virtual Infrastructure Web Access VMware Server Host Agent failed Stopping VMware services: VMware Authentication Daemon done Virtual machine monitor donea potom se tomu nelíbí že mám jinou trochu verzi kompilátoru. kterou bohužel nevím jak přenastavit:
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.5", while you are trying to use "/usr/bin/gcc" version "4.4.5". 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.4.5" anyway? [no] y What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.32-5-amd64/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-config1/vmmon-only' make -C /lib/modules/2.6.32-5-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64' /tmp/vmware-config1/vmmon-only/Makefile:106: *** Inappropriate build environment: you wanted to use gcc version 4.4.5 while kernel attempts to use gcc version 4.3.5. /tmp/vmware-config1/vmmon-only/Makefile:108: *** For proper build you'll have to replace gcc-4.3 with symbolic link to /usr/bin/gcc. Stop. make[3]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-amd64' make: *** [vmmon.ko] Error 2 make: Leaving directory `/tmp/vmware-config1/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. root@debian:/home/cole/Plocha/vmware-server-distrib#děkuji za každou radu, pokud existuje něco jiného snažšího než VMware, tak to klidně vyzkouším.
CC=/usr/bin/gcc-zadane-verze
, ale samozřejmě musíte si danou verzi nainstalovat přes správce balíčků.
./vmware-install.pl
:) - je to definice proměnné.export CC=/usr/bin/gcc-4.2
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.