axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From virtan <vir...@virtan.com>
Subject compiling Axis C++ on Darwin
Date Thu, 08 Jan 2009 23:08:20 GMT

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


Mime
View raw message