In this section, we will look at how to troubleshoot and debug the common issues faced during setup.
Sometimes, when you try to build Mesos on a brand new Linux VM, it may throw up errors in the configure step. An example is a missing libz-dev
package:
configure: error: cannot find libz ------------------------------------------------------------------- libz is required for Mesos to build. -------------------------------------------------------------------
Whenever you find an error such as the preceding one or something similar to a missing package, the next thing that you need to do is to install these missing packages and execute the configure
command again.
Here, to resolve the missing libz
library, you will have to type in the following on the Ubuntu machine:
$ sudo apt-get install libz-dev
For CentOS flavors, the command will be as follows:
$ yum install zlib-devel