Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-10-2006, 02:14 PM   #1
LQ Newbie
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
I am having trouble installing a program

I cd into the directory containing the installation files labeled src and typed ./configure, but it is telling me there is something wrong with my c compiler which I just updated and installed via kynaptic. This is the message I have please help I am in need of assistance!

[root@localhost src]# ./configure
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
[root@localhost src]#
allelopath I tried what you told me and it didn't work
I am running arklinux

Last edited by chesterthefatp; 01-10-2006 at 08:54 PM.
Old 01-10-2006, 02:22 PM   #2
Registered: Jan 2003
Location: New Mexico
Distribution: SuSE 9.2 Professional, OpenSuSE 10.1 64 bit, Open SuSE 10.2, Debian Etch
Posts: 535

Rep: Reputation: 30
Make sure that gcc is in your PATH environment variable before cc.

#which cc gcc
#echo $PATH

Is gcc before cc in your PATH?

If gcc is before cc in your PATH, you may have to specify CC=gcc when compiling applications.

CC=gcc ./configure
CC=gcc; export CC; ./configure
Old 01-10-2006, 04:57 PM   #3
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
Depending on what distro you have, you may also be able to find a binary format of the package you're trying to compile. In general, only compile as a last resort...


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
having trouble with the do while loop in program mshinska Programming 2 10-08-2005 11:18 PM
Having trouble using libwnck in my program. rob_of_ownsboro Programming 1 05-03-2005 05:25 PM
trouble configuring a program minm Linux - Newbie 12 03-28-2005 05:33 PM
Newbie having trouble installing program lrm233 Linux - General 2 12-05-2003 04:57 PM
Trouble compiling QT program vapebait Programming 2 11-25-2003 03:23 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration