1

我是一名学生,试图在 linux 86*64 上将 kdtree 与 libkdtree++ 一起使用。./configure 顺利,虽然 sudo make install 失败

cd . && /bin/sh /home/preetigupta25/kdtree-project/nvmd-libkdtree-7bb7e83/missing --run aclocal-1.10

/home/preetigupta25/kdtree-project/nvmd-libkdtree-7bb7e83/missing: line 54: aclocal-1.10: command not found

WARNING:     `aclocal-1.10' is missing on your system. 



/home/preetigupta25/kdtree-project/nvmd-libkdtree-7bb7e83/missing: line 54: automake-1.10: command not found
WARNING: `automake-1.10' is missing on your system. 

cd . && /bin/sh /home/preetigupta25/kdtree-project/nvmd-libkdtree-7bb7e83/missing --run autoconf
configure.ac:10:  error: possibly undefined macro: AM_INIT_AUTOMAKE

make: *** [configure] Error 1

but when I run it again it gives a different problem

[preetigupta25@dhalsim nvmd-libkdtree-7bb7e83]$ sudo make install
[sudo] password for preetigupta25:
/bin/sh ./config.status --recheck

running CONFIG_SHELL=/bin/sh /bin/sh ./configure --no-create --no-recursion
./configure: line 2082: syntax error near unexpected token `-Wall'
./configure: line 2082: `AM_INIT_AUTOMAKE(-Wall -Werror)'
make: *** [config.status] Error 2
4

1 回答 1

1

很可能你会有一个更新的 automake 版本——我猜是 1.11。

你将不得不改变它configure

am__api_version='1.11'

您必须configure在第一次调用之前执行此操作。

于 2012-12-11T20:18:29.027 回答