[ 
https://issues.apache.org/jira/browse/AXIS2C-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560824#action_12560824
 ] 

Senaka Fernando commented on AXIS2C-924:
----------------------------------------

Hi Abhay,

Yes, in fact gcc is not officially supported.

BTW, the strcasecmp was replaced with axutil_strcasecmp. Refer attached 
diff.txt for the patch. I don't think this would cause any harm.

And, regarding getopt, I'll try to figure out a workaround. For the moment, you 
may comment out that while loop in 
src/core/transport/http/server/simple_axis2_server/http_server_main.c and run 
the http_server after you've removed getopt.h inclusions in the code. Also, if 
you are building with tests enabled, remember to comment out the calls to 
getopt in test/core/clientapi/test_client.c.

Please note that you CAN'T provide options for the http_server (ex:- 
./axis2_http_server -p 8080) if the getopt logic is not working until we find a 
workaround.

Also, with regard to error 34, are there any services in your 
AXIS2C_HOME/services folder? If not, please try to get at least one sample 
service compiled. You may use the guidelines available in compiling the 
hello_service found on the Axis2 Manual. BTW, if the hello_svc.c file is not 
found on the online manual, you can find it on the trunk or in an svn checkout. 
If not just replace hello_svc with echo and compile the echo service.

Thanks for the input. Based on your feedback we'd be able to integrate native 
support for HP_UX in the future.

Regards,
Senaka

> Compiling source on HP-UX11.11v2
> --------------------------------
>
>                 Key: AXIS2C-924
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-924
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: 1.2.0
>         Environment: HP-UX 11.11v2 - aC++ compiler.
>            Reporter: Abhay Bhave
>
> I think I am able to configure and make (make & make install) the source 
> after lot of struggle.
> I am using LIBXML2.  I don't have Apache installed to test WSDL2C tool.
> The sample services did not compile and didn't get installed.
> The axis2c_http_server is created in AXIS2C_HOME/bin but it can not be 
> started. It complains with error 34.
> The sample code complains about getopt.h, strcasecomp etc.
> Has any one successfully installed and tested the samples on HP-UX 11.11 or 
> HP-UX11.23v1 (Itanium)?
> How to get over the getopt.h and strcasecomp issue?
> Is it possible to get the WSDL2C tool without Apache being installed?
> Thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to