LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   U need to have a c compiler.... What is that? (https://www.linuxquestions.org/questions/linux-software-2/u-need-to-have-a-c-compiler-what-is-that-120736/)

ullfrigg 11-28-2003 10:33 AM

U need to have a c compiler.... What is that?
 
Trying to install and configure vmware

Get this error

"None of VMware Workstation's pre-built vmmon modules 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]"

i use suse linux 9.0

What am i to do?

neurotic 11-28-2003 10:41 AM

have you tried typing yes yet? :P

EyesOnly 11-28-2003 10:58 AM

yes might be the best choise indeed:D

but serious. The installer said than non of the binary programs are suitable for yur system
Therefore it want's to take the source-code, and build a suitable binary for your system.

so to answer your question:
in short a compiler is a program which can build a binary(a program) from source-code(programming code, like C, C++ and such)

every linux distro has such a compiler installed by default, as far as i know, so you should have it too(and otherwise, there is a copy on your installation disks.)

ullfrigg 11-28-2003 11:32 AM

c++
 
Ohwell...
Now i know ive got these compilers installed...

but it still wont work

What is the location of the "make" program on your machine? usr/bin/c<-- what to type here

Help pls...

neurotic 11-28-2003 11:51 AM

What is going wrong? What are the errors?

you should just be able to ./configure && make && make install

That worked fine for me with VMware

Cerbere 11-28-2003 12:02 PM

Vmware is trying to build modules to match your existing kernel, so you will also need to have the kernel source code installed. Look for /usr/src/linux to see if it's installed, otherwise you'll have to find/install it. I'm not sure how suse handles packages, but there may be a package called 'linux- . . . -src.rpm' or linux- . . . -devel.tgz' or some hybrid of these names.

If you can't find a specific package, then type on the command line: 'uname -r'. This will tell you what version kernel you're running (let's assume that it's 2.4.20 for example). Next browse this link http://www.kernel.org/pub/linux/kernel/ and click on the folder corresponding to your kernel (v2.4), then download the correct package (linux-2.4.20.tar.bz2). The kernel source package will be around 20-35 Mb in size, so you'd better have broadband. Move this package to /usr/src/ then decompress it with the command: 'tar -xjvf linux-2.4.20.tar.bz2'. Next create a symlink to the directory that is created in /usr/src (linux-2.4.20) with the following command: 'ln -s /usr/src/linux-2.4.20 /usr/src/linux'.

Now you should be able to complete the vmware install.

Enjoy!
--- Cerbere

neurotic: when I installed vmware on Slack, I had to go through a rather roundabout method to deal with the BSD startup scripts, and my package had no './configure-make-make install' procedure, but a perl script that handled the install.

[edit] ullfrigg: when it asks for the location of your compiler, just hit enter to accept the default. [/edit]

ullfrigg 11-28-2003 01:05 PM

Nope.... Didnt work

ullfrigg 11-29-2003 03:19 AM

Grrrrrrrr
 
I was too qick there... it dindnt work, and when trying i get this error:

"The path "/usr/bin/linux/net" is an existing directory, but it does not contain
at least one of these directories "linux", "asm", "net" as expected."

I have checked, and checked again, andt the directory "net" is there...

What am i doing wrong this time?

hogliden 11-29-2003 02:14 PM

Hello Ullfrig (are you swedish?),

I had the same problem. However I did an install of the COMPLETE development software which is included in the Suse 9 package (use YaST to install additional software).
After that I had no problem with installing and running VMWare.

However......., now you have another challenge: untill now I didn't succeed in creating nor working with a virtual machine. I searched the whole Internet (nwah...) but the results didn''t make me happy:
1) VMWare doesn't support Suse 9 untill now. Check their site!
2) I found a discussion in German in which someone stated that he had running VMWare 4 in Suse 9, but only in VGA-modus, meaning 640x480 dots and only 16 colors. :-(

Next week I will try again together with a technician from my company. Maybe together we will find out what the problem is.

If u want 2 sent mail: English is OK, however Dutch, Swedish and German are also no problem.

Greetz,

Cas, Rijckholt, The Netherlands

ullfrigg 11-29-2003 05:27 PM

Nei jeg er norsk
 
Hi...

Thanks for the tip.

I will try installing all of the yast packages.

Pls tell me how it works out for you.

Best regards.


All times are GMT -5. The time now is 05:52 AM.