Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I trying to install a application on my fedora 2 in which i need to run.. The application is PPPoE application. But when i type ./go for it.. it shows that i need a "C" Compiler.. but i am not sure when to get the "C" Compiler. The error message is at below:
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
I have the same problem on Suse 9.1
I downloaded the gcc 3.3.3-41 and it wants binutils_and_glibc-devel to work.
I downloaded binutils 2.14.90.0.5-47 and glibc-devel 2.3.2-92 and then the horror!
conflict, missing, conflict. :-(
problem with downloading a compiler, you get the source most times... meaning you would have to compile the compiler...
Most distros though, come with a compiler, with exception of SuSE 9.1 Personal. If your distro does come with a compiler, I would suggest looking to the install disks about getting your compiler installed properly.
I have download the GCC but now come another problem. It need to set a CC compiler..
*** The command 'gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler..
I have surf thru the net and find out i need to install the binaries for it... which i have done so.. but still required me to set the environment variable.. So how do we set the environment variable? Thanks a lot and take ur precious to teach this newbie.
Another thing you can do is edit the Makefile so that if oyu are using a separate compiler, the necessary compiler variables point to actuall binaries, rather than standard GCC binaries.
Another thing you can do is edit the Makefile so that if oyu are using a separate compiler, the necessary compiler variables point to actuall binaries, rather than standard GCC binaries.
Originally posted by Corona4456 export CC=<path to gcc> will work as well
They'll both work, but the environment variable will AFAIR only be set temporarily by these methods and will be lost when you logout / reboot. To permanently set it, you could edit /etc/profile (as root) and add either of the above commands.
<path-to-gcc> means the path to the binary, or executable program. Doing which gcc in a console will supply you with the right path.
Originally posted by geran erm.. it seems that i can't find the excutable file.. is it GCC.H??
nope it should just be gcc ... no extension. You might not have it. Do a search for gcc binary on google and you should be able to find it somewhere. Fedora should have a package somewhere which includes gcc and g++.
I have find that fedora 2 got GCC installed on it.. but when i type ./go.sh for the application that i wan to installed. Error msg come out stating: checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.