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
Over 2 million developers have joined DZone.
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

  • 12 Factor Framework for Building Secure and Compliant Cloud Applications
  • The Agentic Agile Office: Streamlining Enterprise Agile With Autonomous AI Agents
  • Your AI-Generated Reports Have No Paper Trail
  • What Nobody Tells You About Running AI Models in Docker

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

By 
Tharindu Mathew user avatar
Tharindu Mathew
·
Jul. 06, 13 · Interview
Likes (0)
Comment
Save
Tweet
Share
6.4K Views

Join the DZone community and get the full member experience.

Join For Free

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

The likes didn't load as expected. Please refresh the page and try again.

  • 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