Dear experts
When trying to compile O2, I have a “Configure” error when building ApMon-CPP@v2.2.8-alice5
I had already added the following to my .bashrc file
alias g++='g++ --std=c++11'
export CXX=g++
The log file shows the following
configure.ac:11: installing './compile'
configure.ac:5: installing './missing'
Makefile.am:8: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Makefile.am: installing './depcomp'
examples/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
autoreconf: Leaving directory `.'
++ [[ -n /itp/swift/apaz/compile/aliceCompDir/opensuse-leap15_x86-64/libtirpc/libtirpc-1-1-4-local1 ]]
++ export 'CXXFLAGS=-fPIC -O2 -std=c++17 -I/itp/swift/apaz/compile/aliceCompDir/opensuse-leap15_x86-64/libtirpc/libtirpc-1-1-4-local1/include/tirpc'
++ CXXFLAGS='-fPIC -O2 -std=c++17 -I/itp/swift/apaz/compile/aliceCompDir/opensuse-leap15_x86-64/libtirpc/libtirpc-1-1-4-local1/include/tirpc'
++ export 'LDFLAGS= -ltirpc -L/itp/swift/apaz/compile/aliceCompDir/opensuse-leap15_x86-64/libtirpc/libtirpc-1-1-4-local1/lib'
++ LDFLAGS=' -ltirpc -L/itp/swift/apaz/compile/aliceCompDir/opensuse-leap15_x86-64/libtirpc/libtirpc-1-1-4-local1/lib'
++ ./configure --prefix=/itp/swift/apaz/compile/aliceCompDir/INSTALLROOT/b4cf65d9beae65c3758bbe223ee11484f2a99b35/opensuse-leap15_x86-64/ApMon-CPP/v2.2.8-alice5-local1
configure: loading site script /usr/share/site/x86_64-unknown-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... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether the C++ compiler works... no
configure: error: in `/itp/swift/apaz/compile/aliceCompDir/BUILD/b4cf65d9beae65c3758bbe223ee11484f2a99b35/ApMon-CPP':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
Thanks