我试过这个:
git clone git://github.com/mongodb/mongo-c-driver.git
cd mongo-c-driver
./autogen.sh --prefix=/usr --libdir=/usr/lib64输出:
Error: libtoolize was not found on your system. Cannot continue.
On Darwin, this is named glibtoolize
Submodule 'src/libbson' (git://github.com/mongodb/libbson.git) registered for path 'src/libbson'
Cloning into 'src/libbson'...
remote: Reusing existing pack: 5211, done.
remote: Counting objects: 66, done.
remote: Compressing objects: 100% (65/65), done.
remote: Total 5277 (delta 35), reused 2 (delta 0)
Receiving objects: 100% (5277/5277), 5.18 MiB | 2.22 MiB/s, done.
Resolving deltas: 100% (3463/3463), done.
Checking connectivity... done.
Submodule path 'src/libbson': checked out '5fafb63060b08c477fa8e243e07de40869de691d'
Error: libtoolize was not found on your system. Cannot continue.
On Darwin, this is named glibtoolize
Error: autoreconf not found, please install it.
Error: autoreconf not found, please install it.我该如何解决这个问题呢?(Sorry...not通常是一个C语言的人,所以使用简短的单词。)
发布于 2014-05-14 03:30:57
您需要安装libtool。最简单的方法是使用Homebrew。如果你还没有安装Homebrew,你可以用一个简单的命令来安装它:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"您可以在site上找到更多信息。安装Homebrew后,您可以轻松安装libtool:
brew install libtool发布于 2014-12-28 23:08:05
您也可以使用Mac上的Homebrew包管理器。
brew install mongo-chttps://stackoverflow.com/questions/23638185
复制相似问题