Thanks Brain
Also following the recommendation in the error message; i.e. use the correct C++ compiler? The fact that it comes with a configure script leads me to believe that it is designed to be compiled with the GNU Compiler Collection (gcc).
we have aCC compiler installed. confifure.sh files probably needs to be modified accordingly.
The thing is we cant install gcc compiler due to the requirement from senior manager so have to compile with aCC only.
The current version of aCC compiler installed on our HP-UX is
/orainst/rcsinbg1>what /opt/aCC/bin/aCC
/opt/aCC/bin/aCC:
HP aC++ B3910B A.03.37
HP aC++ B3910B A.03.30 Language Support Library
I executed the command as below on my HP-UX box
/export/home/amitbas/systinet/server_cpp65/share/doc/waspc/demos>./configur�e
CXX= /opt/aCC/bin/aCC CXXFLAGS="-g -O "
and Im posting the errors I have got
configure: WARNING:
you should use --build, --host, --target
configure: WARNING: invalid host type: /opt/aCC/bin/aCC
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for /opt/aCC/bin/aCC-gcc... no
checking for gcc... no
checking for /opt/aCC/bin/aCC-cc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
Checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... hp
checking for /opt/aCC/bin/aCC-g++... no
checking for /opt/aCC/bin/aCC-c++... no
checking for /opt/aCC/bin/aCC-gpp... no
checking for /opt/aCC/bin/aCC-aCC... no
checking for /opt/aCC/bin/aCC-CC... no
checking for /opt/aCC/bin/aCC-cxx... no
checking for /opt/aCC/bin/aCC-cc++... no
checking for /opt/aCC/bin/aCC-cl... no
checking for /opt/aCC/bin/aCC-FCC... no
checking for /opt/aCC/bin/aCC-KCC... no
checking for /opt/aCC/bin/aCC-RCC... no
checking for /opt/aCC/bin/aCC-xlC_r... no
checking for /opt/aCC/bin/aCC-xlC... no
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... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether cc understands -c and -o together... yes
checking whether ln -s works... yes
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for waspc-config...
/opt/systinet/server_cpp65/bin/waspc-config
configure: error: CXXFLAGS used during compilation of SSC do not work.
You are probably using different C++ compiler. The original flags
were:
---------------------------------------------------------------------------�------------------------------------------------------
In spite of the mentioning the location of aCC comiler for compiling that is
./configure CXX=/opt/aCC/bin/aCC CXXFLAGS="-g -O "
we are still getting the errors ,