LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Rep: Reputation: 169Reputation: 169
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
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,349
Blog Entries: 28

Rep: Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147
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
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Config.log

I attached config.log.
'
Andy
Attached Files
File Type: log config.log (5.2 KB, 31 views)
 
Old 05-17-2014, 10:15 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
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: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 03:11 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
Open Source Consulting | Domain Registration