Jump to content

configure error


Recommended Posts

I hope you have all compilers installed. If yes, then look at your config.log file and check what it says. Let's assume it says something like:

cc1plus command not found

then check if cc1 is there

/sbin/locate cc1

Now let us assume you get a positive result similar to that:

/usr/lib/gcc/i-386-linux-gnu/3.4.1/cc1

then you will probably only need to symlink the entry in /usr/bin

ln -s /usr/lib/gcc/i386-linux-gnu/3.4.1/cc1 cc1plus

After that, it should work.

 

Good luck.

Link to comment
Share on other sites

Hm. Wouldn't it be easier and more clean to "rpm -q gcc" and "urpmi gcc" if the first fails? Anything else I'd give as parmeters to .configure (see ./configure --help | less). Plus checking the makefile before "make".

 

Which means do you use installing the KDE theme?

Edited by scoonma
Link to comment
Share on other sites

If he has already installed the gcc package, then a reinstall is unlikely to fix a missing symlink that is caused by a badly configured rpm. Anyway, if it really IS a problem with the package, then a bug-search/bug-report should be done.

 

PS: he is using Fedora, thus: yum instead of urpmi. :)

Link to comment
Share on other sites

Here is my config.log:

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 = linux-fc4
uname -m = i686
uname -r = 2.6.17-1.2142_FC4
uname -s = Linux
uname -v = #1 Tue Jul 11 22:41:14 EDT 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/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /home/ilia/bin


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

configure:1563: checking build system type
configure:1581: result: i686-pc-linux-gnu
configure:1589: checking host system type
configure:1603: result: i686-pc-linux-gnu
configure:1611: checking target system type
configure:1625: result: i686-pc-linux-gnu
configure:1672: checking for a BSD-compatible install
configure:1727: result: /usr/bin/install -c
configure:1742: checking for -p flag to install
configure:1755: result: yes
configure:1766: checking whether build environment is sane
configure:1809: result: yes
configure:1861: checking for gawk
configure:1877: found /usr/bin/gawk
configure:1887: result: gawk
configure:1897: checking whether make sets $(MAKE)
configure:1917: result: yes
configure:2103: checking for kde-config
configure:2165: result: /usr/bin/kde-config
configure:2261: checking where to install
configure:2265: result: /usr (as returned by kde-config)
configure:2320: checking for style of include used by make
configure:2348: result: GNU
configure:2496: checking for gcc
configure:2512: found /usr/bin/gcc
configure:2522: result: gcc
configure:2766: checking for C compiler version
configure:2769: gcc --version </dev/null >&5
gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
Copyright © 2005 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:2772: $? = 0
configure:2774: gcc -v </dev/null >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux
Thread model: posix
gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)
configure:2777: $? = 0
configure:2779: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2782: $? = 1
configure:2805: checking for C compiler default output file name
configure:2808: gcc     conftest.c  >&5
configure:2811: $? = 0
configure:2857: result: a.out
configure:2862: checking whether the C compiler works
configure:2868: ./a.out
configure:2871: $? = 0
configure:2888: result: yes
configure:2895: checking whether we are cross compiling
configure:2897: result: no
configure:2900: checking for suffix of executables
configure:2902: gcc -o conftest     conftest.c  >&5
configure:2905: $? = 0
configure:2930: result: 
configure:2936: checking for suffix of object files
configure:2957: gcc -c    conftest.c >&5
configure:2960: $? = 0
configure:2982: result: o
configure:2986: checking whether we are using the GNU C compiler
configure:3010: gcc -c    conftest.c >&5
configure:3016: $? = 0
configure:3020: test -z 
		 || test ! -s conftest.err
configure:3023: $? = 0
configure:3026: test -s conftest.o
configure:3029: $? = 0
configure:3042: result: yes
configure:3048: checking whether gcc accepts -g
configure:3069: gcc -c -g  conftest.c >&5
configure:3075: $? = 0
configure:3079: test -z 
		 || test ! -s conftest.err
configure:3082: $? = 0
configure:3085: test -s conftest.o
configure:3088: $? = 0
configure:3099: result: yes
configure:3116: checking for gcc option to accept ANSI C
configure:3186: gcc  -c    conftest.c >&5
configure:3192: $? = 0
configure:3196: test -z 
		 || test ! -s conftest.err
configure:3199: $? = 0
configure:3202: test -s conftest.o
configure:3205: $? = 0
configure:3223: result: none needed
configure:3241: gcc -c    conftest.c >&5
conftest.c:2: error: syntax error before 'me'
configure:3247: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3382: checking dependency style of gcc
configure:3472: result: gcc3
configure:3495: checking how to run the C preprocessor
configure:3530: gcc -E  conftest.c
configure:3536: $? = 0
configure:3568: gcc -E  conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:3574: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3613: result: gcc -E
configure:3637: gcc -E  conftest.c
configure:3643: $? = 0
configure:3675: gcc -E  conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:3681: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3805: checking for g++
configure:3834: result: no
configure:3805: checking for c++
configure:3834: result: no
configure:3805: checking for gpp
configure:3834: result: no
configure:3805: checking for aCC
configure:3834: result: no
configure:3805: checking for CC
configure:3834: result: no
configure:3805: checking for cxx
configure:3834: result: no
configure:3805: checking for cc++
configure:3834: result: no
configure:3805: checking for cl
configure:3834: result: no
configure:3805: checking for FCC
configure:3834: result: no
configure:3805: checking for KCC
configure:3834: result: no
configure:3805: checking for RCC
configure:3834: result: no
configure:3805: checking for xlC_r
configure:3834: result: no
configure:3805: checking for xlC
configure:3834: result: no
configure:3847: checking for C++ compiler version
configure:3850: g++ --version </dev/null >&5
./configure: line 3851: g++: command not found
configure:3853: $? = 127
configure:3855: g++ -v </dev/null >&5
./configure: line 3856: g++: command not found
configure:3858: $? = 127
configure:3860: g++ -V </dev/null >&5
./configure: line 3861: g++: command not found
configure:3863: $? = 127
configure:3866: checking whether we are using the GNU C++ compiler
configure:3890: g++ -c    conftest.cc >&5
./configure: line 3891: g++: command not found
configure:3896: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| #ifndef __GNUC__
|        choke me
| #endif
| 
|   ;
|   return 0;
| }
configure:3922: result: no
configure:3928: checking whether g++ accepts -g
configure:3949: g++ -c -g  conftest.cc >&5
./configure: line 3950: g++: command not found
configure:3955: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3979: result: no
configure:4021: g++ -c    conftest.cc >&5
./configure: line 4022: g++: command not found
configure:4027: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| /* end confdefs.h.  */
| 
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4021: g++ -c    conftest.cc >&5
./configure: line 4022: g++: command not found
configure:4027: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| /* end confdefs.h.  */
| extern "C" void std::exit (int) throw (); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4021: g++ -c    conftest.cc >&5
./configure: line 4022: g++: command not found
configure:4027: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| /* end confdefs.h.  */
| extern "C" void std::exit (int); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4021: g++ -c    conftest.cc >&5
./configure: line 4022: g++: command not found
configure:4027: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| /* end confdefs.h.  */
| extern "C" void exit (int) throw ();
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4021: g++ -c    conftest.cc >&5
./configure: line 4022: g++: command not found
configure:4027: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| /* end confdefs.h.  */
| extern "C" void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4021: g++ -c    conftest.cc >&5
./configure: line 4022: g++: command not found
configure:4027: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| /* end confdefs.h.  */
| void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4110: checking dependency style of g++
configure:4200: result: none
configure:4524: checking whether g++ supports -Wmissing-format-attribute
configure:4560: rm -rf SunWS_cache; g++ -o conftest -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings   -Wmissing-format-attribute   conftest.cc  1>&5
./configure: line 4561: g++: command not found
configure:4566: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
| 
| int
| main ()
| {
|  return 0;
|   ;
|   return 0;
| }
configure:4605: result: no
configure:4612: checking whether gcc supports -Wmissing-format-attribute
configure:4645: gcc -o conftest -ansi -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:4651: $? = 0
configure:4655: test -z 
		 || test ! -s conftest.err
configure:4658: $? = 0
configure:4661: test -s conftest
configure:4664: $? = 0
configure:4685: result: yes
configure:4699: checking whether g++ supports -Wundef
configure:4735: rm -rf SunWS_cache; g++ -o conftest -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings   -Wundef   conftest.cc  1>&5
./configure: line 4736: g++: command not found
configure:4741: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
| 
| int
| main ()
| {
|  return 0;
|   ;
|   return 0;
| }
configure:4780: result: no
configure:4787: checking whether g++ supports -Wno-long-long
configure:4823: rm -rf SunWS_cache; g++ -o conftest -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings   -Wno-long-long   conftest.cc  1>&5
./configure: line 4824: g++: command not found
configure:4829: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
| 
| int
| main ()
| {
|  return 0;
|   ;
|   return 0;
| }
configure:4868: result: no
configure:4875: checking whether g++ supports -Wnon-virtual-dtor
configure:4911: rm -rf SunWS_cache; g++ -o conftest -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings   -Wnon-virtual-dtor   conftest.cc  1>&5
./configure: line 4912: g++: command not found
configure:4917: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
| 
| int
| main ()
| {
|  return 0;
|   ;
|   return 0;
| }
configure:4956: result: no
configure:6013: checking how to run the C++ preprocessor
configure:6044: g++ -E  conftest.cc
./configure: line 6045: g++: command not found
configure:6050: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:6044: g++ -E  conftest.cc
./configure: line 6045: g++: command not found
configure:6050: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:6044: /lib/cpp  conftest.cc
cpp: installation problem, cannot exec 'cc1plus': No such file or directory
configure:6050: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:6044: /lib/cpp  conftest.cc
cpp: installation problem, cannot exec 'cc1plus': No such file or directory
configure:6050: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:6127: result: /lib/cpp
configure:6151: /lib/cpp  conftest.cc
cpp: installation problem, cannot exec 'cc1plus': No such file or directory
configure:6157: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:6151: /lib/cpp  conftest.cc
cpp: installation problem, cannot exec 'cc1plus': No such file or directory
configure:6157: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "QtCurve"
| #define VERSION "0.23.1"
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:6226: 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_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=no
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_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_exeext=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=no
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnu
ac_cv_target_alias=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/ilia/Desktop/klearlook-0.9.9.2/admin/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/ilia/Desktop/klearlook-0.9.9.2/admin/missing --run tar'
AR=''
ARTSCCONFIG=''
AUTOCONF='${SHELL} /home/ilia/Desktop/klearlook-0.9.9.2/admin/missing --run autoconf'
AUTODIRS=''
AUTOHEADER='${SHELL} /home/ilia/Desktop/klearlook-0.9.9.2/admin/missing --run autoheader'
AUTOMAKE='${SHELL} /home/ilia/Desktop/klearlook-0.9.9.2/admin/missing --run automake-1.9'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-ansi -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 -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings'
CYGPATH_W='echo'
DCOPIDL2CPP=''
DCOPIDL=''
DCOPIDLNG=''
DCOP_DEPENDENCIES=''
DEFS=''
DEPDIR='.deps'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_PERMISSIVE_FLAG=''
EXEEXT=''
F77=''
FFLAGS=''
FRAMEWORK_COREAUDIO=''
GMSGFMT=''
GTK2_CFLAGS=''
GTK2_LIBS=''
GTK2_PREFIX=''
GTK2_VERSION=''
GTK_CFLAGS=''
GTK_LIBS=''
GTK_PREFIX=''
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_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_NMCHECK_FALSE=''
KDE_USE_NMCHECK_TRUE=''
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_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_KUTILS=''
LIB_POLL=''
LIB_QPE=''
LIB_QT=''
LIB_SMB=''
LIB_X11=''
LIB_XEXT=''
LIB_XRENDER=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/ilia/Desktop/klearlook-0.9.9.2/admin/missing --run makeinfo'
MAKEKDEWIDGETS=''
MCOPIDL=''
MEINPROC=''
MOC=''
MSGFMT=''
NOOPT_CFLAGS=''
NOOPT_CXXFLAGS=''
OBJEXT='o'
PACKAGE='QtCurve'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL=''
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.23.1'
WOVERLOADED_VIRTUAL=''
XGETTEXT=''
XMLLINT=''
X_EXTRA_LIBS=''
X_INCLUDES=''
X_LDFLAGS=''
X_PRE_LIBS=''
X_RPATH=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
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='${prefix}/share'
exec_prefix='NONE'
got_gtk1_FALSE=''
got_gtk1_TRUE=''
got_gtk2_FALSE=''
got_gtk2_TRUE=''
gtkconf=''
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
include_ARTS_FALSE=''
include_ARTS_TRUE=''
include_x11_FALSE=''
include_x11_TRUE=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/ilia/Desktop/klearlook-0.9.9.2/admin/install-sh'
kde_appsdir=''
kde_bindir=''
kde_confdir=''
kde_datadir=''
kde_htmldir=''
kde_icondir=''
kde_includes=''
kde_kcfgdir=''
kde_libraries=''
kde_libs_htmldir='/usr/share/doc/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'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pkgconfig=''
prefix='/usr'
program_transform_name='s,x,x,'
qt_includes=''
qt_libraries=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
single_style_FALSE=''
single_style_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=''
x_includes='NONE'
x_libraries='NONE'
xdg_appsdir=''
xdg_directorydir=''
xdg_menudir=''

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

#define PACKAGE "QtCurve"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.23.1"
#endif
#ifdef __cplusplus
void exit (int);

configure: exit 1

Link to comment
Share on other sites

Is this Klearlook you want to install? It is available here: http://rpm.pbone.net/index.php3/stat/4/idp...5.i386.rpm.html

From the log you gave, my guess is that the tarball was built with a different compiler version than the one you are using. Thus the error 1 exit.

Link to comment
Share on other sites

My interpretation of the logfile is that package QtCurve does not get built because of the reason which is also mentioned in the log:

 

configure:3805: checking for g++
configure:3834: result: no
configure:3805: checking for c++
configure:3834: result: no
configure:3805: checking for gpp
configure:3834: result: no
configure:3805: checking for aCC
configure:3834: result: no
configure:3805: checking for CC
configure:3834: result: no
configure:3805: checking for cxx
configure:3834: result: no
configure:3805: checking for cc++
configure:3834: result: no
configure:3805: checking for cl
configure:3834: result: no
configure:3805: checking for FCC
configure:3834: result: no
configure:3805: checking for KCC
configure:3834: result: no
configure:3805: checking for RCC
configure:3834: result: no
configure:3805: checking for xlC_r
configure:3834: result: no
configure:3805: checking for xlC
configure:3834: result: no
configure:3847: checking for C++ compiler version
configure:3850: g++ --version </dev/null >&5
./configure: line 3851: g++: command not found
configure:3853: $? = 127
configure:3855: g++ -v </dev/null >&5
./configure: line 3856: g++: command not found
configure:3858: $? = 127
configure:3860: g++ -V </dev/null >&5
./configure: line 3861: g++: command not found
configure:3863: $? = 127
configure:3866: checking whether we are using the GNU C++ compiler
configure:3890: g++ -c conftest.cc >&5
./configure: line 3891: g++: command not found
configure:3896: $? = 127

 

Presumed the rpm is fine, configure is looking for a c++ compiler which is simply not installed. Which compiler are you using?

 

Otherwise I'd take care of the QtCurve source: Is it a package on it's own? Are up-to-date devel packages available?

 

I can't see why different compiler versions (tarball/system) should cause an error here. A match is rather an exception than normal when building applications. (However, differences in major version, building a kernel or glibc may not to be ignored.) At least this is what experiences tell me. Am I wrong with that?

Edited by scoonma
Link to comment
Share on other sites

No, you are not wrong with that. But I experienced it sometimes in Slackware that programs would not compile because of different compilers (app compiled with newer compiler than Slack provided). Should not be happening, but it did happen. Don't ask me why.

 

I somehow failed to see that gcc error (I must be blind), thus it is of course more probable that gcc libraries are not installed than a problem caused by different compiler versions.

Link to comment
Share on other sites

Well, I have the whole development package group installed on my FC4, including C, C++, Java, Python and many more, co I don't see a reason why it shouldn't work. I think it might be a package installation problem, because my "Add or Remove Applications" program can't add or remove a think because it has some dependancies problem, but 'yum groupinstall' works fine. Should i reinstall FC4 windows-like?

Link to comment
Share on other sites

Have you tried cleaning your cache before downloading the packages?

 

yum clean all

 

As you have the gcc stuff installed, my first hint (different compilers being used) is not so unlilkely anymore. But in that case I don't know a fix. Have you checked if you can try the symlinking trick?

Link to comment
Share on other sites

A symlink is a linkage of one or more files to one specific parent file on your system. Linux systems have various symlinks. E.g. in /boot you can find the vmlinuz symlink, which actually redirects to the default, complete vmlinuz entry, e.g. vmlinuz-2.6.12-blablabla. Thus, you can use the full vmlinuz-2.6... entry or the short vmlinuz entry in the bootloader script (lilo or grub).

 

In your case, it is possible that a redirection to the parent compiler entry might be missing. The script will search for the compiler, following the instructions of the scripts it has available. After some time, the system will realize that it entered a a dead-way as the compiler it needs is located elsewhere. Thus the system will look for a redirection to the compiler-entry it needs. Without the now needed symlink, it cannot find that entry and thus quits.

 

I hope this makes it a bit comprehensible.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...