QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2679|回复: 4

skyeye-1.2.8_rc1 make install 时报错,请大虾看下,谢谢了

[复制链接]
发表于 2009-9-23 10:54:46 | 显示全部楼层 |阅读模式
[lzy@localhost skyeye-1.2.8_rc1]$ make install
Making install in third-party/bfd/
make[1]: Entering directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd'
Making install in doc
make[2]: Entering directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd/doc'
test -z "/usr/local/info" || mkdir -p -- "/usr/local/info"
mkdir: cannot create directory `/usr/local/info': Permission denied
make[2]: *** [install-info-am] Error 1
make[2]: Leaving directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd/doc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd'
make: *** [install-recursive] Error 1
[lzy@localhost skyeye-1.2.8_rc1]$ sudo make install
Password:
Making install in third-party/bfd/
make[1]: Entering directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd'
Making install in doc
make[2]: Entering directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd/doc'
test -z "/usr/local/info" || mkdir -p -- "/usr/local/info"
/usr/bin/install -c -m 644 './bfd.info' '/usr/local/info/bfd.info'
/usr/bin/install -c -m 644 './bfd.info-1' '/usr/local/info/bfd.info-1'
/usr/bin/install -c -m 644 './bfd.info-2' '/usr/local/info/bfd.info-2'
make[2]: Leaving directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd/doc'
Making install in po
make[2]: Entering directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd/po'
if test -r ..//./../mkinstalldirs; then \
          ..//./../mkinstalldirs /usr/local/; \
        else \
          ../mkinstalldirs /usr/local/; \
        fi
/bin/sh: line 3: ../mkinstalldirs: No such file or directory
make[2]: *** [install-data-yes] Error 127
make[2]: Leaving directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd/po'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd'
make: *** [install-recursive] Error 1
发表于 2009-9-23 11:00:09 | 显示全部楼层
没权限……
你 make install 时要用 root 权限……
回复

使用道具 举报

 楼主| 发表于 2009-10-27 10:18:34 | 显示全部楼层
呵呵,谢谢斑竹,已经解决
回复

使用道具 举报

发表于 2009-10-27 14:44:30 | 显示全部楼层
基本操作……
回复

使用道具 举报

 楼主| 发表于 2009-11-10 19:45:44 | 显示全部楼层

回复 4# jiangtao9999 的帖子

/bin/sh: ../mkinstalldirs: not found
make[2]: *** [install-data-yes] Error 127
make[2]: Leaving directory `/home/francois/SoftwarePackages/skyeye-1.2.8_rc1/third-party/bfd/po'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/francois/SoftwarePackages/skyeye-1.2.8_rc1/third-party/bfd'
make: *** [install-recursive] Error 1

make install的问题,可以通过拷贝文件mkinstalldirs 到skyeye-1.2.8_rc1/third-party目录解决.
mkinstalldirs文件可以在gdb或者binutils的源代码中获得。

从网上找到 mkinstalldirs文件,拷贝到skyeye-1.2.8_rc1/third-party目录,
并为 mkinstalldirs 增加执行权限。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-24 10:52 , Processed in 0.134780 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表