LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-14-2006, 04:57 AM   #1
depam
Member
 
Registered: Sep 2005
Posts: 861

Rep: Reputation: 30
Failed to install VMWare GSX Server in Ubuntu Breezy


Hi! I get the following error when configuring VMWare in Ubuntu:

Unable to find the compiler specified in the CC environnment variable:
"/usr/bin/gcc-3.4".

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Your kernel was built with "gcc" version "3.4.5", while you are trying to use
"/usr/bin/gcc" version "4.0.2". This configuration is not supported and VMware
Server cannot work in such configuration. Please either recompile your kernel
with "/usr/bin/gcc" version "4.0.2", or restart ./vmware-config.pl with CC
environment variable pointing to the "gcc" version "3.4.5".

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.


Can anyone help me how to make VMWare work?
 
Old 03-14-2006, 05:20 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
install gcc 3.4 along side gcc 4. then you will have two versions happily existing, and the installer would have found the one it wanted from the original path it tried to access.
 
Old 03-15-2006, 12:05 AM   #3
aksum
LQ Newbie
 
Registered: Jan 2005
Location: Lancaster, PA
Distribution: Breezy Badger
Posts: 4

Rep: Reputation: 0
vmware

ok, I get the same error with the same distribution.

I installed gcc 3.4 as suggested, and progress a little further until I get to the following road block.

________________________________________________________________________________________
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]

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 not an existing directory.
________________________________________________________________________________________

I am unsuccessfull in my attempts to find the correct location of C header files.
What path should I type?

Again, I am installing VMWare Server beta1 on a Breezy Badger distro.
Thanks,
Aksum
 
Old 03-15-2006, 01:39 AM   #4
depam
Member
 
Registered: Sep 2005
Posts: 861

Original Poster
Rep: Reputation: 30
The installation worked with me now. I just used:

./vmware-config.pl --t

And it went thru.
 
Old 03-15-2006, 02:17 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
That's nice to know Depam, but won't help the OP in the slightest...

aksum, it's after your kernel source, or at least headers. I don't know what ubuntu calls this package though. kernel-headers, kernel-devel, kernel-dev... something like that.
 
Old 03-20-2006, 01:26 AM   #6
depam
Member
 
Registered: Sep 2005
Posts: 861

Original Poster
Rep: Reputation: 30
I tried installing it in Mepis and I get the following errors:

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.10/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.10/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.10'
/tmp/vmware-config1/vmmon-only/Makefile:89: *** Inappropriate build environment: you wanted to use gcc version 3.3.5 while kernel attempts to use gcc version 4.0.3.
/tmp/vmware-config1/vmmon-only/Makefile:91: *** For proper build you'll have to replace gcc with symbolic link to /usr/bin/gcc-3.3. Stop.
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.10'
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/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.


Any idea?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vmware 5 in Ubuntu Breezy Sharktale Ubuntu 7 07-08-2006 05:43 AM
Server Project for Ubuntu Breezy Help GMathews Ubuntu 1 01-23-2006 12:28 AM
VMware GSX, PAM, and my general incompetence with servers Electrode Linux - Software 5 03-28-2005 05:38 AM
xdmcp in Red Hat 9 under VMware GSX Server Axel_Mak Red Hat 0 09-08-2004 11:36 AM
want to exchange my vmware esx 3.1 against a vmware gsx 3.1 neton Linux - Software 1 08-06-2004 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration