LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices

Reply
 
Search this Thread
Old 05-17-2014, 05:11 PM   #1
Fixit7
Member
 
Registered: Mar 2014
Posts: 167

Rep: Reputation: 0
Compiler can't create executables


# ./configure
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.

I tried this in .tmp and one of my own directories.
 
Old 05-17-2014, 09:16 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,715

Rep: Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458
A web search for that error message did not turn up much that was useful because the error itself is rather generic.

What were the errors in the config.log file?

If the config.log is too long to post, post the errors, being sure to surround them with "code" tags, which become available when you click the "Go Advanced" button to the right of the "Post Quick Reply" button at the bottom of the reply window. Using the "code" tags makes them much easier to read.

The first error is likely the most important, as following errors may have stemmed from it.
 
Old 05-17-2014, 09:28 PM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 12,902

Rep: Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713
Also what program are you trying to build ?
a link to where you got the source code would help .

also you should NOT!!!! run "configure" as root !!!
you need to run that command as a NORMAL non root user
 
1 members found this post helpful.
Old 05-17-2014, 10:01 PM   #4
Fixit7
Member
 
Registered: Mar 2014
Posts: 167

Original Poster
Rep: Reputation: 0
Config.log

I attached config.log.
'
Andy
Attached Files
File Type: log config.log (5.2 KB, 7 views)
 
Old 05-17-2014, 10:15 PM   #5
John VV
Guru
 
Registered: Aug 2005
Posts: 12,902

Rep: Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713
Quote:
gcc: fatal error: no input files
you were in the wrong folder when you ran the command

---------- Post added 05-17-14 at 11:15 PM ----------

Quote:
gcc: fatal error: no input files
you were in the wrong folder when you ran the command
 
Old 05-17-2014, 10:21 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,625

Rep: Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529
Post #4 : config.log .

About gcc -V : »gcc: error: unrecognized command line option '-V'«
The -V option disappeared some versions ago. ( gcc-4.4.x still had -V )

Looks like you are trying to configure an old application ?
Please tell which one it is about.

And : " libmpc.so.2: cannot open shared object file: No such file or directory".
The mpc library is missing : "slackware/l/libmpc-0.8.2-i486-2.txz"

-

Last edited by knudfl; 05-17-2014 at 10:31 PM.
 
1 members found this post helpful.
Old 05-17-2014, 10:55 PM   #7
Fixit7
Member
 
Registered: Mar 2014
Posts: 167

Original Poster
Rep: Reputation: 0
I greatly appreciate your help.

Hope no one is offended, but I decided to use a Windows XP hex editor.

Andy

How come my Rep is still at one bar ?
 
Old 05-18-2014, 01:29 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,625

Rep: Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529
# 7 .
Quote:
How come my Rep is still at one bar ?
Your ``Reputation´´ is disabled.

Right column → "Edit Profile" → → left column → 'Edit Options'.
.. And tick "Show Your Reputation Level" → Save Changes.
 
1 members found this post helpful.
  


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
C++ compiler cannot create executables adam_hartlepool Linux - Software 7 03-08-2011 08:30 AM
C++ compiler cannot create executables eomerek Linux - Newbie 28 12-13-2010 09:14 AM
C compiler cannot create executables lohith ys Linux - Software 3 04-26-2010 07:50 AM
C compiler cannot create executables nedzer Linux - Newbie 13 01-21-2009 12:15 PM
C compiler cannot create executables Apt Quadruped Linux - Desktop 2 07-30-2007 01:13 PM


All times are GMT -5. The time now is 10:58 PM.

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