I think I found the problem:
The INSTALL file says:
./configure --prefix=<axis2c_deploy_path> --enable-static=no
--with-axis2=<axis2c_deploy_path>
but it should be corrected to
./configure --prefix=<axis2c_deploy_path> --enable-static=no
--with-axis2=<axis2c_include_path>
When I fix this I was able to install.
However, then I ran onto another problem when running make install:
make[3]: Entering directory `/tmp/sandesha2c-src-0.91'
cp -rf xdocs/* /home/samisa/axis2/c/deploy/docs/sandesha2c
cp: cannot stat `xdocs/*': No such file or directory
make[3]: *** [install-data-hook] Error 1
This happens because in the Makefile we have the install data hook
cp -rf xdocs/* $(docsdir)
but there is no xdocs folder in the dist package.
Samisa...
Samisa Abeysinghe wrote:
Hi Manjula,
There is something wrong with the source package.
I used the source release and tried to build according to the
instructions given in INSTALL file.
I ran:
1. ./configure --prefix=$AXIS2C_HOME --enable-static=no
--with-axis2=$AXIS2C_HOME
2. make
I got a compile error that is given at the end of this message.
As you may notice, there is a problem in the build system; even though
I have used --with-axis2 option when configuring, it is still looking
for the axis2 headers in /tmp/sandesha2c-src-0.91/../axis2c/util/include.
Also, the docs does not seem to have run through 'maven site' before
packaging.
Thanks,
Samisa...
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include
-I/tmp/sandesha2c-src-0.91/../axis2c/axiom/include
-I/tmp/sandesha2c-src-0.91/../axis2c/util/include
-I/home/samisa/axis2/c/deploy -g3 -O0 -Werror -DAXIS2_TRACE
-D_LARGEFILE64_SOURCE -ansi -Wall -Werror
-Wno-implicit-function-declaration -g -c ack_final.c -fPIC -DPIC -o
.libs/ack_final.o
In file included from ../../include/sandesha2_ack_final.h:25,
from ack_final.c:17:
../../include/sandesha2_iom_rm_element.h:25:34: error:
axutil_utils_defines.h: No such file or directory
../../include/sandesha2_iom_rm_element.h:26:24: error: axutil_env.h:
No such file or directory
../../include/sandesha2_iom_rm_element.h:27:33: error:
axiom_soap_envelope.h: No such file or directory
../../include/sandesha2_iom_rm_element.h:28:27: error:
axiom_element.h: No such file or directory
In file included from ../../include/sandesha2_iom_rm_element.h:29,
from ../../include/sandesha2_ack_final.h:25,
from ack_final.c:17:
../../include/sandesha2_error.h:20:26: error: axutil_error.h: No such
file or directory
In file included from ../../include/sandesha2_iom_rm_element.h:29,
from ../../include/sandesha2_ack_final.h:25,
from ack_final.c:17:
../../include/sandesha2_error.h:46: error: 'AXIS2_ERROR_LAST'
undeclared here (not in a function)
../../include/sandesha2_error.h:218: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'AXIS2_CALL'
In file included from ../../include/sandesha2_ack_final.h:25,
from ack_final.c:17:
../../include/sandesha2_iom_rm_element.h:48: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'struct'
../../include/sandesha2_iom_rm_element.h:76: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'struct'
../../include/sandesha2_iom_rm_element.h:81: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'AXIS2_CALL'
../../include/sandesha2_iom_rm_element.h:86: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
../../include/sandesha2_iom_rm_element.h:92: error: expected '=', ',',
';', 'asm' or '__attribute__' before
'sandesha2_iom_rm_element_from_om_node'
../../include/sandesha2_iom_rm_element.h:97: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
../../include/sandesha2_iom_rm_element.h:103: error: expected '=',
',', ';', 'asm' or '__attribute__' before 'AXIS2_CALL'
In file included from ack_final.c:17:
../../include/sandesha2_ack_final.h:43: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'struct'
../../include/sandesha2_ack_final.h:48: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'sandesha2_ack_final_t'
ack_final.c:28: error: expected specifier-qualifier-list before
'axis2_char_t'
ack_final.c:35: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
ack_final.c:40: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'sandesha2_ack_final_from_om_node'
ack_final.c:43: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
ack_final.c:47: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'AXIS2_CALL'
ack_final.c:51: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'AXIS2_CALL'
ack_final.c:57: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'sandesha2_ack_final_t'
ack_final.c:108: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'AXIS2_CALL'
ack_final.c:130: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
ack_final.c:141: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'sandesha2_ack_final_from_om_node'
ack_final.c:179: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
ack_final.c:204: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'AXIS2_CALL'
make[3]: *** [ack_final.lo] Error 1
Manjula Peiris wrote:
Hi Devs,
I have re-packaged and uploaded the second set of Apache Sandesha2/C
0.91 release artifacts at
http://people.apache.org/~manjula/release/0.91-2/
The key used to sign the release artifacts can be found at
http://people.apache.org/~manjula/release/0.91-2/KEYS
Please test, review and vote on these latest release
artifacts for
Apache Sandesha2/C 0.91 release.
I have tested and reviewed them and here is my vote: +1
Thanks,
-Manjula.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Samisa Abeysinghe - Apche Axis2/C
"http://ws.apache.org/axis2/c/?Apache Axis2/C The Web Services Engine"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]