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/)

Cyber Maid 04-10-2007 08:57 PM

installing VMware on Turbolinux 11
 
I give up...
After hours of trying and searching the net i have yet to install VMware successfully on Turbolinux 11 (FUJI).

I've got all the required software and kernel-source.

- Tried clean install...no go
- Tried with any any patch 1.0.9...nothing
- Tried rebuilding the kernel...still nothing

I'm stuck now with vmware thinking i havn't configured the kernel.

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.

But i did use make xconfig, and make menuconfig, and make oldconfig. (gotta try them all when you're desperate)

I even did: make mrproper, make xconfig...save and exit, make, make modules

Still nothing...

I hope someone here can help me.

trickykid 04-10-2007 09:43 PM

You most likely need the latest vmware-any-any update installed to get this to work. You can get the latest version here: ftp://platan.vc.cvut.cz/pub/vmware/

Cyber Maid 04-10-2007 09:44 PM

the one i applied is the latest version: vmware-any-any-update109.tar.gz

trickykid 04-10-2007 09:49 PM

Quote:

Originally Posted by Cyber Maid
the one i applied is the latest version: vmware-any-any-update109.tar.gz

Did that fix the issue?

Cyber Maid 04-10-2007 09:55 PM

Quote:

Originally Posted by Cyber Maid
- Tried with any any patch 1.0.9...nothing

Nope, the any any patch was my second try.
VMware just thinks i need to configure the kernel...and i believe that is done with "make xconfig" right?

trickykid 04-10-2007 10:17 PM

What version of VMware are you trying to install? And what kernel packages do you currently have installed? Do the match the current running kernel?

terryxela 04-10-2007 10:18 PM

Run

$ uname -r

$ rpm -qa | grep kernel

And be sure that kernel and source are the same version. Any difference can explain some of the problems. The kernel headers do not need to be the same.

Ciao

-=terry(Denver)=-

Cyber Maid 04-10-2007 10:21 PM

VMware 5.5.2

Code:

[cybermaid@maidsmansion ~]$ uname -r
2.6.13-7
[cybermaid@maidsmansion ~]$ rpm -qa | grep kernel
kernel-utils-2.6-22
kernel-2.6.13-7
kernel-pcmcia-cs-2.6.13-7
kernel-extramodules-2.6.13-7
kernel-headers-2.6.13-7
kernel-source-2.6.13-7
kernel-doc-2.6.13-7


trickykid 04-10-2007 10:22 PM

Also, /usr/src/linux/include might not be the proper path to the correct Kernel Header file. It may be in something like:

/lib/modules/<current-kernel-version>/build/include

Cyber Maid 04-10-2007 10:26 PM

Quote:

Originally Posted by trickykid
Also, /usr/src/linux/include might not be the proper path to the correct Kernel Header file. It may be in something like:

/lib/modules/<current-kernel-version>/build/include

"/lib/modules/linux-2.6.13/build/include" and "/usr/src/linux/include" are both linked to "/usr/src/linux-2.6.13/include"

trickykid 04-10-2007 10:30 PM

Try running these commands from your /usr/src/linux directory:

make mrproper
make cloneconfig
make modules_prepare

And then try to rerun the vmware-config.pl and see if it still complains.

trickykid 04-10-2007 10:32 PM

Instead of make modules_prepare, you can also try make prepare-all as well if the modules_prepare doesn't work.

Cyber Maid 04-10-2007 10:42 PM

Hmmm, can't make cloneconfig...

Code:

[root@maidsmansion linux]# make cloneconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
make[1]: *** No rule to make target `cloneconfig'.  Stop.
make: *** [cloneconfig] Error 2


trickykid 04-10-2007 10:51 PM

Quote:

Originally Posted by Cyber Maid
Hmmm, can't make cloneconfig...

Code:

[root@maidsmansion linux]# make cloneconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
make[1]: *** No rule to make target `cloneconfig'.  Stop.
make: *** [cloneconfig] Error 2


Do you have gcc installed?

rpm -qa | grep gcc

Cyber Maid 04-10-2007 10:53 PM

Yes, thats what the output says.

Code:

[root@maidsmansion linux]# rpm -qa | grep gcc
libgcc-3.4.3-10
gcc-c++-3.4.3-10
gcc-3.4.3-10


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 08:26 AM.