Hi,
I recently installed gcc 3.4 on a linode running ubuntu 11.10, because I needed it for some older software. I simply included a couple hardy apt sources in my sources.list so I could install the last version of gcc 3.4 that was in the repositories. It seemed to do ok, but when I ./configure CXX=gcc-3.4 it gives me the following: config.log follows
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by AweMUD configure 0.25, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ ./configure CXX=g++-3.4 LD=ld-3.4
## --------- ##
## Platform. ##
## --------- ##
hostname = thestatus
uname -m = i686
uname -r = 3.0.18-linode43
uname -s = Linux
uname -v = #1 SMP Mon Jan 30 11:44:09 EST 2012
/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:1795: checking for a BSD-compatible install
configure:1851: result: /usr/bin/install -c
configure:1862: checking whether build environment is sane
configure:1905: result: yes
configure:1970: checking for gawk
configure:2000: result: no
configure:1970: checking for mawk
configure:1986: found /usr/bin/mawk
configure:1997: result: mawk
configure:2008: checking whether make sets $(MAKE)
configure:2029: result: yes
configure:2338: checking for C++ compiler version
configure:2345: g++-3.4 --version >&5
g++-3.4 (GCC) 3.4.6 (Ubuntu 3.4.6-6ubuntu3)
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:2348: $? = 0
configure:2355: g++-3.4 -v >&5
Reading specs from /usr/lib/gcc/i486-linux-gnu/3.4.6/specs
Configured with: ../src/configure -v --enable-languages=c,c++,f77,pascal --prefix=/usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --with-tune=pentium4 i486-linux-gnu
Thread model: posix
gcc version 3.4.6 (Ubuntu 3.4.6-6ubuntu3)
configure:2358: $? = 0
configure:2365: g++-3.4 -V >&5
g++-3.4: `-V' option must have argument
configure:2368: $? = 1
configure:2391: checking for C++ compiler default output file name
configure:2418: g++-3.4 conftest.cpp >&5
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
configure:2421: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "AweMUD"
| #define PACKAGE_TARNAME "awemud"
| #define PACKAGE_VERSION "0.25"
| #define PACKAGE_STRING "AweMUD 0.25"
| #define PACKAGE_BUGREPORT "http://bugs.awemud.net/submit.php"
| #define PACKAGE "awemud"
| #define VERSION "0.25"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2460: 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=
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_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=g++-3.4
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_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /muds/aime/aime/awemud-0.25/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /muds/aime/aime/awemud-0.25/missing --run tar'
AUTOCONF='${SHELL} /muds/aime/aime/awemud-0.25/missing --run autoconf'
AUTOHEADER='${SHELL} /muds/aime/aime/awemud-0.25/missing --run autoheader'
AUTOMAKE='${SHELL} /muds/aime/aime/awemud-0.25/missing --run automake-1.9'
AWK='mawk'
BUILD_DATE=''
BUILD_DOCS_FALSE=''
BUILD_DOCS_TRUE=''
BUILD_GRAMMAR_FALSE=''
BUILD_GRAMMAR_TRUE=''
BUILD_PDFDOCS_FALSE=''
BUILD_PDFDOCS_TRUE=''
CC=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX='g++-3.4'
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
HOSTNAME='thestatus'
INCLUDES=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /muds/aime/aime/awemud-0.25/missing --run makeinfo'
OBJEXT=''
PACKAGE='awemud'
PACKAGE_BUGREPORT='http://bugs.awemud.net/submit.php'
PACKAGE_NAME='AweMUD'
PACKAGE_STRING='AweMUD 0.25'
PACKAGE_TARNAME='awemud'
PACKAGE_VERSION='0.25'
PATH_BISON=''
PATH_FLEX=''
PATH_SENDMAIL=''
PATH_SEPARATOR=':'
PATH_XMLTO=''
PATH_XSLTPROC=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
SX_CFLAGS=''
SX_INCLUDES=''
SX_LDFLAGS=''
SX_LIBS=''
USE_XSLT_FALSE=''
USE_XSLT_TRUE=''
VERSION='0.25'
WORDS_BIGENDIAN=''
ac_ct_CC=''
ac_ct_CXX=''
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_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='/muds/aime/aime/awemud-0.25/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 "AweMUD"
#define PACKAGE_TARNAME "awemud"
#define PACKAGE_VERSION "0.25"
#define PACKAGE_STRING "AweMUD 0.25"
#define PACKAGE_BUGREPORT "http://bugs.awemud.net/submit.php"
#define PACKAGE "awemud"
#define VERSION "0.25"
configure: exit 77
I tried ld=... because I dind't know if I needed an older ld... but that didn't
Any help is appreciated.
seem to help... so just ignore it for now

.
Thanks,
-Michael.