|
Looks like you need to add the location of the c compiler to your path. On Tue, 3 Aug 2004 14:45:56 +0000, wdjohnston@xxxxxxxxxxx said: > Hi, > I'm a newbie when it comes to compiling C++. I'm not sure I'm even > starting correctly. > > I'm in the PASE environment. I issued the following command after > changing the directory to the source directory. > > ./configure && Make > > The compile failed, and I received the following in the 'config.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 configure, which was > generated by GNU Autoconf 2.59. Invocation command line was > > $ ./configure > > ## --------- ## > ## Platform. ## > ## --------- ## > > hostname = STALKER.RMCNET.ORG > uname -m = 00100004TDFM > uname -r = 2 > uname -s = OS400 > uname -v = 5 > > /usr/bin/uname -p = powerpc > /bin/uname -X = unknown > > /bin/arch = unknown > /usr/bin/arch -k = unknown > /usr/convex/getsysinfo = unknown > hostinfo = unknown > /bin/machine = unknown > /usr/bin/oslevel = unknown > /bin/universe = unknown > > PATH: /QOpenSys/usr/bin > PATH: /usr/ccs/bin > PATH: /QOpenSys/usr/bin/X11 > PATH: /usr/sbin > PATH: . > PATH: /usr/bin > > > ## ----------- ## > ## Core tests. ## > ## ----------- ## > > configure:1547: checking for a BSD-compatible install > configure:1602: result: ./install-sh -c > configure:1613: checking whether build environment is sane > configure:1656: result: yes > configure:1713: checking for gawk > configure:1742: result: no > configure:1713: checking for mawk > configure:1742: result: no > configure:1713: checking for nawk > configure:1729: found /QOpenSys/usr/bin/nawk > configure:1739: result: nawk > configure:1749: checking whether make sets $(MAKE) > configure:1769: result: yes > configure:1934: checking whether to enable maintainer-specific portions > of Makefiles > configure:1943: result: no > configure:2081: checking for g++ > configure:2110: result: no > configure:2081: checking for c++ > configure:2110: result: no > configure:2081: checking for gpp > configure:2110: result: no > configure:2081: checking for aCC > configure:2110: result: no > configure:2081: checking for CC > configure:2110: result: no > configure:2081: checking for cxx > configure:2110: result: no > configure:2081: checking for cc++ > configure:2110: result: no > configure:2081: checking for cl > configure:2110: result: no > configure:2081: checking for FCC > configure:2110: result: no > configure:2081: checking for KCC > configure:2110: result: no > configure:2081: checking for RCC > configure:2110: result: no > configure:2081: checking for xlC_r > configure:2110: result: no > configure:2081: checking for xlC > configure:2110: result: no > configure:2123: checking for C++ compiler version > configure:2126: g++ --version </dev/null >&5 > ./configure[2127]: g++: not found > configure:2129: $? = 127 > configure:2131: g++ -v </dev/null >&5 > ./configure[2132]: g++: not found > configure:2134: $? = 127 > configure:2136: g++ -V </dev/null >&5 > ./configure[2137]: g++: not found > configure:2139: $? = 127 > configure:2162: checking for C++ compiler default output file name > configure:2165: g++ conftest.cc >&5 > ./configure[2166]: g++: not found > configure:2168: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE "aspell" > | #define VERSION "0.50.5" > | /* end confdefs.h. */ > | > | int > | main () > | { > | > | ; > | return 0; > | } > configure:2206: 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_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_prog_AWK=nawk > ac_cv_prog_make_make_set=yes > > ## ----------------- ## > ## Output variables. ## > ## ----------------- ## > > ACLOCAL='${SHELL} /aspell/missing --run aclocal-1.8' > AMDEPBACKSLASH='' > AMDEP_FALSE='' > AMDEP_TRUE='' > AMTAR='${SHELL} /aspell/missing --run tar' > AR='' > AUTOCONF='${SHELL} /aspell/missing --run autoconf' > AUTOHEADER='${SHELL} /aspell/missing --run autoheader' > AUTOMAKE='${SHELL} /aspell/missing --run automake-1.8' > AWK='nawk' > CC='' > CCDEPMODE='' > CFLAGS='' > CPP='' > CPPFLAGS='' > CURSES_INCLUDE='' > CURSES_LIB='' > CXX='g++' > CXXCPP='' > CXXDEPMODE='' > CXXFLAGS='' > CYGPATH_W='echo' > DEFS='' > DEPDIR='' > ECHO='print -r' > ECHO_C='ECHO_N='' > ECHO_T='' > EGREP='' > EXEEXT='' > F77='' > FFLAGS='' > INSTALL_DATA='${INSTALL} -m 644' > INSTALL_PROGRAM='${INSTALL}' > INSTALL_SCRIPT='${INSTALL}' > INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' > LDFLAGS='' > LIBOBJS='' > LIBS='' > LIBTOOL='' > LN_S='' > LTLIBOBJS='' > MAINT='#' > MAINTAINER_MODE_FALSE='' > MAINTAINER_MODE_TRUE='#' > MAKEINFO='${SHELL} /aspell/missing --run makeinfo' > OBJEXT='' > PACKAGE='aspell' > PACKAGE_BUGREPORT='' > PACKAGE_NAME='' > PACKAGE_STRING='' > PACKAGE_TARNAME='' > PACKAGE_VERSION='' > PATH_SEPARATOR=':' > RANLIB='' > SET_MAKE='' > SHELL='/bin/sh' > STRIP='' > VERSION='0.50.5' > ac_ct_AR='' > ac_ct_CC='' > ac_ct_CXX='g++' > ac_ct_F77='' > ac_ct_RANLIB='' > ac_ct_STRIP='' > am__fastdepCC_FALSE='' > am__fastdepCC_TRUE='' > am__fastdepCXX_FALSE='' > am__fastdepCXX_TRUE='' > am__include='' > am__leading_dot='.' > am__quote='' > bindir='${exec_prefix}/bin' > build='' > build_alias='' > build_cpu='' > build_os='' > build_vendor='' > datadir='${prefix}/share' > exec_prefix='NONE' > host='' > host_alias='' > host_cpu='' > host_os='' > host_vendor='' > includedir='${prefix}/include' > infodir='${prefix}/info' > install_sh='/aspell/install-sh' > libdir='${exec_prefix}/lib' > libexecdir='${exec_prefix}/libexec' > localstatedir='${prefix}/var' > mandir='${prefix}/man' > mkdir_p='mkdir -p -- .' > oldincludedir='/usr/include' > pkgdatadir='${datadir}/aspell' > pkgdocdir='${prefix}/share/doc/aspell' > pkglibdir='${libdir}/aspell' > prefix='NONE' > program_transform_name='s,x,x,' > sbindir='${exec_prefix}/sbin' > sharedstatedir='${prefix}/com' > sysconfdir='${prefix}/etc' > target_alias='' > > ## ----------- ## > ## confdefs.h. ## > ## ----------- ## > > #define PACKAGE "aspell" > #define PACKAGE_BUGREPORT "" > #define PACKAGE_NAME "" > #define PACKAGE_STRING "" > #define PACKAGE_TARNAME "" > #define PACKAGE_VERSION "" > #define VERSION "0.50.5" > > configure: exit 77 > > END OF FILE > > Am I missing something? I know the C++ compiler is loaded. > > Thanks > Wayne Johnston > for Ripon Medical Center > > > -- > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing > list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > -- michaelr_41@xxxxxxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.