Forgive me if this will be a lengthy post but I'm at a dead end right now.
For your information, I'm running Fedora Core 2 on Dell Inspiron 4000 laptop. Originally, I tried to install MPlayer for my laptop but I ended up getting this error while doing ./configure command. Here it is below:
Code:
[root@ColinLaptop MPlayer-1.0pre6a]# ./configure
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... not found
Checking for gcc version ... not found
Checking for gcc-3.4 version ... not found
Checking for gcc-3.3 version ... not found
Checking for gcc-3.2 version ... not found
Checking for gcc-3.1 version ... not found
Checking for gcc3 version ... not found
Checking for gcc-3.0 version ... not found
Checking for cc version ... not found
*** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! ***
You are not using a supported compiler. We do not have the time to make sure
everything works with compilers other than the ones we use. Use either the
same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3.x version!
Note for gcc 2.96 users: Some versions of this compiler are known to miscompile
mplayer and lame (which is used for mencoder). If you get compile errors,
first upgrade to the latest 2.96 release (minimum 2.96-85) and try again.
If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting
bugs!
GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US !
*** For details please read DOCS/HTML/en/users-vs-dev.html ***
Error: Bad gcc version
So I proceeded to download the latest version of GCC C Compiler which is 3.4.3 for my laptop. When I started "./configure" for GCC 3.4.3, to my bad luck, I get another error message about not having the correct enviroment variables. I did real the FAQ and Manual from GCC but it doesn't quite explain how to set up enviroment variables. Here is the error message below:
Code:
[root@ColinLaptop gcc-3.4.3]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
checking for a BSD compatible install... /usr/bin/install -c
./configure: line 2332: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Now I cannot configure these two programs together and I looked at GCC's website about Configuration but it didn't make much sense to me. Excerpt from its website, "
When configuring a native system, either cc or gcc must be in your path or you must set cc in your enviroment before running configure. Otherwise configuration scripts may fail. The only problem is, I do not know how to set up the proper enviroment variables. Does anyone here has experience in doing this?
Hoping for some help...