Hi,
We are trying to install / configure gSOAP 2.8 with Apache server in HP-UX B11.23 U ia64, following pre-requisites are installed.
We are getting the following errors when trying to run 'make'.
{root}# make -f Makefile
No suffix list.
cd . && /bin/sh /home/mjo317/gsoap_2.8.8/gsoap-2.8/missing --run aclocal-1.10
/home/gsoap_2.8.8/gsoap-2.8/missing[46]: aclocal-1.10: not found.
WARNING: `aclocal-1.10' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them. Check the `README' file,
it often tells you about the needed prerequirements for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing `aclocal-1.10' program.
*** Error exit code 1
Stop.
Also
{root}# make -f MakefileManual
g++ -Wall -O1 -I.. -DHP_UX -o wsdl2h wsdl2h.cpp wsdlC.o wsdl.o schema.o soap.o mime.o wsp.o types.o service.o ../stdsoap2.cpp -lm
../stdsoap2.cpp: In function 'size_t frecv(soap*, char*, size_t)':
../stdsoap2.cpp:928: error: invalid conversion from 'socklen_t*' to 'int*'
../stdsoap2.cpp:928: error: initializing argument 6 of 'int recvfrom(int, void*, int, int, void*, int*)'
../stdsoap2.cpp: In function 'int tcp_connect(soap*, const char*, const char*, int)':
../stdsoap2.cpp:3982: error: invalid conversion from 'socklen_t*' to 'int*'
../stdsoap2.cpp:3982: error: initializing argument 5 of 'int getsockopt(int, int, int, void*, int*)'
../stdsoap2.cpp: In function 'int tcp_accept(soap*, int, sockaddr*, int*)':
../stdsoap2.cpp:4432: error: invalid conversion from 'socklen_t*' to 'int*'
../stdsoap2.cpp:4432: error: initializing argument 3 of 'int accept(int, void*, int*)'
../stdsoap2.cpp: In function 'const char* soap_float2s(soap*, float)':
../stdsoap2.cpp:11855: error: 'isinf' was not declared in this scope
../stdsoap2.cpp:11857: error: 'isinf' was not declared in this scope
../stdsoap2.cpp: In function 'const char* soap_double2s(soap*, double)':
../stdsoap2.cpp:12009: error: 'isinf' was not declared in this scope
../stdsoap2.cpp:12011: error: 'isinf' was not declared in this scope
*** Error exit code 1
Stop.
We are new to HP UX/gSOAP, any help in this regard is greatly appreciated.
Regards,
ARPL
>WARNING: `aclocal-1.10' is needed, and you do not seem to have it handy
Have you installed it?
>../stdsoap2.cpp:928: error: invalid conversion from 'socklen_t*' to 'int*'
These all seem to be due to the assumption that socklen_t is the same as int. You need to check the headers and see that its definition.
>./stdsoap2.cpp:11855: error: 'isinf' was not declared in this scope
Are you including <math.h>? isinf(3) should be a macro there.