LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: qspy

howto save the information when we complie some package

[复制链接]
 楼主| 发表于 2003-11-22 13:28:53 | 显示全部楼层
谢谢Debentoo Gao版主的回复,刚才我刷新页面的时候出现了数据库出错的提示,没有及时看到,要不然就不用提心掉胆的了。
 楼主| 发表于 2003-11-22 13:53:12 | 显示全部楼层
看这一段make check的最后的片段,能不能解释一下几个问题。
1.make后面的[2]是什么意思
2.Leaving directory&&Entering directory 是什么意思
3.ALL TESTS PASSED这一句为什么不放在最后面?

======== Done with gawk extension tests ========
make[2]: Entering directory `/mnt/lfs/sources/gawk-3.1.3/test'
ALL TESTS PASSED
make[2]: Leaving directory `/mnt/lfs/sources/gawk-3.1.3/test'
make[1]: Leaving directory `/mnt/lfs/sources/gawk-3.1.3/test'
-bash-2.05b$
 楼主| 发表于 2003-11-22 15:43:25 | 显示全部楼层
好多warning啊,有没有问题啊?


-bash-2.05b$ make tests
Testing /mnt/lfs/sources/bash-2.05b/bash
version: 2.05b.0(1)-release
versinfo: 2 05b 0 1 release i686-pc-linux-gnu
HOSTTYPE = i686
OSTYPE = linux-gnu
MACHTYPE = i686-pc-linux-gnu
Any output from any test, unless otherwise noted, indicates a possible anomaly
run-arith
run-arith-for
run-array
warning: all of these tests will fail if arrays have not
warning: been compiled into the shell
run-array2
warning: all of these tests will fail if arrays have not
warning: been compiled into the shell
run-braces
run-builtins
run-cond
warning: all of these tests will fail if the conditional command has not
warning: been compiled into the shell
warning: some of these tests will fail if extended pattern matching has not
warning: been compiled into the shell
run-cprint
run-dirstack
run-dollars
run-errors
run-execscript
warning: the text of a system error message may vary between systems and
warning: produce diff output.
warning: if the text of the error messages concerning `notthere' or
warning: `/tmp/bash-notthere' not being found or `/' being a directory
warning: produce diff output, please do not consider this a test failure
15c15
< /: /: is a directory
---
> /: /: cannot execute binary file
run-exp-tests
run-extglob
run-extglob2
run-func
warning: if you have exported functions defined in your environment,
warning: they may show up as diff output.
warning: if so, please do not consider this a test failure
run-getopts
run-glob-test
run-heredoc
run-herestr
run-histexpand
warning: all of these tests will fail if history has not been compiled
warning: into the shell
run-history
warning: all of these tests will fail if history has not been compiled
warning: into the shell
run-ifs
run-input-test
run-invert
run-jobs
warning: some of these tests may fail if job control has not been compiled
warning: into the shell
run-more-exp
run-new-exp
warning: two of these tests will fail if your OS does not support
warning: named pipes or the /dev/fd filesystem.  If the tests of the
warning: process substitution mechanism fail, please do not consider
warning: this a test failure
warning: if you have exported variables beginning with the string _Q,
warning: diff output may be generated.  If so, please do not consider
warning: this a test failure
run-nquote
run-nquote1
warning: several of these tests will fail if arrays have not
warning: been compiled into the shell.
run-nquote2
warning: several of these tests will fail if arrays have not
warning: been compiled into the shell.
run-nquote3
warning: several of these tests will fail if arrays have not
warning: been compiled into the shell.
run-posix2
run-posixpat
run-precedence
run-printf
run-quote
run-read
发表于 2003-11-22 18:06:07 | 显示全部楼层
放心,warning从来都不是问题的.对于make check来说,error也没什么关系.
 楼主| 发表于 2003-11-22 18:20:56 | 显示全部楼层
谢谢。我正在加快安装的速度,希望能尽快成为LFS的一员。

报告进度:创建临时系统 之 安装 Perl-5.8.0。
 楼主| 发表于 2003-11-22 18:45:18 | 显示全部楼层
急!!!!在线等

[root@qspy qspy]# /usr/sbin/chroot $LFS /tools/bin/env -i \
> HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
> PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
> /tools/bin/bash --login
/usr/sbin/chroot: cannot change root directory to /tools/bin/env: 不是目录
[root@qspy qspy]#

怎么办?
发表于 2003-11-22 22:21:52 | 显示全部楼层
/usr/sbin/chroot $LFS /tools/bin/env -i \
???
$LFS /tools/bin/env ???

/mnt/lfs/tools/bin/env
 楼主| 发表于 2003-11-23 09:08:44 | 显示全部楼层
最初由 qing 发表
/usr/sbin/chroot $LFS /tools/bin/env -i \
???
$LFS /tools/bin/env ???

/mnt/lfs/tools/bin/env


/usr/sbin/chroot,因为我是su到root的,所以要加上这个。
/tools/bin/env吗,看这一句:
ln -s $LFS/tools /

不过现在问题解决了。原来是我昨晚理解错了,是不能从普通用户su到root用上述命令的,而是要从root直接登录才行。早上一觉醒来才发现的。

还是谢谢qing的回复。昨晚一直从八点多等到十点,都没有人回复。只有黯然下了,今天看到回复的帖子,让我十分的感动啊!
发表于 2003-11-23 09:18:17 | 显示全部楼层
怀疑是你忘记设置  $LFS变量了,,你昨天晚上就是在root的啊。:)。
 楼主| 发表于 2003-11-23 09:34:05 | 显示全部楼层
没有忘,我在那之前还装过好多package呢。你看到的是我从su登录的root,看到方括号内的最后一个单词没有,是我的普通用户名qspy。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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