First error message and fix
Can't locate ExtUtils/Depends.pm in @INC
sudo perl -MCPAN -e 'install ExtUtils::Depends'
Second error message and fix
Can't locate ExtUtils/PkgConfig.pm in @INC
sudo perl -MCPAN -e 'install ExtUtils::PkgConfig'
Third error message and fix
Package libsexy was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsexy.pc'
to the PKG_CONFIG_PATH environment variable
sudo apt-get install libsexy-dev