Kdevelop error: exit with status 77

Asked by icefyre

Kdevelop doesn't exectute, says: exited with status: 77,
also says c++ compiler cannot create execuables. Help!
Kdevelop doesn't want to execute a simple "hello world" program.
I am a linux newbie and I just installed kubunto but I'm pretty sure
I've installed all the needed packages. anyone have any ideas on how
I can get this to work?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu kdevelop Edit question
Assignee:
No assignee Edit question
Solved by:
Cesare Tirabassi
Solved:
Last query:
Last reply:
Revision history for this message
Cesare Tirabassi (norsetto) said :
#1

Can you paste here the content of the relevant config.log file?

Revision history for this message
icefyre (icefyre) said :
#2

here ya go:

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.61. Invocation command line was

  $ /home/icefyre/myhello/configure

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

hostname = icefyre-laptop
uname -m = i686
uname -r = 2.6.20-15-generic
uname -s = Linux
uname -v = #2 SMP Sun Apr 15 07:36:31 UTC 2007

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

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/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/games

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

configure:1966: checking for a BSD-compatible install
configure:2022: result: /usr/bin/install -c
configure:2033: checking whether build environment is sane
configure:2076: result: yes
configure:2141: checking for gawk
configure:2171: result: no
configure:2141: checking for mawk
configure:2157: found /usr/bin/mawk
configure:2168: result: mawk
configure:2179: checking whether make sets $(MAKE)
configure:2200: result: yes
configure:2507: checking for C++ compiler version
configure:2514: i586-mingw32msvc-c++ --version >&5
/home/icefyre/myhello/configure: line 2515: i586-mingw32msvc-c++: command not found
configure:2517: $? = 127
configure:2524: i586-mingw32msvc-c++ -v >&5
/home/icefyre/myhello/configure: line 2525: i586-mingw32msvc-c++: command not found
configure:2527: $? = 127
configure:2534: i586-mingw32msvc-c++ -V >&5
/home/icefyre/myhello/configure: line 2535: i586-mingw32msvc-c++: command not found
configure:2537: $? = 127
configure:2560: checking for C++ compiler default output file name
configure:2587: i586-mingw32msvc-c++ conftest.cpp >&5
/home/icefyre/myhello/configure: line 2588: i586-mingw32msvc-c++: command not found
configure:2590: $? = 127
configure:2628: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "myhello"
| #define VERSION "0.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2635: error: C++ compiler cannot create executables
See `config.log' for more details.

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

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=i586-mingw32msvc-c
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=set
ac_cv_env_CXX_value=i586-mingw32msvc-c++
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_make_make_set=yes

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

ACLOCAL='${SHELL} /home/icefyre/myhello/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/icefyre/myhello/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/icefyre/myhello/missing --run autoconf'
AUTOHEADER='${SHELL} /home/icefyre/myhello/missing --run autoheader'
AUTOMAKE='${SHELL} /home/icefyre/myhello/missing --run automake-1.9'
AWK='mawk'
CC='i586-mingw32msvc-c'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX='i586-mingw32msvc-c++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/icefyre/myhello/missing --run makeinfo'
OBJEXT=''
PACKAGE='myhello'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='0.1'
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='/home/icefyre/myhello/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "myhello"
#define VERSION "0.1"

configure: exit 77

Revision history for this message
Best Cesare Tirabassi (norsetto) said :
#3

You are missing this c++ compiler:

i586-mingw32msvc-c++

I think this is a port of the win32 Visual C compiler for pentium class processors.
I guess you are trying to compile a win32 project; now if this is what you really want to do you should install the missing compiler.
I found these packages in the ubuntu repositories:

mingw32 - Minimalist GNU win32 (cross) compiler
mingw32-binutils - Minimalist GNU win32 (cross) binutils
mingw32-runtime - Minimalist GNU win32 (cross) runtime

If instead you want to compile for the linux environment, try reconfiguring kdevelop or selecting your project type as a linux project.

Revision history for this message
icefyre (icefyre) said :
#4

Thanks Cesare Tirabassi, that solved my question.