1

私は、Linux 86 * 64でlibkdtree ++でkdtreeを使用しようとしている学生です。./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 に答える