DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Java Developers, Don't Throw Out Your Mac Yet: Apple Will Contribute To OpenJDK
  • 7 Great Terminal/CLI Tools Not Everyone Knows

Trending

  • Vision-Language Models in 2026: From Research Breakthroughs to Cloud-Native Production Systems
  • The Window Closes: Why I Switched to Kotlin Before the Codebase Got Too Big
  • PostgreSQL vs Oracle: When Higher Cost Means Better Performance
  • Going All In On the JVM 25 Virtual Threads

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

Building Apache Axis2/C on Mac OS X Mountain Lion 10.8.4

By 
Tharindu Mathew
·
Jul. 06, 13 · Interview
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
6.5K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

this should work on other mountain lion versions as well, but i have not tested it. first of all, let’s install a set of dependencies required for the build process.

the easiest way (at least for me) was to install them through macports .

note: you need to install xcode and the xcode command lilne tools for macports to work. xcode is a (very) large download. so, it will take some time to install. but, an advantage is many tools ask you to install xcode since it brings in a lot of useful dependencies useful for dev. provided by apple itself. so, you’ll need it anyway if you’re planning to do some c development :)

after installing macports, you need to install automake, autoconf, libtool, libxml2 and pkgconfig. type in the following command:

sudo port install automake autoconf libtool libxml2 pkgconfig

now, we are set to build the source. check it out using the following command:

svn co https://svn.apache.org/repos/asf/axis/axis2/c/core/trunk axis2-c-trunk

this will checkout the source code the a directory named axis2-c-trunk. now, we need to apply this patch that fixes a constants issue . download it and put it inside the directory axis2-c-trunk. now execute the following commands to patch the source:

cd axis2-c-trunk
 
patch -p0 < unavailable_constants_macosx_fix.patch

now, you are ready to build the source. just execute the build.sh with the following command:

./build.sh

that should create a successful build in the axis2-c-trunk/deploy directory. if it didn’t you probably would need this patch as well . patch your source the same way as above, and try running the build script again:

patch -p0 < mac_os_build_fix.patch
./build.sh
Mac OS X

Published at DZone with permission of Tharindu Mathew. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Java Developers, Don't Throw Out Your Mac Yet: Apple Will Contribute To OpenJDK
  • 7 Great Terminal/CLI Tools Not Everyone Knows

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook