LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 04-30-2007, 12:06 AM   #1
n16_vishnoi
LQ Newbie
 
Registered: Apr 2007
Posts: 9

Rep: Reputation: 0
Smile configuration problem


i have installed ubuntu.
then i insatalled ettercap. but i got the error " c compiler can not create executables".
i thought there was problem with gcc compiler.
so i downloaded gcc compiler but when i configure gcc compiler , again i got the same error " c compiler can not create executables".
whatever i m configuring , it is showing the same error " c compiler can not create executables".
i m not getting either problem is with ubuntu or something is missing.

i have already wasted one week in this problem and still clueless.
 
Old 04-30-2007, 12:51 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Have you installed the build-essential package? What errors are given in the config logfile?

Last edited by Matir; 04-30-2007 at 12:52 AM.
 
Old 05-01-2007, 05:06 AM   #3
n16_vishnoi
LQ Newbie
 
Registered: Apr 2007
Posts: 9

Original Poster
Rep: Reputation: 0
ujjaval@ujjaval-desktop:~$ cd Desktop/my/ettercap-
ettercap-0.7.3/ ettercap-NG-0.7.3/
ujjaval@ujjaval-desktop:~$ cd Desktop/my/ettercap-NG-0.7.3/
ujjaval@ujjaval-desktop:~/Desktop/my/ettercap-NG-0.7.3$ ./configure
checking whether to enable maintainer-specific portions of Makefiles... no

Configuring ettercap NG-0.7.3...

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
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.
ujjaval@ujjaval-desktop:~/Desktop/my/ettercap-NG-0.7.3$




This is config log is as follow...................

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = ujjaval-desktop
uname -m = i686
uname -r = 2.6.17-10-generic
uname -s = Linux
uname -v = #2 SMP Fri Oct 13 18:45:35 UTC 2006

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1532: checking whether to enable maintainer-specific portions of Makefiles
configure:1541: result: no
configure:1564: result:
configure:1566: result: Configuring ettercap NG-0.7.3...
configure:1568: result:
configure:1612: checking for a BSD-compatible install
configure:1667: result: /usr/bin/install -c
configure:1678: checking whether build environment is sane
configure:1721: result: yes
configure:1778: checking for gawk
configure:1807: result: no
configure:1778: checking for mawk
configure:1794: found /usr/bin/mawk
configure:1804: result: mawk
configure:1814: checking whether make sets $(MAKE)
configure:1834: result: yes
configure:2009: checking build system type
configure:2027: result: i686-pc-linux-gnulibc1
configure:2035: checking host system type
configure:2049: result: i686-pc-linux-gnulibc1
configure:2530: checking for gcc
configure:2546: found /usr/bin/gcc
configure:2556: result: gcc
configure:2800: checking for C compiler version
configure:2803: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2806: $? = 0
configure:2808: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
configure:2811: $? = 0
configure:2813: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2816: $? = 1
configure:2839: checking for C compiler default output file name
configure:2842: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2845: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "ettercap"
| #define VERSION "NG-0.7.3"
| #define OS_LINUX 1
| #define INSTALL_PREFIX "/usr/local"
| #define INSTALL_EXECPREFIX "/usr/local"
| #define INSTALL_SYSCONFDIR "/usr/local/etc"
| #define INSTALL_DATADIR "/usr/local/share"
| #define INSTALL_LIBDIR "/usr/local/lib"
| #define INSTALL_BINDIR "/usr/local/bin"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2884: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnulibc1
ac_cv_build_alias=i686-pc-linux-gnulibc1
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_GTK_CFLAGS_set=
ac_cv_env_GTK_CFLAGS_value=
ac_cv_env_GTK_LIBS_set=
ac_cv_env_GTK_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnulibc1
ac_cv_host_alias=i686-pc-linux-gnulibc1
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/ujjaval/Desktop/my/ettercap-NG-0.7.3/missing --run aclocal-1.8'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/ujjaval/Desktop/my/ettercap-NG-0.7.3/missing --run tar'
AR=''
AS=''
AUTOCONF='${SHELL} /home/ujjaval/Desktop/my/ettercap-NG-0.7.3/missing --run autoconf'
AUTOHEADER='${SHELL} /home/ujjaval/Desktop/my/ettercap-NG-0.7.3/missing --run autoheader'
AUTOMAKE='${SHELL} /home/ujjaval/Desktop/my/ettercap-NG-0.7.3/missing --run automake-1.8'
AWK='mawk'
BSD_FALSE=''
BSD_TRUE='#'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CONVENIENCE_LTDL_FALSE=''
CONVENIENCE_LTDL_TRUE=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
CYGWIN_FALSE=''
CYGWIN_TRUE='#'
DARWIN_FALSE=''
DARWIN_TRUE='#'
DEFS=''
DEPDIR=''
DLLTOOL=''
EB=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EC_CFLAGS=''
EC_LIBS=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
GTK_CFLAGS=''
GTK_FALSE=''
GTK_LIBS=''
GTK_TRUE=''
HAVE_DN_EXPAND_FALSE=''
HAVE_DN_EXPAND_TRUE=''
HAVE_PCRE_FALSE=''
HAVE_PCRE_TRUE=''
ICONVLIB=''
INET_ATON_WANTS_RESOLV_FALSE=''
INET_ATON_WANTS_RESOLV_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_LTDL_FALSE=''
INSTALL_LTDL_TRUE=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBADD_DL=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LINUX_FALSE='#'
LINUX_TRUE=''
LNETINC=''
LNETLIB=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/ujjaval/Desktop/my/ettercap-NG-0.7.3/missing --run makeinfo'
MINGW_FALSE=''
MINGW_TRUE='#'
MISSING_BASENAME_FALSE=''
MISSING_BASENAME_TRUE=''
MISSING_GETOPT_LONG_FALSE=''
MISSING_GETOPT_LONG_TRUE=''
MISSING_INET_ATON_FALSE=''
MISSING_INET_ATON_TRUE=''
MISSING_MEMCMP_FALSE=''
MISSING_MEMCMP_TRUE=''
MISSING_MEMMEM_FALSE=''
MISSING_MEMMEM_TRUE=''
MISSING_SCANDIR_FALSE=''
MISSING_SCANDIR_TRUE=''
MISSING_STRCASESTR_FALSE=''
MISSING_STRCASESTR_TRUE=''
MISSING_STRLCAT_FALSE=''
MISSING_STRLCAT_TRUE=''
MISSING_STRLCPY_FALSE=''
MISSING_STRLCPY_TRUE=''
MISSING_STRSEP_FALSE=''
MISSING_STRSEP_TRUE=''
NCURSES_FALSE=''
NCURSES_TRUE=''
NCURSINC=''
NCURSLIB=''
OBJDUMP=''
OBJEXT=''
OPENSSL_FALSE=''
OPENSSL_TRUE=''
PACKAGE='ettercap'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PCAPINC=''
PCAPLIB=''
PCREINC=''
PCRELIB=''
PKG_CONFIG=''
PLUGINS_FALSE=''
PLUGINS_TRUE=''
PL_CFLAGS=''
PL_LDFLAGS=''
RANLIB=''
SB=''
SET_MAKE=''
SFU_FALSE=''
SFU_TRUE='#'
SHELL='/bin/bash'
SOLARIS_FALSE=''
SOLARIS_TRUE='#'
SSLINC=''
SSLLIB=''
STRIP=''
VERSION='NG-0.7.3'
YACC=''
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_F77=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
ac_pt_PKG_CONFIG=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnulibc1'
build_alias=''
build_cpu='i686'
build_os='linux-gnulibc1'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='/usr/local'
host='i686-pc-linux-gnulibc1'
host_alias=''
host_cpu='i686'
host_os='linux-gnulibc1'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/ujjaval/Desktop/my/ettercap-NG-0.7.3/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p -- .'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define INSTALL_BINDIR "/usr/local/bin"
#define INSTALL_DATADIR "/usr/local/share"
#define INSTALL_EXECPREFIX "/usr/local"
#define INSTALL_LIBDIR "/usr/local/lib"
#define INSTALL_PREFIX "/usr/local"
#define INSTALL_SYSCONFDIR "/usr/local/etc"
#define OS_LINUX 1
#define PACKAGE "ettercap"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "NG-0.7.3"

configure: exit 77
 
  


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
SNAT working problem(is that configuration problem?) cranium2004 Linux - Networking 11 05-12-2005 08:18 AM
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 01:35 PM
X configuration problem - OR - Where did the configuration tool go??? t3kn0lu5t Debian 3 09-25-2003 07:19 PM
Configuration Problem suriyamohan Linux - Software 1 04-23-2003 02:42 PM
Configuration problem kabong Linux - General 1 08-18-2001 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:15 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