ctemplate 手工构建 问题。

ctemplate 手工构建 进入根目录 执行

To compile test applications with these classes, run ./autogen.sh && ./configure followed by make on unixoid platforms like Linux or MacOSX.

To install these header files on your system, run make install.

See INSTALL for more details.

This code should work on any modern C++ system. It has been tested on Linux (Ubuntu, Fedora, RedHat), Solaris 10 x86, FreeBSD 6.0, OS X 10.3 and 10.4, and Windows under both VC++7 and VC++8.
但是 根本没有 configure 目录
而且执行/autogen.sh 就会出错了
test@test-c73g3:~/newvcpkg/ctemplate/ctemplate$ ./autogen.sh

  • rm -rf autom4te.cache
  • autoreconf --force --install --warnings all,no-obsolete
    ./autogen.sh: 17: autoreconf: not found

img

先安装这些 sudo apt-get install autoconf automake libtool
执行../autogen.sh 自然就会出现 conf那个目录