[etherlab-users] ./configure not succeeding

Jeff Krasky jeff.krasky at dspcg.com
Wed Jul 13 18:46:01 CEST 2011


Ok, so I don't have g++.  But when I look at the package manager on this
machine (Yast -> Software -> Software Management) I search for g++ and it
doesn't find anything.  I used this same method when searching for autoconf
and automake.

 

How do I get the g++, as well as the other things that I'm probably missing?

 

Thanks,

 

Jeff Krasky

 

  _____  

From: ronaldo.mercado at diamond.ac.uk [mailto:ronaldo.mercado at diamond.ac.uk] 
Sent: Wednesday, July 13, 2011 11:06 AM
To: jeff.krasky at dspcg.com
Subject: RE: [etherlab-users] ./configure not succeeding

 

Hello again,

 

./configure: line 2138: g++: command not found

 

Again, from my RHEL5 system

 

[rjq35657 at pc0023 ~]$ which g++

/usr/bin/g++

[rjq35657 at pc0023 ~]$ rpm -qf /usr/bin/g++

gcc-c++-4.1.2-50.el5

 

Ronaldo

 

From: etherlab-users-bounces at etherlab.org
[mailto:etherlab-users-bounces at etherlab.org] On Behalf Of Jeff Krasky
Sent: 13 July 2011 14:38
To: etherlab-users at etherlab.org
Subject: [etherlab-users] ./configure not succeeding

 

Hi,

 

thanks to the help, I got past the aclocal issue.  Now I have trouble when I
run ./configure.  I have checked and I have autoconf, automake, libtool,
make, and gcc packages installed.  Do I need anything else?  Here is the
config.log:

 

This file contains any messages produced by compilers while

running configure, to aid debugging if configure makes a mistake.

 

It was created by ethercat configure devel, which was

generated by GNU Autoconf 2.59.  Invocation command line was

 

  $ ./configure 

 

## --------- ##

## Platform. ##

## --------- ##

 

hostname = lem

uname -m = i686

uname -r = 2.6.16.21-0.25-smp

uname -s = Linux

uname -v = #1 SMP Tue Sep 19 07:26:15 UTC 2006

 

/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: /usr/local/sbin

PATH: /opt/gnome/sbin

PATH: /root/bin

PATH: /usr/local/bin

PATH: /usr/bin

PATH: /usr/X11R6/bin

PATH: /bin

PATH: /usr/games

PATH: /opt/gnome/bin

PATH: /opt/kde3/bin

PATH: /usr/lib/jvm/jre/bin

PATH: /usr/lib/mit/bin

PATH: /usr/lib/mit/sbin

 

 

## ----------- ##

## Core tests. ##

## ----------- ##

 

configure:1583: checking for a BSD-compatible install

configure:1638: result: /usr/bin/install -c

configure:1649: checking whether build environment is sane

configure:1692: result: yes

configure:1757: checking for gawk

configure:1773: found /usr/bin/gawk

configure:1783: result: gawk

configure:1793: checking whether make sets $(MAKE)

configure:1813: result: yes

configure:2053: checking for g++

configure:2082: result: no

configure:2053: checking for c++

configure:2082: result: no

configure:2053: checking for gpp

configure:2082: result: no

configure:2053: checking for aCC

configure:2082: result: no

configure:2053: checking for CC

configure:2082: result: no

configure:2053: checking for cxx

configure:2082: result: no

configure:2053: checking for cc++

configure:2082: result: no

configure:2053: checking for cl

configure:2082: result: no

configure:2053: checking for FCC

configure:2082: result: no

configure:2053: checking for KCC

configure:2082: result: no

configure:2053: checking for RCC

configure:2082: result: no

configure:2053: checking for xlC_r

configure:2082: result: no

configure:2053: checking for xlC

configure:2082: result: no

configure:2095: checking for C++ compiler version

configure:2098: g++ --version </dev/null >&5

./configure: line 2099: g++: command not found

configure:2101: $? = 127

configure:2103: g++ -v </dev/null >&5

./configure: line 2104: g++: command not found

configure:2106: $? = 127

configure:2108: g++ -V </dev/null >&5

./configure: line 2109: g++: command not found

configure:2111: $? = 127

configure:2134: checking for C++ compiler default output file name

configure:2137: g++    conftest.cc  >&5

./configure: line 2138: g++: command not found

configure:2140: $? = 127

configure: failed program was:

| /* confdefs.h.  */

| 

| #define PACKAGE_NAME "ethercat"

| #define PACKAGE_TARNAME "ethercat"

| #define PACKAGE_VERSION "devel"

| #define PACKAGE_STRING "ethercat devel"

| #define PACKAGE_BUGREPORT "fp at igh-essen.com"

| #define PACKAGE "ethercat"

| #define VERSION "devel"

| /* end confdefs.h.  */

| 

| int

| main ()

| {

| 

|   ;

|   return 0;

| }

configure:2179: 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_path_install='/usr/bin/install -c'

ac_cv_prog_AWK=gawk

ac_cv_prog_make_make_set=yes

 

## ----------------- ##

## Output variables. ##

## ----------------- ##

 

ACLOCAL='${SHELL} /root/Desktop/etherlabmaster-4adb56c4198d/autoconf/missing
--run aclocal-1.9'

AMDEPBACKSLASH=''

AMDEP_FALSE=''

AMDEP_TRUE=''

AMTAR='${SHELL} /root/Desktop/etherlabmaster-4adb56c4198d/autoconf/missing
--run tar'

AR=''

AUTOCONF='${SHELL}
/root/Desktop/etherlabmaster-4adb56c4198d/autoconf/missing --run autoconf'

AUTOHEADER='${SHELL}
/root/Desktop/etherlabmaster-4adb56c4198d/autoconf/missing --run autoheader'

AUTOMAKE='${SHELL}
/root/Desktop/etherlabmaster-4adb56c4198d/autoconf/missing --run
automake-1.9'

AWK='gawk'

BUILD_TOOL_FALSE=''

BUILD_TOOL_TRUE=''

CC=''

CCDEPMODE=''

CFLAGS=''

CPP=''

CPPFLAGS=''

CXX='g++'

CXXCPP=''

CXXDEPMODE=''

CXXFLAGS=''

CYGPATH_W='echo'

DEFS=''

DEPDIR=''

ECHO='echo'

ECHO_C=''

ECHO_N='-n'

ECHO_T=''

EGREP=''

ENABLE_8139TOO=''

ENABLE_8139TOO_FALSE=''

ENABLE_8139TOO_TRUE=''

ENABLE_DEBUG_IF=''

ENABLE_DEBUG_IF_FALSE=''

ENABLE_DEBUG_IF_TRUE=''

ENABLE_E1000=''

ENABLE_E1000_FALSE=''

ENABLE_E1000_TRUE=''

ENABLE_E100=''

ENABLE_E100_FALSE=''

ENABLE_E100_TRUE=''

ENABLE_EOE=''

ENABLE_EOE_FALSE=''

ENABLE_EOE_TRUE=''

ENABLE_GENERIC=''

ENABLE_GENERIC_FALSE=''

ENABLE_GENERIC_TRUE=''

ENABLE_R8169=''

ENABLE_R8169_FALSE=''

ENABLE_R8169_TRUE=''

ENABLE_RTAI=''

ENABLE_RTAI_FALSE=''

ENABLE_RTAI_TRUE=''

ENABLE_RTDM=''

ENABLE_RTDM_FALSE=''

ENABLE_RTDM_TRUE=''

ENABLE_TTY=''

ENABLE_TTY_FALSE=''

ENABLE_TTY_TRUE=''

ENABLE_USERLIB_FALSE=''

ENABLE_USERLIB_TRUE=''

ENABLE_XENOMAI=''

ENABLE_XENOMAI_FALSE=''

ENABLE_XENOMAI_TRUE=''

EXEEXT=''

F77=''

FFLAGS=''

INSTALL_DATA='${INSTALL} -m 644'

INSTALL_MOD_DIR=''

INSTALL_PROGRAM='${INSTALL}'

INSTALL_SCRIPT='${INSTALL}'

INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'

KERNEL_8139TOO=''

KERNEL_E1000=''

KERNEL_E100=''

KERNEL_R8169=''

LDFLAGS=''

LIBOBJS=''

LIBS=''

LIBTOOL=''

LINUX_SOURCE_DIR=''

LN_S=''

LTLIBOBJS=''

MAKEINFO='${SHELL}
/root/Desktop/etherlabmaster-4adb56c4198d/autoconf/missing --run makeinfo'

OBJEXT=''

PACKAGE='ethercat'

PACKAGE_BUGREPORT='fp at igh-essen.com'

PACKAGE_NAME='ethercat'

PACKAGE_STRING='ethercat devel'

PACKAGE_TARNAME='ethercat'

PACKAGE_VERSION='devel'

PATH_SEPARATOR=':'

RANLIB=''

RTAI_DIR=''

SET_MAKE=''

SHELL='/bin/sh'

STRIP=''

VERSION='devel'

XENOMAI_DIR=''

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=''

am__tar='${AMTAR} chof - "$$tardir"'

am__untar='${AMTAR} xf -'

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='/root/Desktop/etherlabmaster-4adb56c4198d/autoconf/install-sh'

libdir='${exec_prefix}/lib'

libexecdir='${exec_prefix}/libexec'

localstatedir='${prefix}/var'

mandir='${prefix}/man'

mkdir_p='mkdir -p --'

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 PACKAGE "ethercat"

#define PACKAGE_BUGREPORT "fp at igh-essen.com"

#define PACKAGE_NAME "ethercat"

#define PACKAGE_STRING "ethercat devel"

#define PACKAGE_TARNAME "ethercat"

#define PACKAGE_VERSION "devel"

#define VERSION "devel"

 

configure: exit 77

 

 

 

Jeff Krasky

 

 

--  

This e-mail and any attachments may contain confidential, copyright and or
privileged material, and are for the use of the intended addressee only. If
you are not the intended addressee or an authorised recipient of the
addressee please notify us of receipt by returning the e-mail and do not
use, copy, retain, distribute or disclose the information in or attached to
the e-mail.
Any opinions expressed within this e-mail are those of the individual and
not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any
attachments are free from viruses and we cannot accept liability for any
damage which you may sustain as a result of software viruses which may be
transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England
and Wales with its registered office at Diamond House, Harwell Science and
Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20110713/6e598d6e/attachment-0004.htm>


More information about the Etherlab-users mailing list