LinuxSir.cn,穿越时空的Linuxsir!

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

怎麼我裝lfs的bash時,老是重复阿???

[复制链接]
发表于 2003-6-1 22:29:13 | 显示全部楼层 |阅读模式
運行./configure --enable-static-link\
--prefix=$LFS/static --with-curses錯誤後運行make就一直重複,怎麼辦???
-------------------------------------------------------------------------------------------

[root@localhost root]# su lfs
[lfs@localhost root]$ cat ~lfs/.bash_profile <<"EOF"
> umask 022
> LFS=/mnt/lfs
> LC_ALL=POSIX
> CC='gcc -s'
> export LFS LC_ALL CC
> EOF
umask 022
LFS=/mnt/lfs
LC_ALL=POSIX
CC='gcc -s'
export LFS LC_ALL CC
[lfs@localhost root]$ source ~/bash_profile
bash: /home/lfs/bash_profile: 沒有此一檔案或目錄
[lfs@localhost root]$ source ~/.bash_profile
[lfs@localhost root]$ cd $LFs
[lfs@localhost lfs]$ cd $LFS
[lfs@localhost lfs]$ ls
lost+found  static  tmp
[lfs@localhost lfs]$ cd tmp
[lfs@localhost tmp]$ cd bash
[lfs@localhost bash]$ ls
Makefile     confdefs.h     externs.h    mksyntax.c    stamp-h
Makefile.in  config-bot.h   findcmd.c    news          stringlib.c
aclocal.m4   config-top.h   findcmd.h    nojobs.c      subst.c
alias.c      config.h       flags.c      notes         subst.h
alias.h      config.h.in    flags.h      parse.y       support
array.c      config.log     general.c    parser-built  syntax.h
array.h      config.status  general.h    parser.h      test.c
arrayfunc.c  configure      hashcmd.c    patchlevel.h  test.h
arrayfunc.h  configure.in   hashcmd.h    pathexp.c     tests
authors      conftest.c     hashlib.c    pathexp.h     trap.c
bashansi.h   conftypes.h    hashlib.h    pathnames.h   trap.h
bashhist.c   copy_cmd.c     include      pcomplete.c   unwind_prot.c
bashhist.h   copying        input.c      pcomplete.h   unwind_prot.h
bashintl.h   cross-build    input.h      pcomplib.c    variables.c
bashjmp.h    cwru           install      print_cmd.c   variables.h
bashline.c   dispose_cmd.c  jobs.c       quit.h        version.c
bashline.h   dispose_cmd.h  jobs.h       readme        xmalloc.c
bashtypes.h  doc            lib          redir.c       xmalloc.h
bracecomp.c  error.c        list.c       redir.h       y.tab.c
braces.c     error.h        locale.c     shell.c       y.tab.h
builtins     eval.c         mailcheck.c  shell.h       y2k
builtins.h   examples       mailcheck.h  sig.c
changes      execute_cmd.c  make_cmd.c   sig.h
command.h    execute_cmd.h  make_cmd.h   siglist.c
compat       expr.c         manifest     siglist.h
[lfs@localhost bash]$ ./configure --enable-static-linl\
> --prefix=$LFS/static --with-curses
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu

Beginning configuration for bash-2.05a for i686-pc-linux-gnu

checking for gcc... gcc -s
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -s accepts -g... yes
checking for POSIXized ISC... no
checking how to run the C preprocessor... gcc -s -E
checking for minix/config.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether gcc -s needs -traditional... no
checking for a BSD compatible install... /usr/bin/install -c
checking for ar... ar
checking for ranlib... ranlib
checking for bison... bison -y
checking whether make sets ${MAKE}... yes
checking for gcc -s option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for preprocessor stringizing operator... yes
checking for long double... yes
checking for function prototypes... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether char is unsigned... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether time.h and sys/time.h may both be included... yes
checking for inttypes.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdarg.h... yes
checking for varargs.h... yes
checking for limits.h... yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for locale.h... yes
checking for termcap.h... yes
checking for termio.h... yes
checking for termios.h... yes
checking for dlfcn.h... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for netdb.h... yes
checking for grp.h... yes
checking for strings.h... (cached) yes
checking for sys/ptem.h... no
checking for sys/pte.h... no
checking for sys/stream.h... no
checking for sys/select.h... yes
checking for sys/file.h... yes
checking for sys/resource.h... yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for sys/wait.h... yes
checking for netinet/in.h... grep: conftest.er1: No such file or directory
yes
checking for arpa/inet.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether getpgrp takes no argument... yes
checking whether setvbuf arguments are reversed... no
checking for vprintf... yes
checking for _doprnt... no
checking for working strcoll... yes
checking return type of signal handlers... void
checking for __setostype... no
checking for wait3... yes
checking for mkfifo... yes
checking for dup2... yes
checking for select... yes
checking for getdtablesize... yes
checking for getgroups... yes
checking for gethostname... yes
checking for setdtablesize... no
checking for getpagesize... yes
checking for killpg... yes
checking for lstat... yes
checking for getpeername... yes
checking for sbrk... yes
checking for getrlimit... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for waitpid... yes
checking for tcgetpgrp... yes
checking for readlink... yes
checking for rename... yes
checking for bcopy... yes
checking for bzero... yes
checking for confstr... yes
checking for sysconf... yes
checking for pathconf... yes
checking for setenv... yes
checking for putenv... yes
checking for setlinebuf... yes
checking for setvbuf... yes
checking for setlocale... yes
checking for strchr... yes
checking for tcgetattr... yes
checking for uname... yes
checking for ulimit... yes
checking for tzset... yes
checking for siginterrupt... yes
checking for memmove... yes
checking for ttyname... yes
checking for times... yes
checking for getaddrinfo... yes
checking for gethostbyname... yes
checking for getservbyname... yes
checking for inet_aton... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for fnmatch... yes
checking for isascii... yes
checking for isblank... yes
checking for isgraph... yes
checking for isprint... yes
checking for isspace... yes
checking for isxdigit... yes
checking for getcwd... yes
checking for strcasecmp... yes
checking for strerror... yes
checking for strpbrk... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoll... yes
checking for strtoull... yes
checking for strtoimax... yes
checking for strtoumax... yes
checking whether strtold is declared... yes
checking whether confstr is declared... yes
checking whether sbrk is declared... yes
checking whether printf is declared... yes
checking whether strsignal is declared... yes
checking for declaration of strtoimax... yes
checking for declaration of strtol... no
checking for declaration of strtoll... yes
checking for declaration of strtoul... no
checking for declaration of strtoull... no
checking for declaration of strtoumax... no
checking for libintl.h... yes
checking for gettext... yes
checking for textdomain... yes
checking for bindtextdomain... yes
checking for dlopen in -ldl... no
checking for dlopen... yes
checking for dlclose... no
checking for dlsym... yes
checking for sys_siglist declaration in signal.h or unistd.h... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for off_t... yes
checking for mode_t... yes
checking for uid_t in sys/types.h... (cached) yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for time_t... yes
checking for long long... long long
checking for unsigned long long... unsigned long long
checking return type of signal handlers... (cached) void
checking for char... yes
checking size of char...
checking for short... yes
checking size of short...
checking for int... yes
checking size of int...
checking for long... yes
checking size of long...
checking for char *... yes
checking size of char *...
checking for double... yes
checking size of double...
checking for long long... yes
checking size of long long...
checking for u_int... yes
checking for u_long... yes
checking for bits16_t... no
checking for u_bits16_t... no
checking for bits32_t... no
checking for u_bits32_t... no
checking for bits64_t... yes
checking for ptrdiff_t... no
checking whether stat file-mode macros are broken... no
checking whether #! works in shell scripts... yes
checking if dup2 fails to clear the close-on-exec flag... no
checking whether pgrps need synchronization... no
checking for type of signal functions... posix
checking for sys_errlist and sys_nerr... yes
checking for sys_siglist in system C library... no
checking for _sys_siglist in signal.h or unistd.h... yes
checking for _sys_siglist in system C library... no
checking whether signal handlers are of type void... yes
checking for clock_t... yes
checking for sigset_t... yes
checking for quad_t... yes
c
发表于 2003-6-1 22:32:00 | 显示全部楼层
su - lfs
 楼主| 发表于 2003-6-1 22:32:23 | 显示全部楼层
一頁顯示不出?,我上傳了附件!!謝謝!!

本帖子中包含更多资源

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

x
发表于 2003-6-1 22:44:10 | 显示全部楼层
./configure --enable-static-linl\
打错了
发表于 2003-6-1 22:44:21 | 显示全部楼层
./configure --enable-static-linl\
打错了
mv: cannot create regular file `lib/readline/Makefile': Permission denied
config.status: creating lib/glob/Makefile
权限也不对。
发表于 2003-6-2 12:10:32 | 显示全部楼层
没有chown吧,faq里面有一个关于编译时候loop的,可以看看。
 楼主| 发表于 2003-6-2 20:31:56 | 显示全部楼层
謝謝!!!現在用了chown,前面的問題解決了

configure: creating ./config.status
config.status: creating Makefile
config.status: creating builtins/Makefile
config.status: creating lib/readline/Makefile
config.status: creating lib/glob/Makefile
config.status: creating lib/malloc/Makefile
config.status: creating lib/sh/Makefile
config.status: creating lib/termcap/Makefile
config.status: creating lib/tilde/Makefile
config.status: creating doc/Makefile
config.status: creating support/Makefile
config.status: creating examples/loadables/Makefile
config.status: creating examples/loadables/perl/Makefile
config.status: creating config.h
[lfs@localhost bash]$ make
make: *** Warning: File `configure' has modification time in the future (2001-11-12 19:53:02 > 2000-01-01 00:33:52)
/bin/sh ./config.status --recheck
running /bin/sh ./configure  --enable-static-link--prefix=/static --with-curses  --no-create --no-recursion
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu

Beginning configuration for bash-2.05a for i686-pc-linux-gnu

執行make時,有個錯誤,然後就一直重複的做,然後又錯誤,又重複........

to tram,打錯了???我是跟著手冊做的,打錯了??可以告訴我嗎??
to doooom faq是指頂置的貼子嗎??我找不到,可以給個連接給我嗎,thx!!
发表于 2003-6-2 20:41:33 | 显示全部楼层
./configure --enable-static-linl\
打错了

这个应该是link,不是linl
呵呵。faq在http://lfs.cosoft.org.cn/faq
目前所有的文档在这里都有
注意我的签名档
 楼主| 发表于 2003-6-2 20:47:22 | 显示全部楼层
谢谢,那么这个错误是怎么回事??
 楼主| 发表于 2003-6-2 20:53:04 | 显示全部楼层
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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