You shouldn't need to download anything. FC2 comes with gcc, it'll be on your installation disc(s). Slap the disc in the drive, run the software installer from the main menu system, enter the root password if prompted, select gcc (it'll be in the development section) then install both gcc and any oother files it suggests are needed. Then, in a console, do
rpm -qa |grep -i gcc , which should return a familiar looking list of package names (i.e. those you just installed.) The $CC variable will be taken care of automagically. |
Therefore, how come http://www.roaringpenguin.com/pengui...e_rp-pppoe.php and the GCC when i installed still can't compile?? and go thru??
|
well in order to find out if you have gcc installed ... go ahead and type gcc <enter> in the console and if it outputs gcc: No input files, then that means that it is installed on your system. If not then it's quite possible the link to your gcc got broken or deleted... and the original path of gcc is not in your PATH environment. On some systems the tool 'locate' is installed ... if that's the case then do a "locate gcc" and that will spit out different files and folder paths which have gcc.
|
okay.. i have locate the file.. but how to repair the missing link?? shld i type export GCC = "/usr/bin/gcc" or something else? and how to configure the GCC to compile C??
|
Hi.
I have find a error msg in my error.log. This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:540: checking for gcc configure:653: checking whether the C compiler (gcc ) works configure:669: gcc -o conftest conftest.c 1>&5 /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure: failed program was: #line 664 "configure" #include "confdefs.h" main(){return(0);} |
All times are GMT -5. The time now is 10:09 PM. |