LinuxQuestions.org
Visit Jeremy's Blog.
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 01-10-2006, 01:14 PM   #1
chesterthefatp
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 07:54 PM.
 
Old 01-10-2006, 01:22 PM   #2
allelopath
Member
 
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
or
CC=gcc; export CC; ./configure
 
Old 01-10-2006, 03:57 PM   #3
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:09 AM.

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