2012-11-01 30 views
1

我是一名學生,嘗試在linux 86 * 64上使用帶有libkdtree ++的kdtree。的./configure雲流暢,雖然須藤使安裝失敗libkdtree ++的問題(kdtree)

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 

[[email protected] 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

最有可能你將有一個更近的automake版本 - 1.11我猜。

你將不得不改變,在configure

am__api_version='1.11' 

您必須調用configure在第一時間之前做到這一點。

+0

它適合我!謝謝! – Dan