LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-04-2003, 11:10 PM   #1
Josnap
LQ Newbie
 
Registered: Mar 2003
Location: Cainta, Philippines
Distribution: Vector Linux 4.3
Posts: 19

Rep: Reputation: 0
Configure Error


This has been happening to all software that I have been trying to install on my Slackware. Whenever I try to configure a software using ./configure , the following error message always appears:

configure: error: installation or configuration problem: C compiler cannot create executables

What should I do? Thanks in advance.
 
Old 10-05-2003, 03:53 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,789

Rep: Reputation: 292Reputation: 292Reputation: 292
"configure: error: installation or configuration problem: C compiler cannot create executables"

It sounds like gcc is not installed or it is only partially installed. I suggest that you reinstall gcc.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 10-07-2003, 10:02 AM   #3
Josnap
LQ Newbie
 
Registered: Mar 2003
Location: Cainta, Philippines
Distribution: Vector Linux 4.3
Posts: 19

Original Poster
Rep: Reputation: 0
I've got more error details here:

gcc: installation problem, cannot exe 'as': no such file or diretory
*** You must set variable CC to a working compiler ***

What should I do with this? pls reply.

Last edited by Josnap; 10-07-2003 at 10:04 AM.
 
Old 10-07-2003, 10:31 AM   #4
art15t
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
As Jailbait says, re-install gcc or if you know the path to gcc then try

CC=/PATHTOGCC/gcc
export CC

You really shouldn't need to do this if the gcc package is installed correctly!

ART
 
Old 10-07-2003, 10:34 AM   #5
Josnap
LQ Newbie
 
Registered: Mar 2003
Location: Cainta, Philippines
Distribution: Vector Linux 4.3
Posts: 19

Original Poster
Rep: Reputation: 0
I reinstalled gcc, but that doesn't seem to solve the problem...
 
Old 10-07-2003, 10:43 AM   #6
art15t
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
Only other thing i can suggest is to place the shell in debug mode using:

set -vx
./configure

This will give you a verbose output as the configure runs. Unset debug with:

set +vx

cut and paste the output you get into your next reply, also tell us more about what you're trying configure and as what user you are trying to perform this as.......don't forget you may need to be root. The other thing is why can't you install the binary package for this.....is one available?

ART
 
  


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
server-error-internal-error with CUPS "Configure Printer" fskmh Slackware 6 06-05-2013 02:51 PM
./configure error dustynus Linux - General 9 04-01-2005 05:11 PM
./configure ERROR Lier Linux - Software 6 03-15-2005 07:15 PM
ardour wont configure: configure: error: C preprocessor "/lib/cpp" fails sanity check disciple061 Linux - Software 4 01-22-2005 01:35 PM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 04:52 PM


All times are GMT -5. The time now is 01:12 PM.

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