While I try to install python arise an error: I type ./configure ... ... checking for g++ ... no 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.
config.log is This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by python configure 2.4, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = zope uname -m = i686 uname -r = 2.6.8-2-686 uname -s = Linux uname -v = #1 Mon Jan 24 03:58:38 EST 2005 /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: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/bin/X11 PATH: /usr/local/sbin PATH: /usr/local/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1444: checking MACHDEP configure:1578: result: linux2 configure:1584: checking EXTRAPLATDIR configure:1599: result: configure:1618: checking for --without-gcc configure:1667: result: no configure:1673: checking for --with-cxx=<compiler> configure:1694: result: no configure:1713: checking for c++ configure:1742: result: no configure:1713: checking for g++ configure:1742: result: no configure:1713: checking for gcc configure:1729: found /usr/bin/gcc configure:1739: result: gcc configure:1779: checking for C++ compiler default output file name configure:1782: gcc conftest.cc >&5 gcc: installation problem, cannot exec `cc1plus': No such file or directory ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^6 Where I can find "conftest.cc" or "cc1plus" ? I cannot find both in archive... (archive is "Python-2.4.1.tgz" from http://www.python.org/ftp/python/2.4.1/Python-2.4.1.tgz). It's my problem or no? configure:1785: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define _GNU_SOURCE 1 | #define _NETBSD_SOURCE 1 | #define __BSD_VISIBLE 1 | #define _BSD_TYPES 1 | #define _XOPEN_SOURCE 600 | #define _XOPEN_SOURCE_EXTENDED 1 | #define _POSIX_C_SOURCE 200112L | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:1824: error: C++ compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## 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_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_prog_CXX=gcc ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='' BASECFLAGS='' BLDLIBRARY='' BLDSHARED='' BUILDEXEEXT='' CC='' CCSHARED='' CFLAGS='' CFLAGSFORSHARED='' CONFIGURE_MACOSX_DEPLOYMENT_TARGET='' CONFIG_ARGS='' CPP='' CPPFLAGS='' CXX='gcc' DEFS='' DLINCLDIR='' DLLLIBRARY='' DYNLOADFILE='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' EXTRAMACHDEPPATH='' EXTRAPLATDIR='' HAVE_GETHOSTBYNAME='' HAVE_GETHOSTBYNAME_R='' HAVE_GETHOSTBYNAME_R_3_ARG='' HAVE_GETHOSTBYNAME_R_5_ARG='' HAVE_GETHOSTBYNAME_R_6_ARG='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' INSTSONAME='' LDFLAGS='' LDLAST='' LDLIBRARY='' LDLIBRARYDIR='' LDSHARED='' LIBC='' LIBM='' LIBOBJS='' LIBRARY='' LIBS='' LIBTOOL_CRUFT='' LINKCC='' LINKFORSHARED='' LN='' LTLIBOBJS='' MACHDEP='linux2' MACHDEP_OBJS='' MAINOBJ='python.o' OBJEXT='' OPT='' OTHER_LIBTOOL_OPT='' PACKAGE_BUGREPORT='http://www.python.org/python-bugs' PACKAGE_NAME='python' PACKAGE_STRING='python 2.4' PACKAGE_TARNAME='python' PACKAGE_VERSION='2.4' PATH_SEPARATOR=':' PYTHONFRAMEWORK='' PYTHONFRAMEWORKDIR='no-framework' PYTHONFRAMEWORKINSTALLDIR='' PYTHONFRAMEWORKPREFIX='' RANLIB='' RUNSHARED='' SGI_ABI='' SHELL='/bin/sh' SHLIBS='' SIGNAL_OBJS='' SO='' SOVERSION='1.0' SRCDIRS='' THREADHEADERS='' THREADOBJ='' TRUE='' UNICODE_OBJS='' USE_SIGNAL_MODULE='' USE_THREAD_MODULE='' VERSION='2.4' ac_ct_CC='' ac_ct_RANLIB='' bindir='${exec_prefix}/bin' build_alias='' datadir='${prefix}/share' exec_prefix='NONE' host_alias='' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define _BSD_TYPES 1 #define _GNU_SOURCE 1 #define _NETBSD_SOURCE 1 #define _POSIX_C_SOURCE 200112L #define _XOPEN_SOURCE 600 #define _XOPEN_SOURCE_EXTENDED 1 #define __BSD_VISIBLE 1 configure: exit 77 -- http://mail.python.org/mailman/listinfo/python-list