bash 运行 autogen.sh 时出现问题
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14841946/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Trouble when running autogen.sh
提问by user1778824
I have downloaded R tree from http://libspatialindex.github.com/
我已经从http://libspatialindex.github.com/下载了 R 树
Since on running ./autogen.sh I was getting file/folder not found, therefore I downloaded the file autogen.sh from the github repository given below:
由于在运行 ./autogen.sh 时我找不到文件/文件夹,因此我从下面给出的 github 存储库下载了文件 autogen.sh:
Now when I run ./autogen.shI am getting "Permission denied" And if I run sh ./autogen.shI am getting:
现在,当我运行./autogen.sh我得到“权限被拒绝”如果我运行sh ./autogen.sh我得到:
glibtoolize or libtoolize not found. Giving up!
Please suggest what should I do now
请建议我现在应该做什么
EDIT:Also I want to use libspatialindex inside my C++ project. I am using netbeans. I mean I want to use the functions inside libspatialindex inside my netbeans project. How should I use the same. Right now I have run the config and make command in a separate directory. I am not getting as to how to use them inside my project.
编辑:另外我想在我的 C++ 项目中使用 libspatialindex。我正在使用 netbeans。我的意思是我想在我的 netbeans 项目中使用 libspatialindex 中的函数。我应该如何使用相同的。现在我已经在单独的目录中运行了 config 和 make 命令。我不知道如何在我的项目中使用它们。
回答by that other guy
Install libtoolfrom your package manager.
libtool从你的包管理器安装。
回答by MollieVX
To fix the 'Permission Denied' error you need to edit the permissions of your autogen.sh file. Run this command:
chmod +x autogen.sh
要修复“权限被拒绝”错误,您需要编辑 autogen.sh 文件的权限。运行此命令:
chmod +x autogen.sh

