LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 07-23-2004, 04:29 AM   #1
geran
LQ Newbie
 
Registered: Jul 2004
Posts: 10

Rep: Reputation: 0
Error message when doing ./configure


Hi,

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.

Thanks.
 
Old 07-23-2004, 04:59 AM   #2
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
download and install "gcc".
 
Old 07-23-2004, 05:00 AM   #3
calluminsky
Member
 
Registered: Jul 2004
Location: Milton Keynes, UK
Distribution: Red Hat Fedora
Posts: 35

Rep: Reputation: 15
It sounds like you need to get a C compiler installed on the machine. Go to:

http://gcc.gnu.org/

and that should have all the info that you need!

Good luck!

Calluminsky
 
Old 07-23-2004, 10:26 AM   #4
ioannisss
Member
 
Registered: Jul 2004
Location: Greece
Distribution: SuSE Mandriva FC
Posts: 32

Rep: Reputation: 15
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. :-(
 
Old 07-23-2004, 10:53 AM   #5
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
whenever possible... use the compiler that came with your distro !
that way all the versions will be matced and compatable.

ive never known a distro without a compiler.

all the dependency's will also be on the CD.
 
Old 07-23-2004, 12:07 PM   #6
enygma
Member
 
Registered: Mar 2003
Distribution: CentOS 5.2
Posts: 43

Rep: Reputation: 15
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.
 
Old 07-23-2004, 01:05 PM   #7
geran
LQ Newbie
 
Registered: Jul 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Hi..

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.
 
Old 07-23-2004, 01:44 PM   #8
enygma
Member
 
Registered: Mar 2003
Distribution: CentOS 5.2
Posts: 43

Rep: Reputation: 15
in bash:

CC=<path to gcc executable>; export CC

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.
 
Old 07-23-2004, 02:13 PM   #9
Corona4456
Member
 
Registered: Jul 2004
Distribution: SuSE 9.1
Posts: 66

Rep: Reputation: 15
Quote:
Originally posted by enygma
in bash:

CC=<path to gcc executable>; export CC

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.
export CC=<path to gcc> will work as well
 
Old 07-23-2004, 05:07 PM   #10
geran
LQ Newbie
 
Registered: Jul 2004
Posts: 10

Original Poster
Rep: Reputation: 0
path to GCC?? u meant the dir? is it in the package of GCC that i have download? or is it installed in my linux?
 
Old 07-23-2004, 05:16 PM   #11
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

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

Last edited by mugstar; 07-23-2004 at 05:20 PM.
 
Old 07-23-2004, 05:57 PM   #12
geran
LQ Newbie
 
Registered: Jul 2004
Posts: 10

Original Poster
Rep: Reputation: 0
erm.. it seems that i can't find the excutable file.. is it GCC.H??
 
Old 07-23-2004, 06:35 PM   #13
Corona4456
Member
 
Registered: Jul 2004
Distribution: SuSE 9.1
Posts: 66

Rep: Reputation: 15
Quote:
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++.
 
Old 07-23-2004, 06:36 PM   #14
geran
LQ Newbie
 
Registered: Jul 2004
Posts: 10

Original Poster
Rep: Reputation: 0
is alright.. i try to search for it again.. and if i need further help.... i will just come back here.. thanks a lot..

Last edited by geran; 07-23-2004 at 06:40 PM.
 
Old 07-23-2004, 07:03 PM   #15
geran
LQ Newbie
 
Registered: Jul 2004
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
  


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
Error message in ./configure during the installation of Rosegarden-4-1.0 King_Loz Linux - Software 5 10-11-2005 07:07 PM
QMAIL error:554 Transaction failed: message format error mpk25 Linux - Software 1 10-15-2004 12:53 PM
GlibC_2.3 not found message when .configure shazam75 Linux - Software 0 10-15-2004 03:33 AM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 03:52 PM
Error message when ./configure 'ing quanta madd matt Linux - Software 2 06-18-2004 04:28 PM


All times are GMT -5. The time now is 03:04 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration