You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by da...@apache.org on 2004/04/21 14:07:35 UTC

cvs commit: ws-site/targets/axis/cpp lininstall-guide.html

damitha     2004/04/21 05:07:35

  Modified:    targets/axis/cpp lininstall-guide.html
  Log:
  
  
  Revision  Changes    Path
  1.8       +47 -28    ws-site/targets/axis/cpp/lininstall-guide.html
  
  Index: lininstall-guide.html
  ===================================================================
  RCS file: /home/cvs/ws-site/targets/axis/cpp/lininstall-guide.html,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- lininstall-guide.html	16 Apr 2004 16:29:50 -0000	1.7
  +++ lininstall-guide.html	21 Apr 2004 12:07:35 -0000	1.8
  @@ -334,12 +334,13 @@
   <p>
   <strong>Downloading the source or binary from the mirror site and setting the environment variables</strong>
   </p>
  -<p>You can download the Axis C++ source or binary from one of the apache mirror sites <a href="http://ws.apache.org/axis/cpp/download.html">http://ws.apache.org/axis/cpp/download.html</a>
  +<p>You can download the Axis C++ source or binary from one of the apache mirror sites<a href="http://ws.apache.org/axis/cpp/download.html">http://ws.apache.org/axis/cpp/download.html</a>
   </p>
  -<p>Your downloaded distribution is axis-c-src-1_1-linux.tar.gz. After you extracting it for example as, <strong>/home/axisuser/projects/axis-c-src-1_1-linux</strong> you can rename it as <strong>axis_c</strong>
  +<p>Your downloaded source distribution is <strong>axis-c-src-1-1-linux.tar.gz</strong>.<br> Binary distribution is <strong>axis-c-1-1-linux.tar.gz.</strong>
  +<br>After you extracting it as, <strong>/home/axisuser/projects/</strong> <strong>axis-c-src-1-1-linux</strong> or <strong>/home/axisuser/projects/</strong> <strong>axis-c-1-1-linux</strong> you can rename it as <strong>axis_c</strong>
   </p>
   <p>You have to set the environment variable $AXISCPP_HOME to the directory where you extracted the tar ball.. We further assume that the user dose the installation and has the linux user account axisuser. For example I have my &lt;AXISCPP_HOME&gt; as following.</p>
  -<p>/home/axisuser/projects</p>
  +<p>/home/axisuser/projects/axis_c</p>
   <p>
   <a name="Installing"></a>
   </p>
  @@ -357,7 +358,7 @@
   </div>
   <p>You can get expat from the uri <a href="http://www.xml.apache.org/xerces-c/download.cgi">http://www.xml.apache.org/xerces-c/download.cgi</a>
   <br>
  -<br> You have to follow the the expat installation giude to install it.<br>
  +<br>You have to follow the the expat installation giude to install it.<br>
   <br>
   </p>
   <p>
  @@ -428,62 +429,69 @@
   </p>
   <p>The Folder called deploy in the $AXISCPP_HOME/ should be copied to apache root folder .Rename the deploy folder as "Axis" . Give all permissions to this folder.<br>
   <br>
  -<br> 
  +<br>
   <strong>$ cp -rf $AXISCPP_HOME/deploy&nbsp; /usr/local/apache</strong>
   <br>
  -<br> 
  +<br>
   <strong>$ cd /usr/local/apache</strong>
   <br>
  -<br> 
  +<br>
   <strong>$ mv deploy Axis</strong>
   <br>
  -<br> 
  +<br>
   <strong>$ chmod -R 777 Axis</strong>
   <br>
   <br>
  -<br> Now set the environment variable <strong>AXIS_HOME</strong> pointing to this directory.<br>
  -<br> 
  +<br>Now set the environment variable <strong>AXIS_HOME</strong> pointing to this directory.<br>
  +<br>
   <strong>AXIS_HOME="/usr/local/apache/Axis"</strong>
   <br>
   </p>
  +<p>You also need to rename the following files<br>
  +<strong>mv $AXIS_HOME/axiscpp.conf_linux $AXIS_HOME/axiscpp.conf</strong>
  +<br>
  +<strong>mv $AXIS_HOME/conf/server.wsdd_linux $AXIS_HOME/conf/server.wsdd</strong>
  +<br>
  +<strong>mv $AXIS_HOME/conf/client.wsdd_linux $AXIS_HOME/conf/client.wsdd</strong>
  +</p>
   <p>If you are using expat parser do the following<br>
   </p>
   <p>set <strong>EXPAT_HOME</strong>="&lt;Your expat installation root folder&gt;"</p>
   <p>set <strong>LD_LIBRARY_PATH="$EXPAT_HOME/lib:AXISCPP_HOME/bin"</strong> (do this in your .bash_profile)<br>
   <br>
  -<br> 
  +<br>
   <strong>cd $AXISCPP_HOME/src/soap</strong>
   <br>
  -<br> 
  +<br>
   <strong>cp -f Makefile.am_expat Makefile.am</strong>
   <br> 
   <strong>cd $AXISCPP_HOME/src/wsdd</strong>
  -<br> 
  +<br>
   <strong>cp -f Makefile.am_expat Makefile.am</strong>
   </p>
   <p>If you are using Xerces-c parser do the following</p>
   <p>set <strong>XERCES_HOME</strong>="&lt;Your xercesc installation root folder&gt;"</p>
   <p>set <strong>LD_LIBRARY_PATH="$XERCESC_HOME/lib"</strong> (do this in your .bash_profile)<br>
  -<br> 
  +<br>
   <strong>cp -rf $XERCESC_HOME/include/xercesc/* $AXISCPP_HOME/include/xercesc/</strong>
   <br>
  -<br> 
  +<br>
   <strong>cd $AXISCPP_HOME/src/soap</strong>
  -<br> 
  +<br>
   <strong>cp -f Makefile.am_xercesc Makefile.am</strong>
   <br>
  -<br> 
  +<br>
   <strong>cd $AXISCPP_HOME/src/wsdd</strong>
  -<br> 
  +<br>
   <strong>cp -f Makefile.am_xercesc Makefile.am</strong>
   </p>
   <p>in $AXISCPP_HOME/configure.ac comment expat related things and uncomment xercesc related things as described in it.<br>
  -<br> 
  +<br>
   <strong>for samples</strong>
   <br>
   <br>
   </p>
  -<p>in $AXISCPP_HOME/samples/client/configure.ac comment expat related things and uncomment xercesc related<br> things as described in it.<br>
  +<p>in $AXISCPP_HOME/samples/client/configure.ac comment expat related things and uncomment xercesc related<br>things as described in it.<br>
   <br>
   </p>
   <p>To Build from the Axis C++ source execute these.</p>
  @@ -506,13 +514,13 @@
   </p>
   <p>
   <strong>OR</strong> Run the build.sh as follows<br>
  -<br> 
  +<br>
   <strong>sh build.sh</strong>
   <br>
   <br>
   </p>
   <p>libaxiscpp_mod.so (If you built for apache2 this is libaxiscpp_mod2.so) should have been created in $AXISCPP_HOME/bin directory. Note:- you can give the install path inside the runconfigure script.</p>
  -<p>Now there is no need to seperately build client side and server side. When execute build.sh it will lookafter everything.<br> -----------------------------------------------------------------------</p>
  +<p>Now there is no need to seperately build client side and server side. When execute build.sh it will lookafter everything.<br>-----------------------------------------------------------------------</p>
   <p>
   <strong>NOTE:</strong> If you use apache2.0 following two small changes has to be done in $AXISCPP_HOME/configure.ac and $AXISCPP_HOME/src/server/Makefile.am)</p>
   <p>in $AXISCPP_HOME/configure.ac</p>
  @@ -525,9 +533,9 @@
   <strong>#AC_OUTPUT(Makefile src/Makefile src/common/Makefile src/engine/Makefile src/soap/Makefile src/wsdd/Makefile src/xml/Makefile src/server/Makefile src/server/apache2/Makefile)</strong>
   </p>
   <p>in $AXISCPP_HOME/src/server/Makefile.am</p>
  -<p>change SUBDIRS = apache to SUBDIRS = apache2<br> ------------------------------------------------------------------------------<br>
  +<p>change SUBDIRS = apache to SUBDIRS = apache2<br>------------------------------------------------------------------------------<br>
   <br>
  -<br> Then to deploy it on apache<br>
  +<br>Then to deploy it on apache<br>
   <br>
   </p>
   <p>First you need to edit /usr/local/apache/conf/httpd.conf</p>
  @@ -552,7 +560,8 @@
   <strong>cd /usr/local/apache/libexec (If apache2 /usr/local/apache2/modules)</strong>
   </p>
   <p>
  -<strong>cp -f $AXIS_HOME/deploy.sh_apache &nbsp;./deploy.sh</strong>
  +<strong>cp -f $AXIS_HOME/deploy.sh_apache ./deploy.sh</strong>
  +<br>(if apache2) <strong>cp -f $AXIS_HOME/deploy.sh_apache2 ./deploy.sh</strong>
   </p>
   <p>
   <strong>sh deploy.sh</strong>
  @@ -605,16 +614,23 @@
   <strong>$ chmod -R 777 Axis</strong>
   <br>
   <br>
  -<br> Now set the environment variable <strong>AXIS_HOME</strong> pointing to this directory.<br>
  +<br>Now set the environment variable <strong>AXIS_HOME</strong> pointing to this directory.<br>
   <br>
   <strong>AXIS_HOME="/usr/local/apache/Axis"</strong>
   </p>
  +<p>You also need to rename the following files<br>
  +<strong>mv $AXIS_HOME/axiscpp.conf_linux $AXIS_HOME/axiscpp.conf</strong>
  +<br>
  +<strong>mv $AXIS_HOME/conf/server.wsdd_linux $AXIS_HOME/conf/server.wsdd</strong>
  +<br>
  +<strong>mv $AXIS_HOME/conf/client.wsdd_linux $AXIS_HOME/conf/client.wsdd</strong>
  +</p>
   <p>
   <br>-----------------------------------------------------------------------</p>
   <p>
  -<strong>NOTE:&nbsp;</strong> Binary distribution is built to work with expat parser. If you need xerces parser you need to build<br>from the source.<br> ------------------------------------------------------------------------------<br>
  +<strong>NOTE:&nbsp;</strong> Binary distribution is built to work with expat parser. If you need xerces parser you need to build<br>from the source.<br>------------------------------------------------------------------------------<br>
   <br>
  -<br> Then to deploy it on apache<br>
  +<br>Then to deploy it on apache<br>
   <br>
   </p>
   <p>First you need to edit /usr/local/apache/conf/httpd.conf</p>
  @@ -640,6 +656,8 @@
   </p>
   <p>
   <strong>cp -f $AXIS_HOME/deploy.sh_apache &nbsp;./deploy.sh</strong>
  +<br>
  +<strong>(if apache2) cp -f $AXIS_HOME/deploy.sh_apache2 ./deploy.sh</strong>
   </p>
   <p>
   <strong>sh deploy.sh</strong>
  @@ -648,6 +666,7 @@
   <p>deploy.sh is a script which copies files to neccessary places and start apache.<br>
   <br>
   </p>
  +<p></p>
   <p>
   <br>
   </p>