在centos上构建gcc
Building gcc on centos?
我正在尝试在cent os上构建gcc。我正试图做的正是这个页面写:http://www.gnu.org/software/gsrc/
在安装了python, bzr和其他一些包之后,我设法使它几乎正确,但在这一步:make -C gnu/hello
我得到这些错误:
[root@localhost gsrc]# make -C gnu/hello
make: Entering directory `/root/gsrc/gnu/hello'
printf "[install-info] ==>Installing entries to the Info directoryn"
[install-info] ==>Installing entries to the Info directory
if /bin/sh -c 'install-info --version' >/dev/null; then
for f in hello.info; do
install-info --dir-file="/root/gnu/share/info/dir"
"/root/gnu/share/info/$f";
done;
else true; fi
/root/gnu/share/info/dir: could not read (No such file or directory) and could not create (No such file or directory)
make: *** [post-install] Error 1
make: Leaving directory `/root/gsrc/gnu/hello'
根据您提供的信息,我建议您手动创建丢失的目录:
mkdir -p /root/gnu/share/info/
然后重新运行make -C gnu/hello
这个目录是信息管理器保存信息文件的地方。但是,尽管有install-info程序,这个目录却不见了,这表明您的install
相关文章:
- 在使用 GCC 4.8.5 构建的应用中对 cxx11 函数的未定义引用
- 无法使用 devtoolsets-8-gcc 构建提升?
- 使用 CMake (make) 和 GCC 构建和编译 gSOAP 项目
- 使用 gcc 6 构建 OpenJDK8 时出现链接错误
- 使用 CodeBlocks + GCC 构建的可执行文件是否可以在任何 Windows 上运行?
- 使用GCC 4.8构建错误:数组用作初始化器
- 无法在 Windows 7、32 位上使用 tdm-gcc 构建 cpp 文件(表示 exe 不兼容)
- 如何在Windows上为GCC构建curlpp
- GCC 构建时间不会从预编译标头中受益太多
- 无法使用 GCC 构建 C 应用程序,因为未定义对'deflateEnd'的引用
- 用于回归测试的快速 GCC 构建
- gcc 4.7.1构建以未定义的引用结束
- GCOV:使用GCC构建时,覆盖率和最新覆盖率之间的区别是什么
- 使用从导入库(.lib)转换的库文件(.a),使用gcc构建dll
- 使用gcc构建poco时,Recipe失败
- 在Windows 7上使用Cygwin为GCC构建提升 - 引导错误
- 树莓派 GCC 4.8.2 构建提升 1.56 原子错误
- 静态初始化期间将 gcc 构建的 Boost 链接到英特尔 C++ 编译程序时出现 Segfault
- 使用GCC 5.2.0构建Chromium: - strict-overflow=1警告
- 在Xcode中使用gcc构建时,如何删除不需要的命令行选项?