LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 887|回复: 5

[已结]BLFS-6.3 GNOME中Nautilus-2.18.3执行make install出错.

[复制链接]
发表于 2010-4-11 20:58:41 | 显示全部楼层 |阅读模式
出错信息:

make[4]: Entering directory '/gn/nautilus-2.18.3/data'
no "/usr/share/mime"
/bin/sh: no: command not found
make[4]: *** [install-data-hook] Error 127
make[4]: Leaving directory '/gn/nautilus-2.18.3/data'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory '/gn/nautilus-2.18.3/data'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory '/gn/nautilus-2.18.3/data'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/gn/nautilus-2.18.3/data'
make: *** [install-recursive] Error 1

第二行中提示mime找不到,但是在之前我确实是安装过GNOME MIME DATA的,而且在/usr/share/路径下也能找到mime.

第三行中提示的是/bin/sh找不到吗? 我使用ls -l /bin/sh显示链接到bash的.

搜索不到什么有用的信息...希望能在这里得到帮助,请遇到过同样问题的朋友能够帮一下忙,谢谢.
 楼主| 发表于 2010-4-12 19:32:17 | 显示全部楼层
一个回复都没有...
回复 支持 反对

使用道具 举报

发表于 2010-4-12 20:11:18 | 显示全部楼层
请自查依赖安装情况,自查路径设置。

提示下:没有名为 no 的常用程序

  1. $ env -i /bin/sh
  2. $ no
  3. sh: no: command not found
  4. $
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-12 20:41:26 | 显示全部楼层
Post by 聚焦深空;2082388
请自查依赖安装情况,自查路径设置。

提示下:没有名为 no 的常用程序

  1. $ env -i /bin/sh
  2. $ no
  3. sh: no: command not found
  4. $
复制代码


对, 竟然报出/bin/sh: no: command not found, 我也很奇怪.

手册上的倚赖包都装了:

Nautilus Dependencies

Required
EEL-2.18.3, EsounD-0.2.37, libexif-0.6.16, and librsvg-2.16.1

Optional
startup-notification-0.9, Tracker (see the Tracker README file for the extensive dependencies), Beagle (needs
Gnome-Sharp which requires Mono), and DocBook-utils-0.6.14

required包全装好了, optional包除了Tracker和Beagle也都装好了.

莫非是我之前的步骤导致的吗?我做完lfs以后开始编译Xorg-7.2,到这里都没问题,然后直接进行第八部分开始编译GNOME了.是在Xorg之后还需要些什么吗?

求解.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-12 20:45:54 | 显示全部楼层
另补充:

configure过程无异常,make过程也无异常.

执行make install出错后检查了一下make check,得出如下错误:
make[4]: Entering directory '/gn/nautilus-2.18.3/src'
cannot open display:
Run '/gn/nautilus-2.18.3/src/.libs/lt-nautilus --help' to see a full list of available command line options.
FAIL: check-nautilus
=========================================================
1 of 1 tests failed
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=nautilus
=========================================================

(截图见附件)

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-14 14:53:38 | 显示全部楼层
看来这个问题是解决不了了,下面记录一下解决问题的过程:

由于我用的是虚拟机,从之前做好Xorg-7.2后装KDE成功保存的快照恢复,再次编译GNOME,进行到Nautilus时无任何异常.

这大概是因为Xorg没有设置好的缘故,这是从make check时显示的cannot open display得出的一些猜测,因此这个才是出现那个奇怪的错误"/bin/sh: no: command not found"的原因吧.
而回过头去看Xorg时,发现Xorg-config <config file>时确实出现了错误.
回复 支持 反对

使用道具 举报

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

本版积分规则

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