To be fully aware of what is going on in mkgmap development its a good idea to sign up to both the mkgmap-dev and mkgmap-svn mailing lists.
Getting the code
First you will need to get the code
The program is written in Java, so you will need a java compiler. You can get one from Oracle .
Linux machines will usually have openjdk available to install.
On fedora the package names are
On Ubuntu the packages are called openjdk-7-jdk.
To build you just need to run
All other dependencies are downloaded as part of the build process, so you need to be connected to the internet the first time you build, they should only be downloaded once.
You just need the standard java options, no enterprise (EE) options are needed.
We have a list of things that have been suggested to be done in the to do list