MEPISThis forum is for the discussion of MEPIS Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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".
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.
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?
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.
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?
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!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.