【问题标题】:problems with libkdtree++ (kdtree)libkdtree++ (kdtree) 的问题
【发布时间】:2012-12-12 04:18:29
【问题描述】:

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

【问题讨论】:

    标签: kdtree


    【解决方案1】:

    您很可能会有更新的 automake 版本 - 我猜是 1.11。

    您必须在 configure 中更改它:

    am__api_version='1.11'
    

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

    【讨论】:

      猜你喜欢
      • 2011-06-05
      • 1970-01-01
      • 2021-12-21
      • 2019-10-14
      • 2010-09-20
      • 2012-05-19
      • 1970-01-01
      • 2016-02-22
      • 2018-06-16
      相关资源
      最近更新 更多