LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   C compiler cannot create executables See `config.log' for more details (https://www.linuxquestions.org/questions/linux-newbie-8/c-compiler-cannot-create-executables-see-%60config-log-for-more-details-621221/)

mehdiee 02-14-2008 09:34 PM

C compiler cannot create executables See `config.log' for more details
 
I just Installed kubuntu 7.10 and updated the kde with ´sudo apt-get install kde´ and now I want to install an application but I get this error
¨ C compiler cannot create executables See `config.log' for more details¨
I am a newbie... can someone tell me the solution in a step by step procedure ... thanks .... I was searching for the solution in the forums but couldnt get it much ... but as I found out it has something to do with gcc congif .... I dont know anything ......... thank you so much for your help ............

j-ray 02-15-2008 03:05 AM

is gcc installed? type 'which gcc' in bash
if "/usr/bin/gcc" does not show:
sudo apt-get install gcc bison flex

if it is installed take a look at the "config.log" in the directory where you ran ./configure

btw gcc is the GnuCompilerCollection. you need that to compile programs written in C, C++, Fortran,...

Simon Bridge 02-15-2008 03:59 AM

Quote:

now I want to install an application
Which application? What is the package? Where did you get it?
Did you read the "readme" that came with the package?

Quote:

but I get this error
¨ C compiler cannot create executables See `config.log' for more details¨
What was the last command you typed before this error?
Did you read the config.log file?
Did you update (install?) gcc?

mehdiee 02-16-2008 01:01 AM

Here are the Information
 
I am trying to install aquamarine-0.2.1 package that I think is the newest vesion for beryl(desktop features), I get this error when I run ´./configure´ (that I think its for compiling the code) and I ran the ´which gcc´ and it showed me ´/usr/bin/gcc´ after I cat config.log ..... the out put is quite long anyway I post it here ..... do you think the problem is because of KDE installed on ubuntu (KUBUNTU) ???or if you think I should update the gcc how should I do that ???

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

$ ./configure

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

hostname = ubuntu
uname -m = i686
uname -r = 2.6.22-14-generic
uname -s = Linux
uname -v = #1 SMP Sun Oct 14 23:05:12 GMT 2007

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

/bin/arch = unknown
/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:2161: checking build system type
configure:2179: result: i686-pc-linux-gnu
configure:2201: checking host system type
configure:2216: result: i686-pc-linux-gnu
configure:2238: checking target system type
configure:2253: result: i686-pc-linux-gnu
configure:2314: checking for a BSD-compatible install
configure:2370: result: /usr/bin/install -c
configure:2385: checking for -p flag to install
configure:2398: result: yes
configure:2409: checking whether build environment is sane
configure:2452: result: yes
configure:2504: checking for gawk
configure:2534: result: no
configure:2504: checking for mawk
configure:2520: found /usr/bin/mawk
configure:2531: result: mawk
configure:2542: checking whether make sets $(MAKE)
configure:2563: result: yes
configure:2765: checking for kde-config
configure:2827: result: /usr/bin/kde-config
configure:2922: checking where to install
configure:2926: result: /usr (as returned by kde-config)
configure:2981: checking for style of include used by make
configure:3009: result: GNU
configure:3159: checking for gcc
configure:3175: found /usr/bin/gcc
configure:3186: result: gcc
configure:3424: checking for C compiler version
configure:3431: gcc --version >&5
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
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:3434: $? = 0
configure:3441: gcc -v >&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 --with-gxx-include-dir=/usr/include/c++/4.1.3 --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.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:3444: $? = 0
configure:3451: gcc -V >&5
gcc: '-V' option must have argument
configure:3454: $? = 1
configure:3477: checking for C compiler default output file name
configure:3504: gcc conftest.c >&5
configure:3507: $? = 0
configure:3545: result: a.out
configure:3562: checking whether the C compiler works
configure:3572: ./a.out
configure:3575: $? = 0
configure:3592: result: yes
configure:3599: checking whether we are cross compiling
configure:3601: result: no
configure:3604: checking for suffix of executables
configure:3611: gcc -o conftest conftest.c >&5
configure:3614: $? = 0
configure:3638: result:
configure:3644: checking for suffix of object files
configure:3670: gcc -c conftest.c >&5
configure:3673: $? = 0
configure:3696: result: o
configure:3700: checking whether we are using the GNU C compiler
configure:3729: gcc -c conftest.c >&5
configure:3735: $? = 0
configure:3752: result: yes
configure:3757: checking whether gcc accepts -g
configure:3787: gcc -c -g conftest.c >&5
configure:3793: $? = 0
configure:3892: result: yes
configure:3909: checking for gcc option to accept ISO C89
configure:3983: gcc -c conftest.c >&5
configure:3989: $? = 0
configure:4012: result: none needed
configure:4032: checking dependency style of gcc
configure:4122: result: gcc3
configure:4145: checking how to run the C preprocessor
configure:4185: gcc -E conftest.c
configure:4191: $? = 0
configure:4222: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4228: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aquamarine"
| #define VERSION "0.3.0-svn"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4261: result: gcc -E
configure:4290: gcc -E conftest.c
configure:4296: $? = 0
configure:4327: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4333: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aquamarine"
| #define VERSION "0.3.0-svn"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4457: checking for g++
configure:4487: result: no
configure:4457: checking for c++
configure:4487: result: no
configure:4457: checking for gpp
configure:4487: result: no
configure:4457: checking for aCC
configure:4487: result: no
configure:4457: checking for CC
configure:4487: result: no
configure:4457: checking for cxx
configure:4487: result: no
configure:4457: checking for cc++
configure:4487: result: no
configure:4457: checking for cl.exe
configure:4487: result: no
configure:4457: checking for FCC
configure:4487: result: no
configure:4457: checking for KCC
configure:4487: result: no
configure:4457: checking for RCC
configure:4487: result: no
configure:4457: checking for xlC_r
configure:4487: result: no
configure:4457: checking for xlC
configure:4487: result: no
configure:4515: checking for C++ compiler version
configure:4522: g++ --version >&5
./configure: line 4523: g++: command not found
configure:4525: $? = 127
configure:4532: g++ -v >&5
./configure: line 4533: g++: command not found
configure:4535: $? = 127
configure:4542: g++ -V >&5
./configure: line 4543: g++: command not found
configure:4545: $? = 127
configure:4548: checking whether we are using the GNU C++ compiler
configure:4577: g++ -c conftest.cpp >&5
./configure: line 4578: g++: command not found
configure:4583: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aquamarine"
| #define VERSION "0.3.0-svn"
| /* end confdefs.h. */
|
| int
| main ()
| {
| #ifndef __GNUC__
| choke me
| #endif
|
| ;
| return 0;
| }
configure:4600: result: no
configure:4605: checking whether g++ accepts -g
configure:4635: g++ -c -g conftest.cpp >&5
./configure: line 4636: g++: command not found
configure:4641: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aquamarine"
| #define VERSION "0.3.0-svn"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4673: g++ -c conftest.cpp >&5
./configure: line 4674: g++: command not found
configure:4679: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aquamarine"
| #define VERSION "0.3.0-svn"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4712: g++ -c -g conftest.cpp >&5
./configure: line 4713: g++: command not found
configure:4718: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aquamarine"
| #define VERSION "0.3.0-svn"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4740: result: no
configure:4765: checking dependency style of g++
configure:4855: result: none
configure:4874: checking whether gcc is blacklisted
configure:4905: gcc -c -O2 conftest.c >&5
configure:4911: $? = 0
configure:4927: result: no
configure:5255: checking whether g++ supports -Wmissing-format-attribute
configure:5295: rm -rf SunWS_cache; g++ -o conftest -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wmissing-format-attribute conftest.cpp 1>&5
./configure: line 5296: g++: command not found
configure:5301: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aquamarine"
| #define VERSION "0.3.0-svn"
| /* end confdefs.h. */
|
| int
| main ()
| {
| return 0;
| ;
| return 0;
| }
configure:5333: result: no
configure:5340: checking whether gcc supports -Wmissing-format-attribute
configure:5377: gcc -o conftest -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wmissing-format-attribute conftest.c >&5
configure:5383: $? = 0
configure:5410: result: yes
configure:5424: checking whether g++ supports -Wundef
configure:5464: rm -rf SunWS_cache; g++ -o conftest -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wundef conftest.cpp 1>&5
./configure: line 5465: g++: command not found
configure:5470: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aquamarine"
| #define VERSION "0.3.0-svn"
| /* end confdefs.h. */
|
| int
| main ()
| {
| return 0;
| ;
| return 0;
| }
configure:5502: result: no
configure:5509: checking whether g++ supports -Wno-long-long
configure:5549: rm -rf SunWS_cache; g++ -o conftest -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-long-long conftest.cpp 1>&5
./configure: line 5550: g++: command not found
configure:5555: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aquamarine"
| #define VERSION "0.3.0-svn"
| /* end confdefs.h. */
|
| int
| main ()
| {
| return 0;
| ;
| return 0;
| }
configure:5587: result: no
configure:5594: checking whether g++ supports -Wno-non-virtual-dtor
configure:5634: rm -rf SunWS_cache; g++ -o conftest -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor conftest.cpp 1>&5
./configure: line 5635: g++: command not found
configure:5640: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aquamarine"
| #define VERSION "0.3.0-svn"
| /* end confdefs.h. */
|
| int
| main ()
| {
| return 0;
| ;
| return 0;
| }
configure:5672: result: no
configure:6865: checking how to run the C++ preprocessor
configure:6901: g++ -E conftest.cpp
./configure: line 6902: g++: command not found
configure:6907: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aquamarine"
| #define VERSION "0.3.0-svn"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:6901: g++ -E conftest.cpp
./configure: line 6902: g++: command not found
configure:6907: $? = 127
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aquamarine"
| #define VERSION "0.3.0-svn"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:6901: /lib/cpp conftest.cpp
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:6907: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aquamarine"
| #define VERSION "0.3.0-svn"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:6901: /lib/cpp conftest.cpp
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:6907: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aquamarine"
| #define VERSION "0.3.0-svn"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:6977: result: /lib/cpp
configure:7006: /lib/cpp conftest.cpp
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:7012: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aquamarine"
| #define VERSION "0.3.0-svn"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:7006: /lib/cpp conftest.cpp
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:7012: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "aquamarine"
| #define VERSION "0.3.0-svn"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:7074: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

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

ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=no
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
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_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_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-gnu
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=no
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnu
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=none
kde_cv_path=/usr/bin/kde-config
kde_cv_path_kde_config=/usr/bin/kde-config
kde_cv_prog_cc_Wmissing_format_attribute=yes

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

ACLOCAL='${SHELL} /home/mehdi/Desktop/aquamarine-0.2.1/admin/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/mehdi/Desktop/aquamarine-0.2.1/admin/missing --run tar'
AR=''
ARTSCCONFIG=''
AUTOCONF='${SHELL} /home/mehdi/Desktop/aquamarine-0.2.1/admin/missing --run autoconf'
AUTODIRS=''
AUTOHEADER='${SHELL} /home/mehdi/Desktop/aquamarine-0.2.1/admin/missing --run autoheader'
AUTOMAKE='${SHELL} /home/mehdi/Desktop/aquamarine-0.2.1/admin/missing --run automake-1.9'
AWK='mawk'
BERYLSETTINGS_CFLAGS=''
BERYLSETTINGS_LIBS=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wformat-security -Wmissing-format-attribute'
CONF_FILES=' $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/configure.in.in'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXCPP='/lib/cpp'
CXXDEPMODE='depmode=none'
CXXFLAGS='-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith'
CYGPATH_W='echo'
DCOPIDL2CPP=''
DCOPIDL=''
DCOPIDLNG=''
DCOP_DEPENDENCIES=''
DECOLIB_CFLAGS=''
DECOLIB_LIBS=''
DEFS=''
DEPDIR='.deps'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_PERMISSIVE_FLAG=''
EXEEXT=''
F77=''
FFLAGS=''
FRAMEWORK_COREAUDIO=''
GMSGFMT=''
GREP=''
HAVE_GCC_VISIBILITY='0'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
KCFG_DEPENDENCIES=''
KCONFIG_COMPILER=''
KDECONFIG='/usr/bin/kde-config'
KDE_CHECK_PLUGIN=''
KDE_EXTRA_RPATH=''
KDE_INCLUDES=''
KDE_LDFLAGS=''
KDE_MT_LDFLAGS=''
KDE_MT_LIBS=''
KDE_NO_UNDEFINED=''
KDE_PLUGIN=''
KDE_RPATH=''
KDE_USE_CLOSURE_FALSE=''
KDE_USE_CLOSURE_TRUE=''
KDE_USE_FINAL_FALSE=''
KDE_USE_FINAL_TRUE=''
KDE_USE_FPIE=''
KDE_USE_NMCHECK_FALSE=''
KDE_USE_NMCHECK_TRUE=''
KDE_USE_PIE=''
KDE_XSL_STYLESHEET=''
LDFLAGS=''
LDFLAGS_AS_NEEDED=''
LDFLAGS_NEW_DTAGS=''
LIBCOMPAT=''
LIBCRYPT=''
LIBDL=''
LIBJPEG=''
LIBOBJS=''
LIBPNG=''
LIBPTHREAD=''
LIBRESOLV=''
LIBS=''
LIBSM=''
LIBSOCKET=''
LIBTOOL=''
LIBUCB=''
LIBUTIL=''
LIBZ=''
LIB_KAB=''
LIB_KABC=''
LIB_KDECORE=''
LIB_KDED=''
LIB_KDEPIM=''
LIB_KDEPRINT=''
LIB_KDEUI=''
LIB_KDNSSD=''
LIB_KFILE=''
LIB_KFM=''
LIB_KHTML=''
LIB_KIMPROXY=''
LIB_KIO=''
LIB_KJS=''
LIB_KNEWSTUFF=''
LIB_KPARTS=''
LIB_KSPELL=''
LIB_KSYCOCA=''
LIB_KUNITTEST=''
LIB_KUTILS=''
LIB_POLL=''
LIB_QPE=''
LIB_QT=''
LIB_SMB=''
LIB_X11=''
LIB_XEXT=''
LIB_XRENDER=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/mehdi/Desktop/aquamarine-0.2.1/admin/missing --run makeinfo'
MAKEKDEWIDGETS=''
MCOPIDL=''
MEINPROC=''
MOC=''
MSGFMT=''
NOOPT_CFLAGS=''
NOOPT_CXXFLAGS=''
OBJEXT='o'
PACKAGE='aquamarine'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL=''
PKG_CONFIG=''
QTE_NORTTI=''
QT_INCLUDES=''
QT_LDFLAGS=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
TOPSUBDIRS=''
UIC=''
UIC_TR=''
USER_INCLUDES=''
USER_LDFLAGS=''
USE_EXCEPTIONS=''
USE_RTTI=''
USE_THREADS=''
VERSION='0.3.0-svn'
WOVERLOADED_VIRTUAL=''
XCOMPOSITE_CFLAGS=''
XCOMPOSITE_LIBS=''
XDAMAGE_CFLAGS=''
XDAMAGE_LIBS=''
XGETTEXT=''
XMKMF=''
XMLLINT=''
X_EXTRA_LIBS=''
X_INCLUDES=''
X_LDFLAGS=''
X_PRE_LIBS=''
X_RPATH=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
all_includes=''
all_libraries=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE='#'
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
include_ARTS_FALSE=''
include_ARTS_TRUE=''
include_bs_FALSE=''
include_bs_TRUE=''
include_x11_FALSE=''
include_x11_TRUE=''
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='/home/mehdi/Desktop/aquamarine-0.2.1/admin/install-sh'
kcm_SUBDIR_included_FALSE=''
kcm_SUBDIR_included_TRUE=''
kde_appsdir=''
kde_bindir=''
kde_confdir=''
kde_datadir=''
kde_htmldir=''
kde_icondir=''
kde_includes=''
kde_kcfgdir=''
kde_libraries=''
kde_libs_htmldir='/usr/share/doc/kde/HTML'
kde_libs_prefix='/usr'
kde_locale=''
kde_mimedir=''
kde_moduledir=''
kde_qtver=''
kde_servicesdir=''
kde_servicetypesdir=''
kde_sounddir=''
kde_styledir=''
kde_templatesdir=''
kde_wallpaperdir=''
kde_widgetdir=''
kdeinitdir=''
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}'
plugindir=''
po_SUBDIR_included_FALSE=''
po_SUBDIR_included_TRUE=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
qt_includes=''
qt_libraries=''
sbindir='${exec_prefix}/sbin'
settings_backend_SUBDIR_included_FALSE=''
settings_backend_SUBDIR_included_TRUE=''
sharedstatedir='${prefix}/com'
src_SUBDIR_included_FALSE=''
src_SUBDIR_included_TRUE=''
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'
unsermake_enable_pch_FALSE=''
unsermake_enable_pch_TRUE='#'
with_berylsettings_FALSE=''
with_berylsettings_TRUE=''
x_includes='NONE'
x_libraries='NONE'
xdg_appsdir=''
xdg_directorydir=''
xdg_menudir=''

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

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "aquamarine"
#define VERSION "0.3.0-svn"

configure: exit 1







Thanks anyway for your help GUYS

Simon Bridge 02-16-2008 05:53 AM

All right, I guess I asked for it... if you put code tags around your output, it takes up less space.

Quote:

I am trying to install aquamarine-0.2.1 package that I think is the newest version for beryl(desktop features),
Hmmm... OK, aquamarine is a window decorator from the beryl project.

Quote:

I get this error when I run ´./configure´ (that I think its for compiling the code)
the config file is there to prepare your system for compiling. The "make" command does the actual work. A failed config means you do not have the required tools to attempt compiling the program.

I've separated out the bits that went wrong:
Code:

configure:2520: found /usr/bin/mawk

configure:3175: found /usr/bin/gcc
[...]
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
[fine, you have mawk and gcc installed...]


configure:4145: checking how to run the C preprocessor
configure:4185: gcc -E conftest.c
configure:4191: $? = 0
configure:4222: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4228: $? = 1
configure: failed program was:
| /* confdefs.h. */

configure:4327: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory

./configure: line 4523: g++: command not found
./configure: line 4533: g++: command not found
./configure: line 4543: g++: command not found
configure:4548: checking whether we are using the GNU C++ compiler
configure:4577: g++ -c conftest.cpp >&5
./configure: line 4578: g++: command not found

./configure: line 4636: g++: command not found

configure:4673: g++ -c conftest.cpp >&5
./configure: line 4674: g++: command not found

configure:4712: g++ -c -g conftest.cpp >&5
./configure: line 4713: g++: command not found

configure:6901: /lib/cpp conftest.cpp
cpp: error trying to exec 'cc1plus': execvp: No such file or directory

configure:6901: /lib/cpp conftest.cpp
cpp: error trying to exec 'cc1plus': execvp: No such file or directory

configure:7006: /lib/cpp conftest.cpp
cpp: error trying to exec 'cc1plus': execvp: No such file or directory

(etc)

configure:7074: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

All this suggests you do not have a preprocessor installed.

sudo apt-get install cpp

brianL 02-16-2008 07:46 AM

Do it the easy way, use Synaptic to install:

autoconf
automake
bison
build-essential
flex
gawk
libtool

You should be OK for compiling then.

Uncle_Theodore 02-16-2008 09:01 AM

Try
apt-get install build-essential

sakeynii 12-30-2008 09:51 AM

C compiler cannot create executables
 
g++ need to be installed to fix this problem

Simon Bridge 01-01-2009 07:46 AM

mehdiee: how did you get on?


All times are GMT -5. The time now is 09:31 PM.