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
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • Java Developers, Don't Throw Out Your Mac Yet: Apple Will Contribute To OpenJDK
  • 7 Great Terminal/CLI Tools Not Everyone Knows
  • Weblogic 11g Installation on Mac OS: Issues and Fixes
  • 7 Ways to Test Your Website on Internet Explorer on a Mac Device

Trending

  • API Design
  • Podman Desktop Review
  • How To Deploy Helidon Application to Kubernetes With Kubernetes Maven Plugin
  • Deploy a Session Recording Solution Using Ansible and Audit Your Bastion Host

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

Tharindu Mathew user avatar by
Tharindu Mathew
·
Jul. 06, 13 · Interview
Like (0)
Save
Tweet
Share
5.58K 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, DZone MVB. 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
  • Weblogic 11g Installation on Mac OS: Issues and Fixes
  • 7 Ways to Test Your Website on Internet Explorer on a Mac Device

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

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

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: