Skip to content

Utils_BuildLinux

pojol edited this page Jun 7, 2018 · 4 revisions
  • supported compilers , gcc4.9+
  • depend cmake2.8+

step 1 :

cd block

setp 2:

python install.py

setp 3:

mkdir build & cd bulid

setp 4:

cmake ..

make


一些三方错误收集

err 1: CDPATH="${ZSH_VERSION+.}:" && cd . && aclocal-1.14 -I m4 /bin/sh: aclocal-1.14: command not found

fix:
wget http://ftp.gnu.org/gnu/automake/automake-1.14.tar.gz
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
tar xvzf autoconf-2.69.tar.gz; 
cd autoconf-2.69
./configure
make && make install

cd automake-1.14
./configure
make && make install

err 2: parallel-tests: error: required file './test-driver' not found parallel-tests: 'automake --add-missing' can install 'test-driver'

fix:
autoreconf -i

err 3:

autoreconf: configure.ac: not using Libtool

autoreconf: running: /usr/local/bin/autoconf --force configure.ac:101: error: possibly undefined macro: AC_PROG_LIBTOOL

If this token and others are legitimate, please use m4_pattern_allow.

run $ aclocal $ libtoolize
Clone this wiki locally