Compilation Error in Process.cpp

I receive an error compiling the source from git commit ID: f0a2b06b7c3438d40a31ff30868b9b335a5945fd
The error is as follows,

root/interpreter/llvm/inst/lib/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
Process.cpp:(.text+0x5e7): undefined reference to `setupterm'
Process.cpp:(.text+0x610): undefined reference to `tigetnum'
Process.cpp:(.text+0x619): undefined reference to `set_curterm'
Process.cpp:(.text+0x621): undefined reference to `del_curterm'
collect2: error: ld returned 1 exit status
root/core/utils/ recipe for target 'core/utils/src/rootcling_tmp' failed

I am compiling under Arch Linux x86_64, kernel 3.11.6-1. The gcc compiler version is 4.8.2, python version 2.7.5. Any help would be appreciated.