liukui359 发表于 2009-9-23 10:54:46

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

$ make install
Making install in third-party/bfd/
make: Entering directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd'
Making install in doc
make: 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: *** Error 1
make: Leaving directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd/doc'
make: *** Error 1
make: Leaving directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd'
make: *** Error 1
$ sudo make install
Password:
Making install in third-party/bfd/
make: Entering directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd'
Making install in doc
make: 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: Leaving directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd/doc'
Making install in po
make: 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: *** Error 127
make: Leaving directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd/po'
make: *** Error 1
make: Leaving directory `/home/lzy/liuliu/skyeye-1.2.8/skyeye-1.2.8_rc1/third-party/bfd'
make: *** Error 1

jiangtao9999 发表于 2009-9-23 11:00:09

没权限……
你 make install 时要用 root 权限……

liukui359 发表于 2009-10-27 10:18:34

呵呵,谢谢斑竹,已经解决

jiangtao9999 发表于 2009-10-27 14:44:30

基本操作……

liukui359 发表于 2009-11-10 19:45:44

回复 4# jiangtao9999 的帖子

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

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

从网上找到 mkinstalldirs文件,拷贝到skyeye-1.2.8_rc1/third-party目录,
并为 mkinstalldirs 增加执行权限。
页: [1]
查看完整版本: skyeye-1.2.8_rc1 make install 时报错,请大虾看下,谢谢了