[
http://issues.apache.org/jira/browse/AXIS2C-287?page=comments#action_12435737 ]
Oisin Hurley commented on AXIS2C-287:
-------------------------------------
The new patch I've uploaded - macoslinux.1 - has been tested on MacOS and on
Linux (Ubuntu 6.06) and contains more a more comprehensive set of updates.
There were 3 core issues:
1. The autoconf-generated config.h was not being included in the utils build,
meaning
that vital constants were not being defined for non-linux platforms
2. MacOS X 10.4.7 has a clash between string.h and unistd.h. The zlib headers
automatically includes unistd.h, so this meant I need to purge references
to
string.h from the code and conditionally include it in axis2_unix.h
3. Some warnings about unreferenced static consts we causing build failures,
as
warnings have been configured to be errors (which is good). I've changed
these
static consts to #define macros to ensure that this won't cause the build
to fail.
The key to making this more portable on unix platforms is to make sure that you
do not #include any headers that do not start with "axis2_" in your C files --
all system includes should be put in axis2_unix.h for conditional inclusion,
based on configure generated macros. At the top of every C file, you should
then #include <platforms/axis2_platform_auto_sense.h>, which will bring in all
of the headers that you need.
Let me know how this goes :-)
> Port to MacOS X 10.4.7
> ----------------------
>
> Key: AXIS2C-287
> URL: http://issues.apache.org/jira/browse/AXIS2C-287
> Project: Axis2-C
> Issue Type: Improvement
> Components: util
> Affects Versions: 0.93
> Environment: MacOS X 10.4.7 on G4 PowerPC chip
> Reporter: Oisin Hurley
> Assigned To: Sanjaya Ratnaweera
> Priority: Minor
> Attachments: macos-patch, macoslinuxpatch.1
>
>
> Port of Axis2C to MacOS X -- motivation is to fill out platform coverage of
> Tuscany (http://incubator.apache.org/tuscany).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]