axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjiva Weerawarana" <sanj...@opensource.lk>
Subject Re: Axis C++ build in Linux is now very simple
Date Thu, 22 Jul 2004 17:54:06 GMT
This is indeed a great simplification .. cool.

How about folding the flags and the environment vars together? That
is, rather than having to set the location of Xerces-C for example
and then saying --enable-xercesc=yes, how about saying
    --xercesc=location_of_xercesc
and then looking for the first available flag of --xercesc or --expat.
That avoids having to set the environment vars and then turn it on
using a flag.

Sanjiva.

----- Original Message ----- 
From: "damitha kumarage" <damitha@opensource.lk>
To: <axis-c-dev@ws.apache.org>; <axis-c-user@ws.apache.org>
Sent: Thursday, July 22, 2004 12:50 PM
Subject: Axis C++ build in Linux is now very simple


> Hi,
>
> I have done necessary changes to make the Axis C++ build in Linux simple
> Basically you need to do only following
>
> I assume you install as root user
>
> You need to set some environment variables
>
> AXISCPP_HOME - where you build axis c++. eg: /usr/local/axiscpp
>
> AXISCPP_DEPLOY - where you will install the binary
>                  eg: /usr/local/axiscpp_deploy
>
> APACHE2_HOME -if you need apache2 as server transport
>               eg: /usr/local/apache2
>
> APACHE_HOME - if you need apache 1 as server transport
>             - eg: /usr/local/apache
>
> EXPAT_HOME - if you use expat as the parser
>              eg: /usr/local/expat1957
>
> XERCESC_HOME - if you use xercesc as the parser
>                eg: /usr/local/xercesc
>
>
> Now cd $AXISCPP_HOME
>
> edit build.sh
>
> -------------------------------------
> ...
> ...
> ./configure --prefix=$AXISCPP_DEPLOY \
>     --libdir=$AXISCPP_DEPLOY/lib \
>     --bindir=$AXISCPP_DEPLOY/bin \
>     --enable-apache2=yes \
>     --enable-apache=no \
>     --enable-expat=yes \
>     --enable-xercesc=no \
>     --enable-samples=yes \
>     --enable-testcases=yes
>
> ...
> --------------------------------------
> Following are the explanation of these options
>
> --libdir : Where libraries are installed. All Axis C++ libraries,
>            sample libraries and testcase service
>            libraries are installed here
> --bindir : All the client sample binaries are installed here
>
> --enable-apache2 : To use apache2 as server transport library
>
> --enable-apache : To use apache as server transport library
>
> --enable-expat : To build expat parser library
>
> --enable-xercesc : To build xercesc parser library
>
> --enable-samples : Whether you need to build samples(server and client)
>
> --enable-testcases : Wthether you need to build testcases
>
>
> Now
> sh build.sh
>
> This should build all as you specified in configure and install it
> in /usr/local/axiscpp_deploy(your prefix option)
>
> To deploy and run
>
> cd /usr/local/axiscpp_deploy
>
> sh deploy_apache2.sh
>
> cd bin
>
> to run the interoptest samples
> eg:
>
> ./base localhost 80
>
>
> For further information see $AXISCPP_HOME/INSTALL
>
> thanks
> damitha
>
>


Mime
View raw message