LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing VMware on Turbolinux 11 (https://www.linuxquestions.org/questions/linux-software-2/installing-vmware-on-turbolinux-11-a-544989/)

trickykid 04-10-2007 10:57 PM

Is there a current config or .config in /usr/src/linux? Check /boot as well for a config for your current kernel.

Cyber Maid 04-10-2007 11:01 PM

"/usr/src/linux" takes me to "/lib/modules/2.6.13-7/build" and there is no .config or config file there...probally deleted by the make mrproper.
/boot/ doesn't contain any config file either.

trickykid 04-10-2007 11:04 PM

Quote:

Originally Posted by Cyber Maid
"/usr/src/linux" takes me to "/lib/modules/2.6.13-7/build" and there is no .config or config file there...probally deleted by the make mrproper.
/boot/ doesn't contain any config file either.

That might be the problem with the error you're getting. I'd say either reinstall the kernel packages you already have, possibly upgrade or build a new config, then repeat the steps in order to build the proper header files so VMware stops acting goofy and is satisfied.

terryxela 04-11-2007 06:21 AM

Cyber Maid,

Why don't you get the new versrion I believe is 5.5.3 (tarball) and try to install it and describe step by step what you are doing. Hope with this info we can help you a little more.

-=terry(Denver)=-

Cyber Maid 04-11-2007 08:42 AM

ok, i have done a as clean possible install.

Here are the steps that i have taken:

make mrproper
/usr/bin/vmware-uninstall.pl
rpm -e kernel-source-2.6.13-7
rpm -e kernel-headers-2.6.13-7 --nodeps
rpm -ivh rpm -e kernel-headers-2.6.13-7
rpm -ivh kernel-source-2.6.13-7
~/vmware-distrib/vmware-install.pl
Entered trough the install.
Reached the vmware-config.pl
Got the same error again:

Code:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The path "/usr/src/linux/include" is a kernel header file directory, but it is
not configured yet.

That wasn't going to work so i CTRL+C.
Applied the vmware-any-any-update109.

Code:

[root@maidsmansion vmware-any-any-update109]# ./runme.pl
Updating /usr/bin/vmware-config.pl ... now patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.

Entered till i got to the C header file question.
And still i get the same error:

Code:

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation 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? [/usr/src/linux/include]

The path "/usr/src/linux/include" is a kernel header file directory, but it is
not configured yet.

This is so frustrating...i have no idea what to do or what i'm doing wrong...
I used to run on Fedora and all that took to run VMware was the any any update. :(

trickykid 04-11-2007 09:31 AM

Sounds like it's still looking for a config file and doesn't think you have a configured kernel. I'd say try to generate that config, run those previous commands I mentioned and go again. Or just take the steps to recompile you're kernel to your liking, save the config, reboot into new kernel and then attempt an install.

auxsvr 04-11-2007 10:10 AM

You can get the .config for the currently running kernel with
Code:

gzip -dc /proc/config.gz > /usr/src/linux/.config
. After that, you can continue with the suggestions above.

trickykid 04-11-2007 10:24 AM

Quote:

Originally Posted by auxsvr
You can get the .config for the currently running kernel with
Code:

gzip -dc /proc/config.gz > /usr/src/linux/.config
. After that, you can continue with the suggestions above.

That's only if /proc/config.gz exists, which doesn't appear to on most systems I've dealt with.

Cyber Maid 04-11-2007 10:49 AM

/proc/config.gz does exits so i did "gzip -dc /proc/config.gz > /usr/src/linux/.config"
after make mrproper (because mrproper cleans the .config file aswell)
clone config did nothing again

Code:

make[1]: *** No rule to make target `cloneconfig'.  Stop.
make: *** [cloneconfig] Error 2

then i ran make modules_prepare, no problems.
tried to install vmware again...still got the same error that it's not configured yet.
rebooted and triedt to install again...but that didn't work either.

trickykid 04-11-2007 11:07 AM

Well TurboLinux isn't listed as a supported Host OS for VMware Workstation. I'd say you may want to try and upgrade or match your kernel to one of the supported platforms.

Cyber Maid 04-11-2007 02:01 PM

Finally!!!

After browsing some japanese sites i found one with a how-to install VMware!
It seems all that has been done wasn't necessary at all :/

Here are the steps you should take when installing VMware on Turbolinux 11 (Fuji):

----------------------------------
# cd /usr/src/linux

# ./SetupKernelSource.sh i686

# cp .config /usr/src/linux-2.6.13

Then install VMware with the regular ./vmware-install.pl.

You don't even need the any-any-patch!
-----------------------------------

my god...i spend 2 days on this, rebuilding the kernel numerous times.
Then i just type some japanese in google (インストール vmware turbolinux FUJI) and voila.

trickykid 04-11-2007 03:28 PM

Quote:

Originally Posted by Cyber Maid
Finally!!!

After browsing some japanese sites i found one with a how-to install VMware!
It seems all that has been done wasn't necessary at all :/

Here are the steps you should take when installing VMware on Turbolinux 11 (Fuji):

----------------------------------
# cd /usr/src/linux

# ./SetupKernelSource.sh i686

# cp .config /usr/src/linux-2.6.13

Then install VMware with the regular ./vmware-install.pl.

You don't even need the any-any-patch!
-----------------------------------

my god...i spend 2 days on this, rebuilding the kernel numerous times.
Then i just type some japanese in google (インストール vmware turbolinux FUJI) and voila.

Turbo just has to be different from the rest but looks like it was just needing a basic .config to go from.. :)

Glad you got it working, I'll keep that SetupKernelSource.sh in mind next time, since it seems to be TurboLinux related only, as I don't seem to have it on any of my own systems.

Cheers.

terryxela 04-12-2007 10:26 PM

Ciber Maid glad you have it working. I was looking for something you could have done wrong. I have SuSE and I have never had to do anything extra than to run the script. One minor exception was the last release 10.2 when I had to enable usbfs in the kernel to be able to run the Palm sync.
Ciao
-=terry(denver)=-


All times are GMT -5. The time now is 07:29 AM.