LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Conectiva (https://www.linuxquestions.org/questions/conectiva-19/)
-   -   Compile errors "can't create executable"! (https://www.linuxquestions.org/questions/conectiva-19/compile-errors-cant-create-executable-121715/)

bruno buys 12-01-2003 03:43 PM

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?

Xterminator 12-02-2003 08:38 PM

Hi try to install the packages ...task-c-devel task-c++-devel
apt-get install task-c-devel task-c++-devel

Seee yaaaaaaaa!!!!

charon79m 12-11-2003 08:27 AM

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!

bruno buys 12-11-2003 08:45 AM

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

charon79m 12-11-2003 09:32 AM

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!

Xterminator 12-11-2003 11:21 AM

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.


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