LinuxSir.cn,穿越时空的Linuxsir!

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

斑主,HELP!

[复制链接]
 楼主| 发表于 2002-12-23 22:41:05 | 显示全部楼层

没用,你们的REDHAT是ALL安装的吗!

编译要用到哪些DD!

我想UPDATE 一次REDHAT 再试!
 楼主| 发表于 2002-12-23 22:45:07 | 显示全部楼层

Tram 兄!

编译要用到哪些DD?
发表于 2002-12-23 22:48:14 | 显示全部楼层
也行,把开发工具装全点。gcc,make, autoconf等等
 楼主| 发表于 2002-12-23 23:20:49 | 显示全部楼层

Update 了一下redhat!

终于成了!
好长一段后,后面这样:
checking if struct dirent has a d_ino member... yes
checking if struct dirent has a d_fileno member... yes
checking for struct winsize in sys/ioctl.h and termios.h... sys/ioctl.h
checking for struct timeval in sys/time.h and time.h... yes
checking for struct stat.st_blocks... yes
checking for the existence of strsignal... yes
checking if opendir() opens non-directories... no
checking whether ulimit can substitute for getdtablesize... yes
checking to see if getenv can be redefined... yes
checking for presence of POSIX-style sigsetjmp/siglongjmp... present
checking whether or not strcoll and strcmp differ... no
checking for printf floating point output in hex notation... yes
checking if signal handlers must be reinstalled when invoked... no
checking for presence of necessary job control definitions... present
checking for presence of named pipes... present
checking POSIX termios... yes
checking whether termios.h defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ... yes
checking for TIOCSTAT in sys/ioctl.h... no
checking for FIONREAD in sys/ioctl.h... yes
checking for speed_t in sys/types.h... no
checking whether getpw functions are declared in pwd.h... yes
checking for unusable real-time signals due to large values... no
checking for tgetent in -ltermcap... yes
checking which library has the termcap functions... using libtermcap
checking whether /dev/fd is available... absent
checking whether /dev/stdin stdout stderr are available... absent
checking for default mail directory... /var/mail
configure: creating ./config.status
config.status: creating Makefile
sed: file /tmp/csAJJpKR/subs-2.sed line 3: Unterminated `s' command
config.status: creating builtins/Makefile
sed: file /tmp/csAJJpKR/subs-2.sed line 3: Unterminated `s' command
config.status: creating lib/readline/Makefile
sed: file /tmp/csAJJpKR/subs-2.sed line 3: Unterminated `s' command
config.status: creating lib/glob/Makefile
sed: file /tmp/csAJJpKR/subs-2.sed line 3: Unterminated `s' command
config.status: creating lib/malloc/Makefile
sed: file /tmp/csAJJpKR/subs-2.sed line 3: Unterminated `s' command
config.status: creating lib/sh/Makefile
sed: file /tmp/csAJJpKR/subs-2.sed line 3: Unterminated `s' command
config.status: creating lib/termcap/Makefile
sed: file /tmp/csAJJpKR/subs-2.sed line 3: Unterminated `s' command
config.status: creating lib/tilde/Makefile
sed: file /tmp/csAJJpKR/subs-2.sed line 3: Unterminated `s' command
config.status: creating doc/Makefile
sed: file /tmp/csAJJpKR/subs-2.sed line 3: Unterminated `s' command
config.status: creating support/Makefile
sed: file /tmp/csAJJpKR/subs-2.sed line 3: Unterminated `s' command
config.status: creating examples/loadables/Makefile
sed: file /tmp/csAJJpKR/subs-2.sed line 3: Unterminated `s' command
config.status: creating examples/loadables/perl/Makefile
sed: file /tmp/csAJJpKR/subs-2.sed line 3: Unterminated `s' command
config.status: creating config.h
make: *** No targets.  Stop.
-bash-2.05b$

Tram兄看看是什么??
发表于 2002-12-23 23:38:26 | 显示全部楼层
没有生成makefile,这一般是命令输错了。
你把你输入的命令贴出来看看?
 楼主| 发表于 2002-12-24 09:48:00 | 显示全部楼层

命令是说明书里粘的!

几次都是这个错!

/mnt/lfs/static 里一点东东也没加,郁闷!

我是不是问题最多多的,呵呵!!
发表于 2002-12-24 09:52:24 | 显示全部楼层
你的情况是最特殊的,大家都没有碰到过。不过兄弟没有必要灰心,我也是这样一步一步挺过来的。
发表于 2002-12-24 10:16:14 | 显示全部楼层
我瞎说一句,你的/mnt/lfs/static目录权限对吗?
lfs用户可以写它吗?
发表于 2002-12-24 13:20:46 | 显示全部楼层
我今天把bash-2.05a的configure逐步执行到50行左右,发现在这一部分,configure要在当前目录中建立一个名为conf$$.file的文件,然后在建立一个链接conf$$,其中$$为configure脚本的进程ID。如configure的pid为3048,则建立的文件名为 conf3048.file,建立的链接名为conf3048。出错的原因在于无法建立conf$$这个文件。最大可能性在于你没有这个目录的写权限。请你用root身份执行configure试试,看看问题是否还存在。
 楼主| 发表于 2002-12-25 10:20:46 | 显示全部楼层

这次我是用LFS用户登录!

把/mnt/lfs设为lfs所有,用LFS建的STATIC目录,保证了LFS的写入权。

可还是和前一次一样,前面N个YES,后面::
checking for tgetent in -ltermcap... yes
checking which library has the termcap functions... using libtermcap
checking whether /dev/fd is available... standard
checking whether /dev/stdin stdout stderr are available... present
checking for default mail directory... /var/mail
configure: creating ./config.status
config.status: creating Makefile
sed: file /tmp/csXVBH2Y/subs-2.sed line 3: Unterminated `s' command
config.status: creating builtins/Makefile
sed: file /tmp/csXVBH2Y/subs-2.sed line 3: Unterminated `s' command
config.status: creating lib/readline/Makefile
sed: file /tmp/csXVBH2Y/subs-2.sed line 3: Unterminated `s' command
config.status: creating lib/glob/Makefile
sed: file /tmp/csXVBH2Y/subs-2.sed line 3: Unterminated `s' command
config.status: creating lib/malloc/Makefile
sed: file /tmp/csXVBH2Y/subs-2.sed line 3: Unterminated `s' command
config.status: creating lib/sh/Makefile
sed: file /tmp/csXVBH2Y/subs-2.sed line 3: Unterminated `s' command
config.status: creating lib/termcap/Makefile
sed: file /tmp/csXVBH2Y/subs-2.sed line 3: Unterminated `s' command
config.status: creating lib/tilde/Makefile
sed: file /tmp/csXVBH2Y/subs-2.sed line 3: Unterminated `s' command
config.status: creating doc/Makefile
sed: file /tmp/csXVBH2Y/subs-2.sed line 3: Unterminated `s' command
config.status: creating support/Makefile
sed: file /tmp/csXVBH2Y/subs-2.sed line 3: Unterminated `s' command
config.status: creating examples/loadables/Makefile
sed: file /tmp/csXVBH2Y/subs-2.sed line 3: Unterminated `s' command
config.status: creating examples/loadables/perl/Makefile
sed: file /tmp/csXVBH2Y/subs-2.sed line 3: Unterminated `s' command
config.status: creating config.h
make: *** No targets.  Stop.
[lfs@linux bash-2.05a]$

难道真的是万事开头难!!

顺祝:圣诞节快乐!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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