Quote:
Originally Posted by Uncle_Theodore
Looks like you don't have a C++ compiler in your $PATH. Which Solaris is it?
|
i use solaris10. i have added /usr/sfw/bin to the PATH variable and for test, i typed gcc in front of shell prompt. it worked!! but configure script drives me up the wall and result was not changed. this is the contents of log file:
____________________________________________________________
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by RCSSBase configure 11.1.0, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = sunx86
uname -m = i86pc
uname -r = 5.10
uname -s = SunOS
uname -v = Generic_118855-33
/usr/bin/uname -p = i386
/bin/uname -X = System = SunOS
Node = sunx86
Release = 5.10
KernelID = Generic_118855-33
Machine = i86pc
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1
/bin/arch = i86pc
/usr/bin/arch -k = i86pc
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/sbin
PATH: /usr/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2054: checking for a BSD-compatible install
configure:2110: result: ./install-sh -c
configure:2121: checking whether build environment is sane
configure:2164: result: yes
configure:2192: checking for a thread-safe mkdir -p
configure:2231: result: ./install-sh -c -d
configure:2244: checking for gawk
configure:2274: result: no
configure:2244: checking for mawk
configure:2274: result: no
configure:2244: checking for nawk
configure:2260: found /usr/bin/nawk
configure:2271: result: nawk
configure:2282: checking whether make sets $(MAKE)
configure:2307: result: no
configure:2492: checking whether make sets $(MAKE)
configure:2517: result: no
configure:2527: checking for gawk
configure:2554: result: nawk
configure:2568: checking for sed
configure:2584: found /usr/bin/sed
configure:2598: result: sed
configure:2672: checking for g++
configure:2702: result: no
configure:2672: checking for c++
configure:2702: result: no
configure:2672: checking for gpp
configure:2702: result: no
configure:2672: checking for aCC
configure:2702: result: no
configure:2672: checking for CC
configure:2702: result: no
configure:2672: checking for cxx
configure:2702: result: no
configure:2672: checking for cc++
configure:2702: result: no
configure:2672: checking for cl.exe
configure:2702: result: no
configure:2672: checking for FCC
configure:2702: result: no
configure:2672: checking for KCC
configure:2702: result: no
configure:2672: checking for RCC
configure:2702: result: no
configure:2672: checking for xlC_r
configure:2702: result: no
configure:2672: checking for xlC
configure:2702: result: no
configure:2730: checking for C++ compiler version
configure:2737: g++ --version >&5
./configure: line 2738: g++: command not found
configure:2740: $? = 127
configure:2747: g++ -v >&5
./configure: line 2748: g++: command not found
configure:2750: $? = 127
configure:2757: g++ -V >&5
./configure: line 2758: g++: command not found
configure:2760: $? = 127
configure:2783: checking for C++ compiler default output file name
configure:2810: g++ conftest.cpp >&5
./configure: line 2811: g++: command not found
configure:2813: $? = 127
configure:2851: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "RCSSBase"
| #define PACKAGE_TARNAME "rcssbase"
| #define PACKAGE_VERSION "11.1.0"
| #define PACKAGE_STRING "RCSSBase 11.1.0"
| #define PACKAGE_BUGREPORT "sserver-admin@users.sf.net"
| #define PACKAGE "rcssbase"
| #define VERSION "11.1.0"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2858: 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_CVSEDITOR_set=
ac_cv_env_CVSEDITOR_value=
ac_cv_env_CVSROOT_set=
ac_cv_env_CVSROOT_value=
ac_cv_env_CVS_set=
ac_cv_env_CVS_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_HDIUTIL_set=
ac_cv_env_HDIUTIL_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PACKAGE_MAKER_set=
ac_cv_env_PACKAGE_MAKER_value=
ac_cv_env_RPM_set=
ac_cv_env_RPM_value=
ac_cv_env_SED_set=
ac_cv_env_SED_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_AWK=nawk
ac_cv_prog_SED=sed
ac_cv_prog_make_make_set=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/soccer/soccer/rcssbase-11.1.0/missing --run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/soccer/soccer/rcssbase-11.1.0/missing --run tar'
ANON_CVSROOT=''
AR=''
AUTOCONF='${SHELL} /home/soccer/soccer/rcssbase-11.1.0/missing --run autoconf'
AUTOHEADER='${SHELL} /home/soccer/soccer/rcssbase-11.1.0/missing --run autoheader'
AUTOMAKE='${SHELL} /home/soccer/soccer/rcssbase-11.1.0/missing --run automake-1.10'
AWK='nawk'
AX_INSTALL_FILES_LIST=''
AX_MFSTAMP=''
AX_PKG_DESC_FILE=''
AX_PKG_INFO_FILE=''
AX_PKG_STAGING=''
AX_RPM_CONFIGURE_ARGS=''
AX_RPM_INSTALL_FILES=''
AX_RPM_SPEC_FILE=''
AX_STAGING=''
BOOST_CPPFLAGS=''
BOOST_FILESYSTEM_LIB=''
BOOST_LDFLAGS=''
BUILD_TESTS=''
BUILD_TEST_FALSE=''
BUILD_TEST_TRUE=''
CC=''
CCDEPMODE=''
CFLAGS=''
CONVENIENCE_LTDL_FALSE=''
CONVENIENCE_LTDL_TRUE=''
CPP=''
CPPFLAGS=''
CVS=''
CVSEDITOR=''
CVSROOT=''
CXX='g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
GREP=''
GZ_LIBS=''
HDIUTIL=''
INCLTDL=''
INCLUDE_MK_FILE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_LTDL_FALSE=''
INSTALL_LTDL_TRUE=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBADD_DL=''
LIBLTDL=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_DEPS=''
LN_S=''
LTDLDIR=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/soccer/soccer/rcssbase-11.1.0/missing --run makeinfo'
NET_LIBS=''
NODLOPEN_FALSE=''
NODLOPEN_TRUE=''
OBJEXT=''
PACKAGE='rcssbase'
PACKAGE_BUGREPORT='sserver-admin@users.sf.net'
PACKAGE_MAKER=''
PACKAGE_NAME='RCSSBase'
PACKAGE_STRING='RCSSBase 11.1.0'
PACKAGE_TARNAME='rcssbase'
PACKAGE_VERSION='11.1.0'
PATH_SEPARATOR=':'
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
RANLIB=''
RPM=''
RPMBUILD=''
SED='sed'
SET_MAKE='MAKE=make'
SHELL='/bin/bash'
STRIP=''
TEST_LIBS=''
VERSION='11.1.0'
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /home/soccer/soccer/rcssbase-11.1.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''
## ------------------- ##
## File substitutions. ##
## ------------------- ##
INCLUDE_MK=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "RCSSBase"
#define PACKAGE_TARNAME "rcssbase"
#define PACKAGE_VERSION "11.1.0"
#define PACKAGE_STRING "RCSSBase 11.1.0"
#define PACKAGE_BUGREPORT "sserver-admin@users.sf.net"
#define PACKAGE "rcssbase"
#define VERSION "11.1.0"
configure: exit 77
__________________________________________________________
thanks for your help