LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-13-2003, 07:49 AM   #1
atko
Member
 
Registered: Feb 2003
Location: UK
Distribution: Currently Fedora Core 3
Posts: 136

Rep: Reputation: 15
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.
 
Old 12-13-2003, 08:47 AM   #2
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
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?

Last edited by wiraone; 12-13-2003 at 08:49 AM.
 
Old 12-13-2003, 11:50 AM   #3
atko
Member
 
Registered: Feb 2003
Location: UK
Distribution: Currently Fedora Core 3
Posts: 136

Original Poster
Rep: Reputation: 15
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.
 
Old 12-14-2003, 07:49 AM   #4
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
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.
 
  


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
Compiling C with GCC in Fedora Markness Linux - Newbie 3 04-28-2005 10:01 PM
compiling & running java using gcc kiran_kondru17 Linux - Newbie 1 01-04-2005 12:49 PM
VMware running on Fedora Core 2 Dummy-in-Linux Linux - Newbie 3 11-12-2004 06:06 AM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 12:38 PM
eth0 not working on fedora running in VMware 4 on WinXP pro machine ratgod Linux - Networking 14 06-25-2004 05:45 PM

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

All times are GMT -5. The time now is 08:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration