Building Tomcat from source on MacOS can require some additional work, especially if you want to build all of the optional items such as libtcnative.
== Building Tomcat==
Building Tomcat itself is fairly straightforward. Simply download the source distribution of Tomcat and follow the indtructions in the BUILDING.txt file bundled with the distribution.
Briefly, you'll need:
- The Tomcat source tarball (the ZIP file is fine, but we're on UNIX, so the tarball is more natural)
- A Java Development Kit, available from Java.net
- Apache ant, available from the Apache ant downloads page
Once you have all that,
ant deploy
You may have to set your JAVA_HOME
environment variable and/or specify the full path to your ant
binary.