configure worked for me, but then during compile I got:
1/../../../../lib64/crtn.o -O2 -pthread -pthread -Wl,-soname -Wl,liboctinterp.so.1 -o .libs/liboctinterp.so.1.0.1
/usr/bin/ld: cannot find -lLLVMInstrumentation
/usr/bin/ld: cannot find -lLLVMArchive
/usr/bin/ld: cannot find -lLLVMLinker
/usr/bin/ld: cannot find -lLLVMIRReader
/usr/bin/ld: cannot find -lLLVMBitReader
/usr/bin/ld: cannot find -lLLVMAsmParser
/usr/bin/ld: cannot find -lLLVMDebugInfo
/usr/bin/ld: cannot find -lLLVMOption
/usr/bin/ld: cannot find -lLLVMipo
/usr/bin/ld: cannot find -lLLVMVectorize
/usr/bin/ld: cannot find -lLLVMBitWriter
/usr/bin/ld: cannot find -lLLVMTableGen
/usr/bin/ld: cannot find -lLLVMX86Disassembler
/usr/bin/ld: cannot find -lLLVMX86AsmParser
/usr/bin/ld: cannot find -lLLVMX86CodeGen
/usr/bin/ld: cannot find -lLLVMX86Desc
/usr/bin/ld: cannot find -lLLVMX86Info
/usr/bin/ld: cannot find -lLLVMX86AsmPrinter
/usr/bin/ld: cannot find -lLLVMX86Utils
/usr/bin/ld: cannot find -lLLVMPowerPCCodeGen
/usr/bin/ld: cannot find -lLLVMPowerPCDesc
/usr/bin/ld: cannot find -lLLVMPowerPCAsmPrinter
/usr/bin/ld: cannot find -lLLVMPowerPCAsmParser
/usr/bin/ld: cannot find -lLLVMPowerPCInfo
/usr/bin/ld: cannot find -lLLVMARMDisassembler
/usr/bin/ld: cannot find -lLLVMARMCodeGen
/usr/bin/ld: cannot find -lLLVMARMAsmParser
/usr/bin/ld: cannot find -lLLVMARMDesc
/usr/bin/ld: cannot find -lLLVMARMInfo
/usr/bin/ld: cannot find -lLLVMARMAsmPrinter
/usr/bin/ld: cannot find -lLLVMAArch64Disassembler
/usr/bin/ld: cannot find -lLLVMAArch64CodeGen
/usr/bin/ld: cannot find -lLLVMAArch64AsmParser
/usr/bin/ld: cannot find -lLLVMAArch64Desc
/usr/bin/ld: cannot find -lLLVMAArch64Info
/usr/bin/ld: cannot find -lLLVMAArch64AsmPrinter
/usr/bin/ld: cannot find -lLLVMAArch64Utils
/usr/bin/ld: cannot find -lLLVMCppBackendCodeGen
/usr/bin/ld: cannot find -lLLVMCppBackendInfo
/usr/bin/ld: cannot find -lLLVMNVPTXCodeGen
/usr/bin/ld: cannot find -lLLVMNVPTXDesc
/usr/bin/ld: cannot find -lLLVMNVPTXInfo
/usr/bin/ld: cannot find -lLLVMNVPTXAsmPrinter
/usr/bin/ld: cannot find -lLLVMSystemZCodeGen
/usr/bin/ld: cannot find -lLLVMSystemZAsmParser
/usr/bin/ld: cannot find -lLLVMSystemZDesc
/usr/bin/ld: cannot find -lLLVMSystemZInfo
/usr/bin/ld: cannot find -lLLVMSystemZAsmPrinter
/usr/bin/ld: cannot find -lLLVMR600CodeGen
/usr/bin/ld: cannot find -lLLVMSelectionDAG
/usr/bin/ld: cannot find -lLLVMAsmPrinter
/usr/bin/ld: cannot find -lLLVMR600Desc
/usr/bin/ld: cannot find -lLLVMR600Info
/usr/bin/ld: cannot find -lLLVMR600AsmPrinter
/usr/bin/ld: cannot find -lLLVMMCDisassembler
/usr/bin/ld: cannot find -lLLVMMCParser
/usr/bin/ld: cannot find -lLLVMInterpreter
/usr/bin/ld: cannot find -lLLVMMCJIT
/usr/bin/ld: cannot find -lLLVMJIT
/usr/bin/ld: cannot find -lLLVMCodeGen
/usr/bin/ld: cannot find -lLLVMObjCARCOpts
/usr/bin/ld: cannot find -lLLVMScalarOpts
/usr/bin/ld: cannot find -lLLVMInstCombine
/usr/bin/ld: cannot find -lLLVMTransformUtils
/usr/bin/ld: cannot find -lLLVMipa
/usr/bin/ld: cannot find -lLLVMAnalysis
/usr/bin/ld: cannot find -lLLVMRuntimeDyld
/usr/bin/ld: cannot find -lLLVMExecutionEngine
/usr/bin/ld: cannot find -lLLVMTarget
/usr/bin/ld: cannot find -lLLVMMC
/usr/bin/ld: cannot find -lLLVMObject
/usr/bin/ld: cannot find -lLLVMCore
/usr/bin/ld: cannot find -lLLVMSupport
collect2: error: ld returned 1 exit status
make[3]: *** [
liboctinterp.la] Error 1