LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva > Conectiva
User Name
Password
Conectiva This forum is for the discussion of Conectiva Linux.

Notices

Reply
 
Search this Thread
Old 12-01-2003, 03:43 PM   #1
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
Compile errors "can't create executable"!


Hi everybody!
Tried to compile fvcool, but ./configure gave me the following:

[root@frank FVCool103]# ./configure
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
[root@frank FVCool103]#

What can I do?
 
Old 12-02-2003, 08:38 PM   #2
Xterminator
Member
 
Registered: Sep 2002
Location: São Paulo -Brazil
Posts: 76

Rep: Reputation: 15
Hi try to install the packages ...task-c-devel task-c++-devel
apt-get install task-c-devel task-c++-devel

Seee yaaaaaaaa!!!!
 
Old 12-11-2003, 08:27 AM   #3
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
C compiler cannot create executables, too

I am also receiving this error. I am attempting to compile "less"

Here is the output of config.log:

...
configure:1295: checking for gcc
configure:1321: result: gcc s
configure:1563: checking for C compiler version
configure:1566: gcc s --version </dev/null >&5
2.95.4
configure:1569: $? = 0
configure:1571: gcc s -v </dev/null >&5
gcc.real: s: No such file or directory
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
configure:1574: $? = 0
configure:1576: gcc s -V </dev/null >&5
gcc.real: argument to `-V' is missing
configure:1579: $? = 1
configure:1599: checking for C compiler default output
configure:1602: gcc s conftest.c >&5
gcc.real: s: No such file or directory
configure:1605: $? = 1
configure: failed program was:
#line 1582 "configure"
#include "confdefs.h"

int
main ()
{

;
return 0;
}
configure:1632: error: C compiler cannot create executables
check `config.log' for details.
...

I attempted to apt-get the packages you mentioned above; however I am not able to locate them. What apt source houses those packages?

Let me know if you have any suggestions... thanks!
 
Old 12-11-2003, 08:45 AM   #4
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Original Poster
Rep: Reputation: 46
Hey friend,
I have no idea about apt sources. Sorry,
 
Old 12-11-2003, 09:32 AM   #5
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
not just apt...

bruno buys,

#--
#Hey friend,
#I have no idea about apt sources. Sorry,...
#--

It's not an apt issue that I'm having... The apt question was to a previous post who suggested using a Debian package installation app called apt-get.

My main issues is with the error I get when trying to ./configure any source.

Thanks!
 
Old 12-11-2003, 11:21 AM   #6
Xterminator
Member
 
Registered: Sep 2002
Location: São Paulo -Brazil
Posts: 76

Rep: Reputation: 15
Re: not just apt...

Quote:
Originally posted by charon79m
bruno buys,

#--
#Hey friend,
#I have no idea about apt sources. Sorry,...
#--

It's not an apt issue that I'm having... The apt question was to a previous post who suggested using a Debian package installation app called apt-get.

My main issues is with the error I get when trying to ./configure any source.

Thanks!
Hi....in debian systems run tasksel and select the metapackage C Development Environment and C++ , to fix this errors.
 
  


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
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
"cannot exec `as': ..." AND "C compiler cannot create ..." pr3st0 Linux - Software 0 10-15-2004 12:42 PM
Trouble making the "pmandel" executable in MPICH 1.2.5.2 jonhoward42 Linux - Software 1 05-10-2004 04:35 AM
snort compile errors "C compiler cannot create executables" RKris Linux - Software 2 11-07-2003 02:08 AM
Pre-Build Executable "No Such File or Directory" problem Archeress Linux - General 2 08-17-2002 08:26 PM


All times are GMT -5. The time now is 05:27 AM.

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