LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Fedora running VMware/GCC compiling (https://www.linuxquestions.org/questions/fedora-35/fedora-running-vmware-gcc-compiling-125459/)

atko 12-13-2003 06:49 AM

Fedora running VMware/GCC compiling
 
Has anyone attempted to run VMware on Fedora? I have successfully installed it but need to configure it and it cannot be configured due to the location of gcc complier. I have downloaded & extracted gcc-3.3.2 but am unable to compile this as running the ./configure command begins to configure then I get the following;

Created "Makefile" in gcc directory using "mt-frag"
./configure: line 8: gcc: command not found
*** the command 'cc -o conftest -g conftest.c' failed
*** You must set the environment variable CC to a working compiler.

Obviously I cannot configure VMware until gcc is working but am unable to get gcc working due to the above. Any help would be appreciated.

Cheers.

wiraone 12-13-2003 07:47 AM

Try this:

$ export CC=gcc

And run the ./configure again

Opss.. reading again from your original post .. were you trying to compile the gcc from source? or were you trying to compile the VMware driver?

atko 12-13-2003 10:50 AM

GCC is now compiled, however it is the latest version. I am now being asked for the location of the directory of C header files that match my running kernel???? The suggested path is /usr/src/linux/include but when accepting this path I get an error advising it is not an existing path. Fair enough, but what is the existing path? Any help would be appreciated.

wiraone 12-14-2003 06:49 AM

My suggestion is not to recompile your own package ... install the one from your Fedora CDs. Use Add/Remove Applications to accomplish that. The include (header files) mentioned is most probably the kernel header files which can be found in the kernel-source-2.4.22-* in one of your Fedora CDs.


All times are GMT -5. The time now is 10:55 PM.