LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 12-27-2005, 04:58 AM   #1
Lexje
LQ Newbie
 
Registered: Sep 2003
Location: Antwerp
Distribution: Mdk, RH, Ubuntu
Posts: 6

Rep: Reputation: 0
Question VMware on Mepis 3.4-2.rc1


Hi,

I'm trying to install VMware workstation 5 on Mepis.
First I got an error indicating a wrong gcc version.
I then set the environment to gcc-3.3:
----------------------
root@3[src]# echo $CC
gcc-3.3.6
----------------------
Next VMware would not install. It seemed that kernel-headers were not installed. So I installed the following:
----------------------
root@3[src]# ls -l
total 16
drwxr-xr-x 16 root root 4096 2005-12-27 11:26 linux-headers-2.6.12-1
drwxr-xr-x 5 root root 4096 2005-12-27 11:26 linux-headers-2.6.12-1-586tsc
drwxr-sr-x 2 root 1000 4096 2003-09-30 20:29 modules
drwxr-xr-x 7 root root 4096 2005-02-20 02:31 rpm
-----------------------
But I keep getting this error:
-----------------------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]

Unable to find the compiler specified in the CC environnment variable:
"gcc-3.3.6".

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

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

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

Execution aborted.
------------------------

Any suggestions??
Thanks a lot!!

Erwin
 
Old 12-27-2005, 05:34 AM   #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
to me it looks like you've created this error yourself... you've got gcc-4.0 installed yet you've explictly told vmware that your gcc is 3.3.6?? how does that make any sense? either install gcc 3.3.6 PROPERLY or make vmware compile with what you actually have. simply lying about your version is clearly getting you nowhere.
 
Old 12-27-2005, 07:30 AM   #3
Lexje
LQ Newbie
 
Registered: Sep 2003
Location: Antwerp
Distribution: Mdk, RH, Ubuntu
Posts: 6

Original Poster
Rep: Reputation: 0
Cool VMware on ?epis

Chris,

Thanks for your reaction.
Here's some more detail for you to beter understand.

Recently I'm testing out Mepis, as I am working on a laptop with an nVidia Geforce card, I had trouble getting dualview to work with Mepis 3.1.
To solve this proble, I downloaded the 3.4 rc1 and did a new install with a complete format of partitions.

So far so good.
Now the tricky part is that I never explicitly requested gcc nor any specific version.

Next, VMware states:
------------------------------
Your kernel was built with "gcc" version "3.3.6", while you are trying to use
"/usr/bin/gcc" version "4.0.3"
------------------------------

Then I intended to remove gcc-4.0.3, but I get confronted with other dependencies that need gcc-4....

I'm not trying to fool anything or anybody, but don't know how to proceed in the best way??

It seems I would have to:
---------------------------------
restart /usr/bin/vmware-config.pl
with CC environment variable pointing to the "gcc" version "3.3.6"
---------------------------------
But how do I give that command correctly?

Thanks for your help!!

Erwin
 
Old 12-27-2005, 08:49 AM   #4
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
well do you actually have gcc 3.3.6 installed? if so check what main gcc binary is provided by the package you installed (no idea what management system mepis uses though...) then CC would be exported to reflect that binary, possibly by the full path if need be. but that binary must actually exist and running the contents of the CC variable must result in your chosen version of gcc being executed.
 
Old 12-27-2005, 10:34 AM   #5
Lexje
LQ Newbie
 
Registered: Sep 2003
Location: Antwerp
Distribution: Mdk, RH, Ubuntu
Posts: 6

Original Poster
Rep: Reputation: 0
Cool

Chris,

Thanks for your reaction!
I'm afraid I don't fully follow you...
------------------------------------
if so check what main gcc binary is provided by the package you installed
------------------------------------
When I check with synaptic, it shows both versions of gcc are installed. How can I check what main gcc binary is provided?

Thanks!!

Erwin
 
Old 12-28-2005, 10:33 PM   #6
RanDrake10
Member
 
Registered: Oct 2004
Location: Florida
Distribution: Debian
Posts: 319

Rep: Reputation: 30
Have you tried:
apt-get update
apt-get install gcc-3.3

then type "export CC=gcc-3.3" before starting vmware install.

KDE 3.4 has a lot tied in with removing gcc-4.0 so just leave it, just remember to export CC before runing scripts.
 
Old 12-29-2005, 02:45 AM   #7
Lexje
LQ Newbie
 
Registered: Sep 2003
Location: Antwerp
Distribution: Mdk, RH, Ubuntu
Posts: 6

Original Poster
Rep: Reputation: 0
Wink VMware on Mepis

Hi RanDrake10;

Actually I already removed gcc-4 before your post; does not seem to give too many problems...
I solved the gcc proble, by putting in a symbolic link.
Also found that if I run the install program, without configuring any network then VM installs...

If next I try to reconfigure bridged network, it fails....

I have it running under SuSE 10, but would still like to see it running on Mepis though!!

Erwin
 
  


Reply



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
adding a scanjet 3300c to Mepis 3.4 rc1 79spitfire Linux - Hardware 0 12-04-2005 07:37 PM
Mepis 3.4 rc1 grc2012 MEPIS 0 11-26-2005 05:03 PM
Vmware & Mepis BittaBrotha MEPIS 4 10-09-2005 09:38 PM
VMware 5/2.6.14-rc1 xKintaro Linux - Software 1 09-17-2005 09:34 AM
Mepis and VMWare problem aguerra Linux - Distributions 1 03-15-2005 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS

All times are GMT -5. The time now is 03:55 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