I tried to compile the IceWM from scratch. I have the icewm-1.2.26.tar.gz file, and have successfully unzipped it with the following command:
tar xzf icewm-1.2.26.tar.gz
Then I went to the folder icewm-1.2.26 and execute the ./configure script. But all I got was the following message:
configure error: C++ compiler cannot create executables
See `config.log' for more details.
Why? I was sure I already included all libraries when installing the linux, including gtk. I have even re-installed the Mandriva the second time, and made sure that all and every libraries are installed, but it just kept failing.
Anyway, here's the content of config.log:
Code: Select all
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 = localhost
uname -m = i686
uname -r = 2.6.11-6mdk
uname -s = Linux
uname -v = #1 Tue Mar 22 16:04:32 CET 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: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1387: checking build system type
configure:1405: result: i686-pc-linux-gnu
configure:1413: checking host system type
configure:1427: result: i686-pc-linux-gnu
configure:1435: checking target system type
configure:1449: result: i686-pc-linux-gnu
configure:1528: checking for g++
configure:1557: result: no
configure:1528: checking for c++
configure:1557: result: no
configure:1528: checking for gpp
configure:1557: result: no
configure:1528: checking for aCC
configure:1557: result: no
configure:1528: checking for CC
configure:1557: result: no
configure:1528: checking for cxx
configure:1557: result: no
configure:1528: checking for cc++
configure:1557: result: no
configure:1528: checking for cl
configure:1557: result: no
configure:1528: checking for FCC
configure:1557: result: no
configure:1528: checking for KCC
configure:1557: result: no
configure:1528: checking for RCC
configure:1557: result: no
configure:1528: checking for xlC_r
configure:1557: result: no
configure:1528: checking for xlC
configure:1557: result: no
configure:1570: checking for C++ compiler version
configure:1573: g++ --version </dev/null >&5
./configure: line 1574: g++: command not found
configure:1576: $? = 127
configure:1578: g++ -v </dev/null >&5
./configure: line 1579: g++: command not found
configure:1581: $? = 127
configure:1583: g++ -V </dev/null >&5
./configure: line 1584: g++: command not found
configure:1586: $? = 127
configure:1609: checking for C++ compiler default output file name
configure:1612: g++ conftest.cc >&5
./configure: line 1613: g++: command not found
configure:1615: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:1654: error: C++ compiler cannot create executables
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_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_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_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_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_target=i686-pc-linux-gnu
ac_cv_target_alias=i686-pc-linux-gnu
## ----------------- ##
## Output variables. ##
## ----------------- ##
APPLICATIONS='icewm icewm-session icesh icewmhint icewmbg icewmtray'
AUDIO_CFLAGS=''
AUDIO_LIBS=''
BASEBINS=''
BASEOBJS=''
BINDIR=''
BINFILES=''
CFGDIR=''
CONFIG_GNOME1_MENU_DIR=''
CONFIG_GNOME2_MENU_DIR=''
CONFIG_KDE_MENU_DIR=''
CORE_CFLAGS=''
CORE_LIBS=''
CPPFLAGS=''
CXX='g++'
CXXCPP=''
CXXFLAGS=''
CXX_LINK=''
DEBUG=''
DEFS=''
DOCDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ESD_CONFIG=''
EXEEXT=''
GCCDEP=''
GNOME1_CFLAGS=''
GNOME1_CONFIG=''
GNOME1_LIBS=''
GNOME2_CFLAGS=''
GNOME2_LIBS=''
GNOME_VER=''
GWMDIR=''
HOSTCPU=''
HOSTOS=''
IMAGE_CFLAGS=''
IMAGE_LIBS=''
IMLIB_CONFIG=''
INSTALL=''
INSTALLBIN=''
INSTALLDIR=''
INSTALLETC=''
INSTALLLIB=''
INSTALLMAN=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
KDEDIR=''
LDFLAGS=''
LIBDIR=''
LIBOBJS=''
LIBS=''
LOCDIR=''
LTLIBOBJS=''
MANDIR=''
MKFONTDIR=''
MSGFMT=''
MSGMERGE=''
NLS_MOFILES=''
NLS_POFILES=''
NLS_POXFILES=''
NLS_SOURCES=''
OBJEXT=''
PACKAGE=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
PREFIX=''
SHELL='/bin/sh'
TARGETS='base'
TARGETS_INSTALL=''
TESTBINS=''
TESTCASES='testarray testdesktop testlocale testmap testmenus testnetwmhints testwinhints iceview icesame iceicon icerun icelist'
TESTOBJS=''
VERSION=''
XFT_CONFIG=''
XGETTEXT=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CXX='g++'
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'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
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='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
configure: exit 77