Skip to content

Building from Source

Build System

Apache Axis2/C uses GNU autotools (autoconf, automake, libtool) for building.

Build Instructions

Complete build instructions are in the INSTALL file in the repository root:

git clone https://github.com/apache/axis-axis2-c-core.git
cd axis-axis2-c-core
cat INSTALL

Quick Reference

Linux

# Clone from GitHub
git clone https://github.com/apache/axis-axis2-c-core.git
cd axis-axis2-c-core

# Follow instructions in INSTALL file
# Typically:
./configure [options]
make
sudo make install

Configure Options

The INSTALL file documents all configure options. Common options include:

Option Description
--enable-guththila Use Guththila XML parser
--enable-libxml2 Use libxml2 XML parser
--enable-openssl Enable SSL/TLS support
--with-nghttp2 Enable HTTP/2 support

Windows

See the INSTALL file for Windows build instructions using Visual Studio.

Android Cross-Compilation

See Android Support for cross-compiling Axis2/C for Android devices.

Build System Details

For detailed information about the build system internals, see: