躺坑安装
依赖:
$yum install libtool
$yum install gcc
$yum install gcc-g++
$yum install make
$yum install autoconfig
$yum install automake
先安装git:
yum install git
yum apt-get install pkg-config
usdt核心库:
git clone https://github.com/OmniLayer/omnicore.git
cd omnicore/
编译:
./autogen.sh //configuration failed, please install autoconf first 没有安装autoconf,先安装autoconf
./configure
make
//解压命名 tar -zxvf filename
安装autoconf和automake:
yum install -y autoconf
yum install automake
报错:
Makefile.am:8: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:8: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:8: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:8: If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:8: its definition is in aclocal's search path.
/usr/share/automake-1.13/am/depend2.am: error: am__fastdepCXX does not appear in AM_CONDITIONAL
/usr/share/automake-1.13/am/depend2.am: The usual way to define 'am__fastdepCXX' is to add 'AC_PROG_CXX'
/usr/share/automake-1.13/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again
/usr/share/automake-1.13/am/depend2.am: error: AMDEP does not app