Installing s3fs

I want to install s3fs but i get following errors after using the command ./configure

checking build system type… i686-suse-linux-gnu
checking host system type… i686-suse-linux-gnu
checking target system type… i686-suse-linux-gnu
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking for g++… no
checking for c++… no
checking for gpp… no
checking for aCC… no
checking for CC… no
checking for cxx… no
checking for cc++… no
checking for cl.exe… no
checking for FCC… no
checking for KCC… no
checking for RCC… no
checking for xlC_r… no
checking for xlC… no
checking whether the C++ compiler works… no
configure: error in ‘my-directory’:
configure: error: C++ compiler cannot create executables

I think i have installed everything i could possible think of. gcc-c++ is also installed

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 s3fs configure 1.53, which was
generated by GNU Autoconf 2.65.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = linux-pnev
uname -m = i686
uname -r = 2.6.34.7-0.7-desktop
uname -s = Linux
uname -v = #1 SMP PREEMPT 2010-12-13 11:13:53 +0100

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/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/lib64/mpi/gcc/openmpi/bin
PATH: /home/andy/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1801: checking build system type
configure:1815: result: i686-suse-linux-gnu
configure:1835: checking host system type
configure:1848: result: i686-suse-linux-gnu
configure:1868: checking target system type
configure:1881: result: i686-suse-linux-gnu
configure:1924: checking for a BSD-compatible install
configure:1992: result: /usr/bin/install -c
configure:2003: checking whether build environment is sane
configure:2053: result: yes
configure:2194: checking for a thread-safe mkdir -p
configure:2233: result: /bin/mkdir -p
configure:2246: checking for gawk
configure:2262: found /usr/bin/gawk
configure:2273: result: gawk
configure:2284: checking whether make sets $(MAKE)
configure:2306: result: yes
configure:2445: checking for g++
configure:2475: result: no
configure:2445: checking for c++
configure:2475: result: no
configure:2445: checking for gpp
configure:2475: result: no
configure:2445: checking for aCC
configure:2475: result: no
configure:2445: checking for CC
configure:2475: result: no
configure:2445: checking for cxx
configure:2475: result: no
configure:2445: checking for cc++
configure:2475: result: no
configure:2445: checking for cl.exe
configure:2475: result: no
configure:2445: checking for FCC
configure:2475: result: no
configure:2445: checking for KCC
configure:2475: result: no
configure:2445: checking for RCC
configure:2475: result: no
configure:2445: checking for xlC_r
configure:2475: result: no
configure:2445: checking for xlC
configure:2475: result: no
configure:2499: checking for C++ compiler version
configure:2508: g++ --version >&5
./configure: line 2510: g++: command not found
configure:2519: $? = 127
configure:2508: g++ -v >&5
./configure: line 2510: g++: command not found
configure:2519: $? = 127
configure:2508: g++ -V >&5
./configure: line 2510: g++: command not found
configure:2519: $? = 127
configure:2508: g++ -qversion >&5
./configure: line 2510: g++: command not found
configure:2519: $? = 127
configure:2539: checking whether the C++ compiler works
configure:2561: g++    conftest.cpp  >&5
./configure: line 2563: g++: command not found
configure:2565: $? = 127
configure:2603: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "s3fs"
| #define PACKAGE_TARNAME "s3fs"
| #define PACKAGE_VERSION "1.53"
| #define PACKAGE_STRING "s3fs 1.53"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "s3fs"
| #define VERSION "1.53"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2608: error: in `/home/andy/s3fs-read-only':
configure:2612: error: C++ compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-suse-linux-gnu
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DEPS_CFLAGS_set=
ac_cv_env_DEPS_CFLAGS_value=
ac_cv_env_DEPS_LIBS_set=
ac_cv_env_DEPS_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_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-suse-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-suse-linux-gnu

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/andy/s3fs-read-only/missing --run aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/andy/s3fs-read-only/missing --run tar'
AUTOCONF='${SHELL} /home/andy/s3fs-read-only/missing --run autoconf'
AUTOHEADER='${SHELL} /home/andy/s3fs-read-only/missing --run autoheader'
AUTOMAKE='${SHELL} /home/andy/s3fs-read-only/missing --run automake-1.11'
AWK='gawk'
CPPFLAGS=''
CXX='g++'
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DEPS_CFLAGS=''
DEPS_LIBS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/andy/s3fs-read-only/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
OBJEXT=''
PACKAGE='s3fs'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='s3fs'
PACKAGE_STRING='s3fs 1.53'
PACKAGE_TARNAME='s3fs'
PACKAGE_URL=''
PACKAGE_VERSION='1.53'
PATH_SEPARATOR=':'
PKG_CONFIG=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.53'
ac_ct_CXX=''
am__EXEEXT_FALSE=''
am__EXEEXT_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='i686-suse-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='suse'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-suse-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='suse'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/andy/s3fs-read-only/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/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='i686-suse-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='suse'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "s3fs"
#define PACKAGE_TARNAME "s3fs"
#define PACKAGE_VERSION "1.53"
#define PACKAGE_STRING "s3fs 1.53"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "s3fs"
#define VERSION "1.53"

configure: exit 77

Wath is wrong with this ?

Check if gcc-c++ or other compilers are installed. Go to yast–> programm install/uninstall and check here. For example gcc etc.

Solved

zypper search gcc-*

This told me gcc-c++ wasn’t installed :s

So you install it with this way

su
# zypper install <programm>

or with Yast.