重建汽车制造项目的快速帮助
Quick help in rebuilding an automake project
我得到了一个项目的源代码(我再也联系不到作者了),它使用automake。我对系统不熟悉,我只想重建这个项目。
我在项目中有以下文件:
Makefile.am
Makefile.in
Makefile
我已经修改了Makefile。我的文件,以适应我的系统上的路径,但我应该如何运行它生成Makefile。
注意:我目前对学习汽车制造不感兴趣,只是重新编译这个项目。
要引导autoconf build-system,可以使用
$ autoreconf -fiv
,它将根据需要调用automake, aclocal, autoheaders,并生成configure
脚本。在那之后你可以做通常的
$ ./configure && make && make install
由milos_ladni提出
,但你肯定需要configure.ac
(或configure.in
,如果它是一个老项目),否则项目只是缺少一些核心部分。
如果缺少这些,您可以尝试直接修改Makefile
(祝您好运),但是仅仅重新创建配置可能更容易。Ac从头开始(希望项目没有太多依赖)
$ ./configure——prefix=some_directory
使美元$ make installhttp://inti.sourceforge.net/tutorial/libinti/autotoolsproject.html AP05
相关文章:
- 使用C++库在Android项目中修改gradle中的cmake参数,用于插入指令的测试
- 无法在 CLion 中构建 C++ 项目
- 运行同一解决方案的另一个项目的项目
- CMake-按正确顺序将项目与C运行时对象文件链接
- 如何在选项卡视图Qt中设置一个新项目,并保存以前的项目
- 欧拉项目#8答案是大以获得有效答案
- 从链接列表c++中删除一个项目
- CMake项目Boost库错误:Boost/config/compiler/gcc.hpp:165:10:致命错误:cs
- 既然存在危险,为什么项目要使用-I include开关
- 需要帮助设置在C++中使用的Potrace
- cmake在我的项目中所需的所有静态库都不成功
- 在指针的帮助下,文本文件中单词的频率
- CS1 项目帮助C++
- 在编码项目上需要一些帮助
- C 吊手游戏项目可帮助如何在字符串中找到字母
- 真的需要一些帮助,第一个编程项目
- 对我的C++ OpenFrameworks项目中wpa_ctrl函数的未定义引用.需要帮助集成此 c 库
- 重建汽车制造项目的快速帮助
- 需要一些帮助创建一个cmake文件来让我的项目工作…
- 需要一些错误的帮助,文件系统项目的高潮