You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by virtan <vi...@virtan.com> on 2009/01/09 00:08:20 UTC
compiling Axis C++ on Darwin
The problems I've got compiling Axis C++ on Darwin.
1. It's difficult to find svn location of Axis C++
The link to "more recent version" of Axis C++ at http://ws.apache.org/axis/cpp/download.html
points to http://ws.apache.org/axis/cpp/axis/interim.html which gives
404.
SVN Repository page of Axis at http://ws.apache.org/axis/cvs.html
points to java version only.
To locate C/C++ path I had to investigate:
[virtan@king ~/tmp] svn ls http://svn.apache.org/repos/asf/webservices/axis/trunk/
svn co README
addons/
c/
contrib/
java/
proposals/
site/
[virtan@king ~/tmp] svn co http://svn.apache.org/repos/asf/webservices/axis/trunk/c
axis-c -q
[virtan@king ~/tmp]
2. No configure
After defining AXISCPP_HOME, AXISCPP_DEPLOY and LD_LIBRARY_PATH I
found no configure at the root of sources.
Just autogen.sh, so I have to have autotools installed.
3. Incomplete sources
Autogen.sh doesn't create Makefile.in templates because of lack of
tests and samples:
[virtan@king ~/tmp/axis-c] ./autogen.sh
run libtoolize.
You should add the contents of `/sw/share/aclocal/libtool.m4' to
`aclocal.m4'.
run aclocal.
run autoconf.
run autoheader.
run automake.
samples/server/Makefile.am:1: required directory samples/server/
interoptests does not exist
samples/server/Makefile.am:1: required directory samples/server/simple
does not exist
configure.ac:296: required file `src/transport/axis2/Makefile.in' not
found
configure.ac:296: required file `src/transport/axis2/ssl/Makefile.in'
not found
configure.ac:296: required file `src/transport/axis2/ipv6/Makefile.in'
not found
configure.ac:296: required file `samples/Makefile.in' not found
configure.ac:296: required file `samples/server/interoptests/
Makefile.in' not found
<many "not found" errors skipped>
configure.ac:296: required file `tests/Makefile.in' not found
configure.ac:296: required file `tests/unit_tests/Makefile.in' not found
<many "not found" errors skipped>
Here is only one method to pass this step: remove corresponded lines
from configure.ac
[virtan@king ~/tmp/axis-c] diff -u configure.ac.orig configure.ac | wc
-l
97
[virtan@king ~/tmp/axis-c] diff -u configure.ac.orig configure.ac |
grep "^-" -c
84
[virtan@king ~/tmp/axis-c] ls -l Makefile.in
-rw-r--r-- 1 virtan staff 21932 9 янв 02:05 Makefile.in
4. /* to be continued */
--
virtan / virtan@virtan.com / http://www.virtan.com
RE: compiling Axis C++ on Darwin
Posted by "McCullough, Ryan" <rm...@rightnow.com>.
The Axis C++ ant build requires ant-contrib & the cpptasks extension:
http://ant-contrib.sourceforge.net/cpptasks/index.html
-Ryan
-----Original Message-----
From: virtan [mailto:virtan@virtan.com]
Sent: Tuesday, February 10, 2009 2:31 PM
To: Apache AXIS C User List
Subject: Re: compiling Axis C++ on Darwin
On 09.01.2009, at 3:43, Nadir Amra wrote:
> We do not use autogen process to build the stuff. We use ant.
> That is
> more platform-ignostic.
Your INSTALL opposes you.
Where can I find instructions to build axis C++ with ant ?
"Just run" isn't working:
[virtan@king ~/Projects/***/axis] ant
Buildfile: build.xml
[taskdef] Could not load definitions from resource cpptasks.tasks.
It could not be found.
[typedef] Could not load definitions from resource cpptasks.types.
It could not be found.
[taskdef] Could not load definitions from resource net/sf/
antcontrib/antcontrib.properties. It could not be found.
BUILD FAILED
/Volumes/Projects/***/axis/build.xml:39: The following error occurred
while executing this line:
/Volumes/Projects/***/axis/build/buildInitialize.xml:43: Problem:
failed to create task or type compiler
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken
place.
Total time: 0 seconds
>
>
> Nadir Amra
>
>
> virtan <vi...@virtan.com> wrote on 01/08/2009 05:08:20 PM:
>
>> [image removed]
>>
>> compiling Axis C++ on Darwin
>>
>> virtan
>>
>> to:
>>
>> Apache AXIS C User List
>>
>> 01/08/2009 05:15 PM
>>
>> Please respond to "Apache AXIS C User List"
>>
>>
>> The problems I've got compiling Axis C++ on Darwin.
>>
>> 1. It's difficult to find svn location of Axis C++
>>
>> The link to "more recent version" of Axis C++ at http://
>> ws.apache.org/axis/cpp/download.html
>> points to http://ws.apache.org/axis/cpp/axis/interim.html which gives
>> 404.
>>
>> SVN Repository page of Axis at http://ws.apache.org/axis/cvs.html
>> points to java version only.
>> To locate C/C++ path I had to investigate:
>> [virtan@king ~/tmp] svn ls http://svn.apache.org/repos/asf/
>> webservices/axis/trunk/
>> svn co README
>> addons/
>> c/
>> contrib/
>> java/
>> proposals/
>> site/
>> [virtan@king ~/tmp] svn co http://svn.apache.org/repos/asf/
>> webservices/axis/trunk/c
>> axis-c -q
>> [virtan@king ~/tmp]
>>
>> 2. No configure
>>
>> After defining AXISCPP_HOME, AXISCPP_DEPLOY and LD_LIBRARY_PATH I
>> found no configure at the root of sources.
>> Just autogen.sh, so I have to have autotools installed.
>>
>> 3. Incomplete sources
>>
>> Autogen.sh doesn't create Makefile.in templates because of lack of
>> tests and samples:
>> [virtan@king ~/tmp/axis-c] ./autogen.sh
>> run libtoolize.
>> You should add the contents of `/sw/share/aclocal/libtool.m4' to
>> `aclocal.m4'.
>> run aclocal.
>> run autoconf.
>> run autoheader.
>> run automake.
>> samples/server/Makefile.am:1: required directory samples/server/
>> interoptests does not exist
>> samples/server/Makefile.am:1: required directory samples/server/
>> simple
>> does not exist
>> configure.ac:296: required file `src/transport/axis2/Makefile.in' not
>> found
>> configure.ac:296: required file `src/transport/axis2/ssl/Makefile.in'
>> not found
>> configure.ac:296: required file `src/transport/axis2/ipv6/
>> Makefile.in'
>> not found
>> configure.ac:296: required file `samples/Makefile.in' not found
>> configure.ac:296: required file `samples/server/interoptests/
>> Makefile.in' not found
>> <many "not found" errors skipped>
>> configure.ac:296: required file `tests/Makefile.in' not found
>> configure.ac:296: required file `tests/unit_tests/Makefile.in' not
>> found
>> <many "not found" errors skipped>
>>
>> Here is only one method to pass this step: remove corresponded lines
>> from configure.ac
>>
>> [virtan@king ~/tmp/axis-c] diff -u configure.ac.orig configure.ac |
>> wc
>> -l
>> 97
>> [virtan@king ~/tmp/axis-c] diff -u configure.ac.orig configure.ac |
>> grep "^-" -c
>> 84
>> [virtan@king ~/tmp/axis-c] ls -l Makefile.in
>> -rw-r--r-- 1 virtan staff 21932 9 янв 02:05 Makefile.in
>>
>> 4. /* to be continued */
>>
>> --
>> virtan / virtan@virtan.com / http://www.virtan.com
>>
>
--
virtan / virtan@virtan.com / http://www.virtan.com
Re: compiling Axis C++ on Darwin
Posted by virtan <vi...@virtan.com>.
On 09.01.2009, at 3:43, Nadir Amra wrote:
> We do not use autogen process to build the stuff. We use ant.
> That is
> more platform-ignostic.
Your INSTALL opposes you.
Where can I find instructions to build axis C++ with ant ?
"Just run" isn't working:
[virtan@king ~/Projects/***/axis] ant
Buildfile: build.xml
[taskdef] Could not load definitions from resource cpptasks.tasks.
It could not be found.
[typedef] Could not load definitions from resource cpptasks.types.
It could not be found.
[taskdef] Could not load definitions from resource net/sf/
antcontrib/antcontrib.properties. It could not be found.
BUILD FAILED
/Volumes/Projects/***/axis/build.xml:39: The following error occurred
while executing this line:
/Volumes/Projects/***/axis/build/buildInitialize.xml:43: Problem:
failed to create task or type compiler
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken
place.
Total time: 0 seconds
>
>
> Nadir Amra
>
>
> virtan <vi...@virtan.com> wrote on 01/08/2009 05:08:20 PM:
>
>> [image removed]
>>
>> compiling Axis C++ on Darwin
>>
>> virtan
>>
>> to:
>>
>> Apache AXIS C User List
>>
>> 01/08/2009 05:15 PM
>>
>> Please respond to "Apache AXIS C User List"
>>
>>
>> The problems I've got compiling Axis C++ on Darwin.
>>
>> 1. It's difficult to find svn location of Axis C++
>>
>> The link to "more recent version" of Axis C++ at http://
>> ws.apache.org/axis/cpp/download.html
>> points to http://ws.apache.org/axis/cpp/axis/interim.html which gives
>> 404.
>>
>> SVN Repository page of Axis at http://ws.apache.org/axis/cvs.html
>> points to java version only.
>> To locate C/C++ path I had to investigate:
>> [virtan@king ~/tmp] svn ls http://svn.apache.org/repos/asf/
>> webservices/axis/trunk/
>> svn co README
>> addons/
>> c/
>> contrib/
>> java/
>> proposals/
>> site/
>> [virtan@king ~/tmp] svn co http://svn.apache.org/repos/asf/
>> webservices/axis/trunk/c
>> axis-c -q
>> [virtan@king ~/tmp]
>>
>> 2. No configure
>>
>> After defining AXISCPP_HOME, AXISCPP_DEPLOY and LD_LIBRARY_PATH I
>> found no configure at the root of sources.
>> Just autogen.sh, so I have to have autotools installed.
>>
>> 3. Incomplete sources
>>
>> Autogen.sh doesn't create Makefile.in templates because of lack of
>> tests and samples:
>> [virtan@king ~/tmp/axis-c] ./autogen.sh
>> run libtoolize.
>> You should add the contents of `/sw/share/aclocal/libtool.m4' to
>> `aclocal.m4'.
>> run aclocal.
>> run autoconf.
>> run autoheader.
>> run automake.
>> samples/server/Makefile.am:1: required directory samples/server/
>> interoptests does not exist
>> samples/server/Makefile.am:1: required directory samples/server/
>> simple
>> does not exist
>> configure.ac:296: required file `src/transport/axis2/Makefile.in' not
>> found
>> configure.ac:296: required file `src/transport/axis2/ssl/Makefile.in'
>> not found
>> configure.ac:296: required file `src/transport/axis2/ipv6/
>> Makefile.in'
>> not found
>> configure.ac:296: required file `samples/Makefile.in' not found
>> configure.ac:296: required file `samples/server/interoptests/
>> Makefile.in' not found
>> <many "not found" errors skipped>
>> configure.ac:296: required file `tests/Makefile.in' not found
>> configure.ac:296: required file `tests/unit_tests/Makefile.in' not
>> found
>> <many "not found" errors skipped>
>>
>> Here is only one method to pass this step: remove corresponded lines
>> from configure.ac
>>
>> [virtan@king ~/tmp/axis-c] diff -u configure.ac.orig configure.ac |
>> wc
>> -l
>> 97
>> [virtan@king ~/tmp/axis-c] diff -u configure.ac.orig configure.ac |
>> grep "^-" -c
>> 84
>> [virtan@king ~/tmp/axis-c] ls -l Makefile.in
>> -rw-r--r-- 1 virtan staff 21932 9 янв 02:05 Makefile.in
>>
>> 4. /* to be continued */
>>
>> --
>> virtan / virtan@virtan.com / http://www.virtan.com
>>
>
--
virtan / virtan@virtan.com / http://www.virtan.com
Re: compiling Axis C++ on Darwin
Posted by Nadir Amra <am...@us.ibm.com>.
We do not use autogen process to build the stuff. We use ant. That is
more platform-ignostic.
Nadir Amra
virtan <vi...@virtan.com> wrote on 01/08/2009 05:08:20 PM:
> [image removed]
>
> compiling Axis C++ on Darwin
>
> virtan
>
> to:
>
> Apache AXIS C User List
>
> 01/08/2009 05:15 PM
>
> Please respond to "Apache AXIS C User List"
>
>
> The problems I've got compiling Axis C++ on Darwin.
>
> 1. It's difficult to find svn location of Axis C++
>
> The link to "more recent version" of Axis C++ at http://
> ws.apache.org/axis/cpp/download.html
> points to http://ws.apache.org/axis/cpp/axis/interim.html which gives
> 404.
>
> SVN Repository page of Axis at http://ws.apache.org/axis/cvs.html
> points to java version only.
> To locate C/C++ path I had to investigate:
> [virtan@king ~/tmp] svn ls http://svn.apache.org/repos/asf/
> webservices/axis/trunk/
> svn co README
> addons/
> c/
> contrib/
> java/
> proposals/
> site/
> [virtan@king ~/tmp] svn co http://svn.apache.org/repos/asf/
> webservices/axis/trunk/c
> axis-c -q
> [virtan@king ~/tmp]
>
> 2. No configure
>
> After defining AXISCPP_HOME, AXISCPP_DEPLOY and LD_LIBRARY_PATH I
> found no configure at the root of sources.
> Just autogen.sh, so I have to have autotools installed.
>
> 3. Incomplete sources
>
> Autogen.sh doesn't create Makefile.in templates because of lack of
> tests and samples:
> [virtan@king ~/tmp/axis-c] ./autogen.sh
> run libtoolize.
> You should add the contents of `/sw/share/aclocal/libtool.m4' to
> `aclocal.m4'.
> run aclocal.
> run autoconf.
> run autoheader.
> run automake.
> samples/server/Makefile.am:1: required directory samples/server/
> interoptests does not exist
> samples/server/Makefile.am:1: required directory samples/server/simple
> does not exist
> configure.ac:296: required file `src/transport/axis2/Makefile.in' not
> found
> configure.ac:296: required file `src/transport/axis2/ssl/Makefile.in'
> not found
> configure.ac:296: required file `src/transport/axis2/ipv6/Makefile.in'
> not found
> configure.ac:296: required file `samples/Makefile.in' not found
> configure.ac:296: required file `samples/server/interoptests/
> Makefile.in' not found
> <many "not found" errors skipped>
> configure.ac:296: required file `tests/Makefile.in' not found
> configure.ac:296: required file `tests/unit_tests/Makefile.in' not found
> <many "not found" errors skipped>
>
> Here is only one method to pass this step: remove corresponded lines
> from configure.ac
>
> [virtan@king ~/tmp/axis-c] diff -u configure.ac.orig configure.ac | wc
> -l
> 97
> [virtan@king ~/tmp/axis-c] diff -u configure.ac.orig configure.ac |
> grep "^-" -c
> 84
> [virtan@king ~/tmp/axis-c] ls -l Makefile.in
> -rw-r--r-- 1 virtan staff 21932 9 янв 02:05 Makefile.in
>
> 4. /* to be continued */
>
> --
> virtan / virtan@virtan.com / http://www.virtan.com
>