libkdtree ++(kdtree)的问题

时间:2012-11-01 23:54:11

标签: kdtree

我是一名学生,试图在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

1 个答案:

答案 0 :(得分:1)

我很可能会有一个更新的汽车版本 - 我猜是1.11。

您必须在configure中更改它:

am__api_version='1.11'

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