- Create an installation directory
- set AXIS2C_HOME to your installation directory:
export AXIS2C_HOME=/MyInstallDir
- set CFLAGS
env CFLAGS="-O -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64" LDFLAGS="-arch i386 -arch x86_64" ./configure --disable-dependency-tracking --enable-libcurl=yes --enable-openssl=yes --prefix=${AXIS2C_HOME}
- remove any unwanted compiler flags from makefiles:
find . -name Makefile | xargs perl -pi -e 's/-Werror//g'
find . -name Makefile | xargs perl -pi -e 's/-ansi//g'
find . -name Makefile | xargs perl -pi -e 's/-Wno-long-double//g'
- modify dir_handler.c and remove const for the function file_select
- edit uuid_gen_unix.c and comment out sys/sockio.h
- edit axutil_unix.h and comment out getopt.h and the usleep prototype
- edit config.h and add a "#define HAVE_NET_IF_H 1" line.
- compile:
make && make install
You should found anything in your installation directory.