LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   vmware server config error (https://www.linuxquestions.org/questions/linux-software-2/vmware-server-config-error-475743/)

lordtweety 08-20-2006 09:52 PM

vmware server config error
 
Hi,

I am getting the following message when trying to configure vmware server.


Code:

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
/usr/src/linux-2.6.17_yos_3/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/linux-2.6.17_yos_3/scripts/gcc-version.sh: line 12: gcc: command not found
make[1]: gcc: Command not found
make[1]: Entering directory `/usr/src/linux-2.6.17_yos_3'
make[2]: gcc: Command not found
/tmp/vmware-config2/vmmon-only/Makefile:89: *** Inappropriate build environment: you wanted to use gcc version 3.4.3 while kernel attempts to use gcc version .
/tmp/vmware-config2/vmmon-only/Makefile:91: *** For proper build you'll have to replace gcc with symbolic link to /opt/gcc-3.4.3/bin/gcc.  Stop.
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.17_yos_3'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.

I am not 100% certain what exactly it means. I get the idea I should have a symbolic to gcc, but where? Any ideas or pointers would be appreciated. It's not urgent, as I'm only playing with it since they released it as free software.

Cheers

cygnus-x1 08-20-2006 09:58 PM

Without more information I can only assume that you do not have gcc installed OR its not in your PATH. What is the distribution? Some package based distros won't put down the compiler unless you specify developer tools during the install.

lordtweety 08-20-2006 11:13 PM

Hi,

The distribution is yoper-2.91. with gcc installed in /opt/gcc-3.4.3/ (I thought this was an odd place to have it installed but this is where it is) I've added /opt/gcc-3.4.3/bin and /opt/gcc-3.4.3/ to my path variable,which is how I managed to get that far with the install script. The config script couldn't find gcc which set me to looking for it. I have recently rebuilt the kernel as I had to get new sources for the NVIDIA installer, so I know I the headers are ok.

Not sure what else to do though. I suspect I may have to learn more about yoper to solve this. Something to do with default installation paths or something strange.

cygnus-x1 08-22-2006 07:08 AM

I have never heard of that distro before so I really can't help you with that. /opt/gcc ??? WTF ???
You may have done this already but you should be able to tell configure where your compiler is with a flag (not just setting your path). Configure looks for gcc in all the usual places but /opt/gcc is not a usual place IMHO.

Any reason you chose this distro or you can't change toa better one?

lordtweety 08-22-2006 09:26 AM

I chose this distro for speed, it is an i686 optimised distro. The 2.91 version is still beta though. I'm messing around with a few others as well, I'm sick of bloated distro's that need 3 or 4 cd's to install. And Yoper is quick, more than 4X over mandriva, everything responds well. Just can't compile my own programs...

Time to look at other i686 distro's.


All times are GMT -5. The time now is 09:04 AM.