Kezdőlap › Fórumok › Emulátorok › VMWare › Vmware+fedora 5 hiba
- This topic has 8 hozzászólás, 4 résztvevő, and was last updated 18 years, 9 months telt el by
kelen.
-
SzerzőBejegyzés
-
2006-09-30-10:12 #2073094kelen wrote:Ehhez kérnék egy kis segítséget hogy mégis mi a baj mit tehetnék.
Fedora-hoz nem a kernel-devel kell? Régebbi hozzászólások alapján úgy rémlik.
Nincs fedorám, nézz utána.2006-09-30-10:33 #2073095kelen wrote:[root@Tamas rpm]# /usr/share/mc/extfs/rpm run /root/Desktop/rpm/kernel-2.6.15-1.2054_FC5.src.rpm INSTALL
Installing „”‘/root/Desktop/rpm/kernel-2.6.15-1.2054_FC5.src.rpm'””
error: cannot create %sourcedir /usr/src/redhat/SOURCESJelentkezz be root-ként. Add ki ezt a parancsot:
Code:chown -R felhasznalonév /usr/src/redhat/Ahol felhasználónév az egyszerű felhasználói neved, nem pedig a root.
Jelentkezz ki a root-ból és lépj be felhasználóként. Kérd le e kernel verziószámát a következő paranccsal:
Code:rpm -q –qf „%{version}-%{release} %{arch}n” kernel |grep `uname -r`Valami ehhez hasonlót fogsz kapni: kernel 2.4.24-1.2149.nptl i585. Még mindig felhasználóként add ki ezt a parancsot felhasználva az előző kimenetét:
Code:rpmbuild –rebuild –target i586 –define ‘kernel 2.4.24-1.2149.nptl’ csomagnev.src.rpmEzután itt találod a fájlt: /usr/src/redhat/RPMS/i586/ (vagy valami hasonló helyen, a gépedtől függően. Remélem ez segít.
Macskajancsi wrote:Nincs fedorám, nézz utána.Off: Nekem még ma lesz. Ma cserélem le a SuSE 10.1-et Fedorára. 🙂
2006-09-30-10:50 #2073096Már az első parancsnál hibák vannak:
[root@Tamas Tamas]# chown -R Tamas /usr/src/redhat
chown: „/usr/src/redhat” nem érhető el: Nincs ilyen fájl vagy könyvtárAz /usr/src könyvtár full üres, nincs benne semmi.
2006-09-30-10:55 #2073097kelen wrote:Az /usr/src könyvtár full üres, nincs benne semmi.Hát az szerintem elég nagy baj. Sok mindennek kellene ott lennie. Viszont ehhez majd valaki másnak talán lesz ötlete, mert nekem nincs.
Szerk.: Most jutott eszembe, hogy ez Fedora. Miért nem használod a yum-ot?
Code:yum install kernel-devel2006-09-30-11:51 #2073098Most meg ezt kapom
[root@Tamas ~]# yum install kernel-dev
Loading „installonlyn” plugin
Setting up Install Process
Setting up repositories
core [1/3]
updates [2/3]
extras [3/3]
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: kernel-dev
Nothing to do
[root@Tamas ~]#2006-09-30-11:53 #2073099Bocsi hülye vagyok felrakta 🙂
2006-09-30-12:03 #2073100Most tuljutottam a configon:
[root@Tamas 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]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] yUsing 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.17-1.2187_FC5/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.17-1.2187_FC5/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.17-1.2187_FC5-i686′
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/task.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2187_FC5-i686′
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only’
The module loads perfectly in the running kernel.Do you want networking for your virtual machines? (yes/no/help) [yes] y
Configuring a bridged network for vmnet0.
The following bridged networks have been defined:
. vmnet0 is bridged to eth0
All your ethernet interfaces are already bridged.
Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes] yConfiguring a NAT network for vmnet8.
Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes] yProbing for an unused private subnet (this can take some time)…
The subnet 192.168.190.0/255.255.255.0 appears to be unused.
The following NAT networks have been defined:
. vmnet8 is a NAT network on private subnet 192.168.190.0.
Do you wish to configure another NAT network? (yes/no) [no]
Do you want to be able to use host-only networking in your virtual machines?
[yes]Configuring a host-only network for vmnet1.
Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes]Probing for an unused private subnet (this can take some time)…
The subnet 192.168.180.0/255.255.255.0 appears to be unused.
The following host-only networks have been defined:
. vmnet1 is a host-only network on private subnet 192.168.180.0.
Do you wish to configure another host-only network? (yes/no) [no]
Extracting the sources of the vmnet module.
Building the vmnet module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only’
make -C /lib/modules/2.6.17-1.2187_FC5/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.17-1.2187_FC5-i686′
CC [M] /tmp/vmware-config0/vmnet-only/driver.o
CC [M] /tmp/vmware-config0/vmnet-only/hub.o
CC [M] /tmp/vmware-config0/vmnet-only/userif.o
CC [M] /tmp/vmware-config0/vmnet-only/netif.o
CC [M] /tmp/vmware-config0/vmnet-only/bridge.o
CC [M] /tmp/vmware-config0/vmnet-only/procfs.o
CC [M] /tmp/vmware-config0/vmnet-only/smac_compat.o
SHIPPED /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST
WARNING: could not find /tmp/vmware-config0/vmnet-only/.smac_linux.x386.o.cmd for /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
CC /tmp/vmware-config0/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2187_FC5-i686′
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only’
The module loads perfectly in the running kernel.The default port : 902 is not free. We have selected a suitable alternative
port for VMware Server use. You may override this value now.
Remember to use this port when connecting to this server.
Please specify a port for remote console connections to use [904]WARNING: VMware Server has been configured to run on a port different from the
default port. Remember to use this port when connecting to this server.
Unable to find any instance of the super-server „inetd” or „xinetd”. It is
possible that you do not have one of these packages installed on this machine.
Please install „inetd” or „xinetd”.If you do have „inetd” or „xinetd” installed, make sure that /etc/inetd.conf or
/etc/xinetd.d exists.
The configuration will continue, but you should re-run ./vmware-config.pl after
you fix the super-server.Hit enter to continue.
[root@Tamas /]#
[root@Tamas /]#De még mindig nem indul el ha rákattintok az ikonjára tölt és semmi se történik
2006-09-30-12:12 #2073101Feraktam a xinetd-t és már megy.
Köszi a segítséget mindenkinek2009-12-04-19:58 #1884345Sziasztok!
Próbáltam felrakni a vmware-t, fel is ment de mikor indítom a vmware–config.pl-t akkor ezt kapom
mc[root@Tamas ~]# mc
[root@Tamas 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]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] yUsing 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? [/usr/src/linux/include]Utánna néztem fórumokba amiket itt voltak fel is raktam a gcc-t is meg ami kell leszedtem hozzá a kernel-source csomagot a fedora lapjáról (kernel-1-2.6.15-1.2054_FC5.src.rpm) de azt se tudom fel rakni ott meg ez a hiba üzenet
[root@Tamas rpm]# /usr/share/mc/extfs/rpm run /root/Desktop/rpm/kernel-2.6.15-1.2054_FC5.src.rpm INSTALL
Installing „”‘/root/Desktop/rpm/kernel-2.6.15-1.2054_FC5.src.rpm'””
error: cannot create %sourcedir /usr/src/redhat/SOURCESEhhez kérnék egy kis segítséget hogy mégis mi a baj mit tehetnék.
-
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz