Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 92164 invoked from network); 22 Jul 2004 09:14:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Jul 2004 09:14:33 -0000 Received: (qmail 37957 invoked by uid 500); 22 Jul 2004 09:14:33 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 37862 invoked by uid 500); 22 Jul 2004 09:14:32 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 37837 invoked by uid 99); 22 Jul 2004 09:14:32 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [66.218.78.138] (HELO web40601.mail.yahoo.com) (66.218.78.138) by apache.org (qpsmtpd/0.27.1) with SMTP; Thu, 22 Jul 2004 02:14:29 -0700 Message-ID: <20040722091428.69998.qmail@web40601.mail.yahoo.com> Received: from [129.34.20.19] by web40601.mail.yahoo.com via HTTP; Thu, 22 Jul 2004 02:14:27 PDT Date: Thu, 22 Jul 2004 02:14:27 -0700 (PDT) From: Samisa Abeysinghe Subject: Re: Axis C++ build in Linux is now very simple To: Apache AXIS C User List , axis-c-dev@ws.apache.org In-Reply-To: <1090479019.13982.16.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Damitha, Great job. I have a question. I notice that the use of AXIS_HOME environment variable has been changed to AXISCPP_DEPLOY (in src/common/AxisConfig.cpp: sConfPath = getenv ("AXISCPP_DEPLOY");) What was the rationale? (to enable both Axis Java and Axis C++ on the same system?) Thanks, Samisa... --- damitha kumarage wrote: > 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 > > __________________________________ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/