axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nshif...@worldbank.org
Subject Re: Building Axis2C on Solaris 64-bit
Date Mon, 29 Apr 2013 14:28:37 GMT
<html><body>
<p><font size="2" face="sans-serif">Hi Ramesh, Alex,</font><br>
<font size="2" face="sans-serif">Thanks for your replies. </font><br>
<br>
<font size="2" face="sans-serif">Ramesh,</font><br>
<font size="2" face="sans-serif">I have compiled the same source successfully in 32-bit,
with Sun Studio 11 before.</font><br>
<font size="2" face="sans-serif">Then, before attempting the build on 64-bit with Studio
12, I had added -m64 to CFLAGS (your step #4) in configure script, but </font><font
size="2" face="sans-serif"><u>after </u></font><font size="2" face="sans-serif">&nbsp;-g
flag, and some directories compiled fine. </font><br>
<font size="2" face="sans-serif">With others, I had a few errors. &nbsp;I have a
feeling the errors may be related to differences in Studio 11 and Studio 12 compilers. </font><br>
<font size="2" face="sans-serif">Also, I have not ran configure script with </font><font
size="2" face="Arial">LIBS=&quot;-lsocket&quot;</font><font size="2" face="sans-serif">.
&nbsp;Why do we need to do this?</font><br>
<br>
<font size="2" face="sans-serif">I will try to change configure and run it the way you
did, and see if it makes a difference.</font><br>
<br>
<font size="2" face="sans-serif">Thanks again.</font><br>
<br>
<img width="16" height="16" src="cid:0__=0ABBF1CFDFDECF208f9e8a93df@worldbank.org" border="0"
alt="Inactive hide details for ramesh Gopal ---04/26/2013 03:12:53 AM---I had done this sometime
back, I created a document for myse"><font size="2" color="#424282">ramesh Gopal
---04/26/2013 03:12:53 AM---I had done this sometime back, I created a document for myself,
hope you find it useful. COMPILING A</font><br>
<br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:1__=0ABBF1CFDFDECF208f9e8a93df@worldbank.org"
border="0" alt=""><br>

<ul style="padding-left: 4pt"><font size="2" color="#5F5F5F" face="Arial">From:</font></ul>
</td><td width="100%"><img width="1" height="1" src="cid:1__=0ABBF1CFDFDECF208f9e8a93df@worldbank.org"
border="0" alt=""><br>
<font size="2" face="Arial">ramesh Gopal &lt;fatuzorin2001@yahoo.com&gt;</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:1__=0ABBF1CFDFDECF208f9e8a93df@worldbank.org"
border="0" alt=""><br>

<ul style="padding-left: 4pt"><font size="2" color="#5F5F5F" face="Arial">To:</font></ul>
</td><td width="100%"><img width="1" height="1" src="cid:1__=0ABBF1CFDFDECF208f9e8a93df@worldbank.org"
border="0" alt=""><br>
<font size="2" face="Arial">Apache AXIS C User List &lt;c-user@axis.apache.org&gt;</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:1__=0ABBF1CFDFDECF208f9e8a93df@worldbank.org"
border="0" alt=""><br>

<ul style="padding-left: 4pt"><font size="2" color="#5F5F5F" face="Arial">Date:</font></ul>
</td><td width="100%"><img width="1" height="1" src="cid:1__=0ABBF1CFDFDECF208f9e8a93df@worldbank.org"
border="0" alt=""><br>
<font size="2" face="Arial">04/26/2013 03:12 AM</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:1__=0ABBF1CFDFDECF208f9e8a93df@worldbank.org"
border="0" alt=""><br>

<ul style="padding-left: 4pt"><font size="2" color="#5F5F5F" face="Arial">Subject:</font></ul>
</td><td width="100%"><img width="1" height="1" src="cid:1__=0ABBF1CFDFDECF208f9e8a93df@worldbank.org"
border="0" alt=""><br>
<font size="2" face="Arial">Re: Building Axis2C on Solaris 64-bit</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:1__=0ABBF1CFDFDECF208f9e8a93df@worldbank.org"
border="0" alt=""><br>
</td><td width="100%"><img width="1" height="1" src="cid:1__=0ABBF1CFDFDECF208f9e8a93df@worldbank.org"
border="0" alt=""><br>
<font size="2" color="#0000FF" face="Arial">&nbsp; &nbsp;</font><font
size="2" color="#0000FF" face="Arial">&nbsp; &nbsp;</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:1__=0ABBF1CFDFDECF208f9e8a93df@worldbank.org"
border="0" alt=""><br>
</td><td width="100%"><img width="1" height="1" src="cid:1__=0ABBF1CFDFDECF208f9e8a93df@worldbank.org"
border="0" alt=""><br>
</td></tr>
</table>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="2" face="Arial"><br>
I had done this sometime back, I created a document for myself, hope you find it useful.<br>
<br>
COMPILING AXIS2C ON Solaris 5.10 - 64 bit<br>
----------------------------------------------------------<br>
<br>
1) Copy the tar file to your directory<br>
<br>
 &nbsp; &nbsp;For example:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;cp axis2c-src-1.5.0.tar /work/myfolder<br>
<br>
2) Go to your directory and extract the tar file (axis2c-src-1.5.0.tar) &nbsp;which has
the axis2c source<br>
 &nbsp; &nbsp;cd /path_to_your_directory<br>
 &nbsp; &nbsp;tar -xvf axis2c-src-1.5.0.tar<br>
<br>
 &nbsp; &nbsp;This will extract the source inside axis2c-src-1.5.0 (in the current
directory,i.e,myfolder)<br>
<br>
3) Create a directory and set this directory as AXIS2C_HOME<br>
<br>
 &nbsp; &nbsp;For example:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;mkdir /work/myfolder/AXIS2C<br>
 &nbsp; &nbsp; &nbsp; &nbsp;setenv AXIS2C_HOME /work/myfolder/AXIS2C<br>
<br>
4) Go to the source directory(axis2c-src-1.5.0).<br>
 &nbsp; &nbsp;cd /your_path_to_axis2c_source<br>
<br>
 &nbsp; &nbsp;Add -m64 to CFLAGS before -g in the configure script in the axis2/c
source.<br>
<br>
 &nbsp; &nbsp;Make the same changes to the configure script in the following directories:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;a) axis2c-src-1.5.0/axiom<br>
 &nbsp; &nbsp; &nbsp; &nbsp;b) axis2c-src-1.5.0/guththila<br>
 &nbsp; &nbsp; &nbsp; &nbsp;c) axis2c-src-1.5.0/neethi<br>
 &nbsp; &nbsp; &nbsp; &nbsp;d) axis2c-src-1.5.0/samples<br>
 &nbsp; &nbsp; &nbsp; &nbsp;e) axis2c-src-1.5.0/util<br>
</font><br>
<font size="2" face="Arial">5) Run configure as follows<br>
 &nbsp; &nbsp; &nbsp; &nbsp;./configure &nbsp;LIBS=&quot;-lsocket&quot;
&nbsp;--prefix=${AXIS2C_HOME}</font><br>
<br>
<font size="2" face="Arial">6) Run 'make' from the source directory (axis2c-src-1.5.0)</font><br>
<br>
<font size="2" face="Arial">7) To install the binaries, run 'make install' from the
source directory (axis2c-src-1.5.0)</font><br>
<br>
<font size="2" face="Arial">&nbsp; &nbsp; For example:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;make install<br>
<br>
 &nbsp; &nbsp; &nbsp; This step installs the axis2c binaries in ${AXIS2C_HOME}</font><br>
<br>
<font size="2" face="Arial">COMPILING THE SAMPLES<br>
--------------------------------------<br>
<br>
1) Go to the samples directory inside the source directory (axis2c-src-1.5.0)<br>
<br>
 &nbsp; &nbsp;cd samples</font><br>
<br>
<font size="2" face="Arial">&nbsp; &nbsp; set LD_LIBRARY_PATH as follows:</font><br>
<font size="2" face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; setenv LD_LIBRARY_PATH
/usr/local/lib/sparcv9:${AXIS2C_HOME}/lib<br>
<br>
2) Run the configure script inside the samples directory as follows<br>
 &nbsp; &nbsp; &nbsp; &nbsp;./configure --prefix=${AXIS2C_HOME} --with-axis2=${AXIS2C_HOME}/include/<br>
axis2-1.5.0<br>
<br>
3) Run make (inside the samples directory). This will compile the samples</font><br>
<br>
<font size="2" face="Arial">&nbsp; &nbsp; For example:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;make</font><br>
<br>
<font size="2" face="Arial">4) Run make install which installs the samples inside $AXIS2C_HOME/bin/samples/
directory.<br>
<br>
 &nbsp; &nbsp;For example:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;make install</font><br>
<br>
<br>
<font size="2" face="Arial">RUNNING THE AXIS2C SERVER<br>
--------------------------------------------</font><br>
<br>
<font size="2" face="Arial">1) Set the LD_LIBRARY_PATH as follows<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Set LD_LIBRARY_PATH to /usr/local/lib:${AXIS2C_HOME}/lib<br>
<br>
2) Go to ${AXIS2C_HOME}/bin<br>
<br>
 &nbsp; &nbsp; cd ${AXIS2C_HOME}/bin<br>
<br>
 &nbsp; &nbsp;Start the server as follows<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;./axis2_http_server</font><br>
<br>
<font size="2" face="Arial">&nbsp; &nbsp; You should see the message<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Started Simple
Axis2 HTTP Server...<br>
<br>
3) Running the samples(to be run in a new shell)<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Set the LD_LIBRARY_PATH as follows<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Set LD_LIBRARY_PATH to /usr/local/lib:${AXIS2C_HOME}/lib<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Go to ${AXIS2C_HOME}/bin/samples<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;cd ${AXIS2C_HOME}/bin/samples<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;When the server is up and running, run the sample
clients in a new shell as follows</font><br>
<br>
<font size="2" face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;./echo<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; This will invoke echo service.<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; ./math<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; This will invoke math service.</font><br>
<br>
<br>
<font size="2" face="Arial">Hope this helps ....</font><br>
<br>
<font size="2" face="Arial">Ramesh.</font><br>
<br>
<hr width="100%" size="2" align="left"><font size="2" face="Arial"><b>From:</b></font><font
size="2" face="Arial">&nbsp;Alex Mantaut &lt;alex.mantaut@intraway.com&gt;</font><font
size="2" face="Arial"><b><br>
To:</b></font><font size="2" face="Arial">&nbsp;Apache AXIS C User List
&lt;c-user@axis.apache.org&gt; </font><font size="2" face="Arial"><b><br>
Sent:</b></font><font size="2" face="Arial">&nbsp;Thursday, 25 April
2013 12:42 AM</font><font size="2" face="Arial"><b><br>
Subject:</b></font><font size="2" face="Arial">&nbsp;Re: Building Axis2C
on Solaris 64-bit</font><br>
<br>
<font size="2" face="Arial">Hi Nadine,</font><br>
<font size="2" face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; I never compiled Axis2C on Solaris 10 64 bit, but in 32 bit I managed
to compile it without problems... Can you show which error message you've got?<br>
</font><br>
<font size="2" face="Arial">Regards</font><br>
<font size="2" face="Arial"><br>
</font><br>
<font size="2" face="Arial">On Tue, Apr 23, 2013 at 2:00 AM, &lt;</font><a
href="mailto:nshifman@worldbank.org" target="_blank"><font size="2" color="#0000FF"
face="Arial"><u>nshifman@worldbank.org</u></font></a><font size="2"
face="Arial">&gt; wrote:</font>
<ul style="padding-left: 9pt"><font size="2" face="Arial">Hello,</font><font
size="2" face="Arial"><br>
</font><font size="2" face="Arial"><br>
What needs to be modified in configure scripts to get Axis2C to build on Solaris 10, &nbsp;64-bit?</font><font
size="2" face="Arial"><br>
</font><font size="2" face="Arial"><br>
Thanks,<br>
Nadine</font><br>
<font size="2" face="Arial">---------------------------------------------------------------------
To unsubscribe, e-mail: </font><a href="mailto:c-user-unsubscribe@axis.apache.org"
target="_blank"><font size="2" color="#0000FF" face="Arial"><u>c-user-unsubscribe@axis.apache.org</u></font></a><font
size="2" face="Arial">&nbsp;For additional commands, e-mail: </font><a href="mailto:c-user-help@axis.apache.org"
target="_blank"><font size="2" color="#0000FF" face="Arial"><u>c-user-help@axis.apache.org</u></font></a><font
size="2" face="Arial">&nbsp;</font></ul>
<font size="2" face="Arial"><br>
<br>
<br>
-- </font><font size="2" color="#888888" face="Arial"><br>
-- </font><font size="2" color="#333399" face="Arial"><br>
Mantaut Alex<br>
Intraway Corp. <br>
<br>
+54 (11) 6040-4000 &nbsp; <br>
MSN:</font><font size="2" face="Arial">&nbsp;</font><a href="mailto:alex.mantaut@intraway.com"
target="_blank"><font size="2" color="#0000FF" face="Arial"><u>alex.mantaut@intraway.com</u></font></a><br>
<br>
<font size="2" color="#333399" face="Arial">Visit our website at </font><a
href="http://www.intraway.com/" target="_blank"><font size="2" color="#0000FF" face="Arial"><u>http://www.intraway.com</u></font></a><font
size="2" color="#333399" face="Arial"><br>
Proud to be an ISO 9001:2008 certified company</font><br>
<font size="2" face="Arial"><br>
</font><br>
<br>
</body></html>
Mime
View raw message