Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 21149 invoked from network); 22 Jul 2004 10:01:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Jul 2004 10:01:55 -0000 Received: (qmail 36008 invoked by uid 500); 22 Jul 2004 10:01:55 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 35799 invoked by uid 500); 22 Jul 2004 10:01:53 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 35771 invoked by uid 99); 22 Jul 2004 10:01:53 -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.151] (HELO web40614.mail.yahoo.com) (66.218.78.151) by apache.org (qpsmtpd/0.27.1) with SMTP; Thu, 22 Jul 2004 03:01:50 -0700 Message-ID: <20040722100149.88018.qmail@web40614.mail.yahoo.com> Received: from [129.34.20.19] by web40614.mail.yahoo.com via HTTP; Thu, 22 Jul 2004 03:01:49 PDT Date: Thu, 22 Jul 2004 03:01:49 -0700 (PDT) From: Samisa Abeysinghe Subject: Re: Axis C++ build in Linux is now very simple To: Apache AXIS C Developers List , Apache AXIS C User List In-Reply-To: <20040722095314.96308.qmail@web40612.mail.yahoo.com> 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, I got some problems in the build process for the server side (when linking apache2 module). Client side was building fine. I am using Redhat Linux 9.0. libtool: install: warning: relinking `libaxiscpp_mod2.la' (cd /home/samisa/autoCVS/cvsAutoBuild/src/server/apache2; /bin/sh ../../../libtool --mode=relink g++ -g -O2 -s -lstdc++ -o libaxiscpp_mod2.la -rpath /home/samisa/autoCVS/cvsAutoBuild/deploy/lib mod_axis2.lo Apache2Transport.lo -s -lstdc++ -L/home/samisa/autoCVS/cvsAutoBuild/src/engine/server -lserver_engine -ldl ) mv: can't stat source libaxiscpp_mod2.so.0.0.0 libtool: install: error: relink `libaxiscpp_mod2.la' with the above command before installing it make[4]: *** [install-libLTLIBRARIES] Error 1 When I looked in the folders I saw that libserver_engine.so was in /home/samisa/autoCVS/cvsAutoBuild/src/engine/server/.libs. However in the build process it is using -L/home/samisa/autoCVS/cvsAutoBuild/src/engine/server (see in the above message) Any clues please. Thanks, Samisa... --- Samisa Abeysinghe wrote: > Damitha, > I think libwww trasport need to be incoporated to this build process. > 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/ > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail