|

楼主 |
发表于 2003-5-27 16:34:24
|
显示全部楼层
就在make时,
<20021023-1707/sh-utils-2.0# patch -Np1 -i ../sh-utils-2.0-hostname.patch &&
> ./configure --prefix=/usr &&
> make &&
> make install &&
> mv /usr/bin/{basename,date,echo,false,pwd} /bin &&
> mv /usr/bin/{sleep,stty,su,test,true,uname} /bin &&
> mv /usr/bin/chroot /usr/sbin
patching file man/Makefile.in
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file man/Makefile.in.rej
patching file src/Makefile.in
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/Makefile.in.rej
root:/static/src/lfs-packages-cvs-20021023-1707/sh-utils-2.0# ./configure --prefix=/usr && make &>
loading cache ./config.cache
checking host system type... (cached) i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gnutar... (cached) gtar
checking for perl5.003 or newer... no
configure: warning:
*** You don't seem to have perl5.003 or newer installed.
*** Because of that, you may be unable to regenerate certain files
*** if you modify the sources from which they are derived.
checking for gcc... (cached) gcc -s
checking whether the C compiler (gcc -s ) works... yes
checking whether the C compiler (gcc -s ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc -s accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -s -E
checking whether gcc -s needs -traditional... (cached) no
checking for ranlib... (cached) ranlib
checking for bison... (cached) bison -y
checking for AIX... no
checking for minix/config.h... (cached) no
checking build system type... (cached) i686-pc-linux-gnu
checking for getconf... (cached) getconf
checking for CFLAGS value to request large file support... (cached) -D_FILE_OFFSET_BITS=64
checking for LDFLAGS value to request large file support... (cached)
checking for LIBS value to request large file support... (cached)
checking for _FILE_OFFSET_BITS... (cached) 64
checking for _LARGEFILE_SOURCE... (cached) no
checking for _LARGE_FILES... (cached) no
checking for gcc -s option to accept ANSI C... (cached) none needed
checking for function prototypes... yes
checking for uname... (cached) yes
checking for chroot... (cached) yes
checking for gethostid... (cached) yes
checking for working const... (cached) yes
checking for ANSI C header files... (cached) yes
checking whether byte ordering is bigendian... (cached) no
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for member tm_zone in aggregate type struct tm... (cached) yes
checking whether stat file-mode macros are broken... (cached) no
checking for inttypes.h... (cached) yes
checking for unsigned long long... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking type of array argument to getgroups... (cached) gid_t
checking for unistd.h... (cached) yes
checking for mode_t... (cached) yes
checking for unistd.h... (cached) yes
checking for off_t... (cached) yes
checking for unistd.h... (cached) yes
checking for pid_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for unistd.h... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for ino_t... (cached) yes
checking for unistd.h... (cached) yes
checking for ssize_t... (cached) yes
checking for library containing gethostbyname... (cached) none required
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... (cached) yes
checking for working mktime... (cached) yes
checking for working memcmp... (cached) yes
checking whether we are using the GNU C Library... (cached) yes
checking for version 2 of the GNU C Library... (cached) yes
checking for strerror in -lcposix... (cached) no
checking whether to enable assertions... yes
checking for utime.h... (cached) yes
checking for struct utimbuf... (cached) yes
checking for d_type member in directory struct... (cached) yes
checking for d_ino member in directory struct... (cached) yes
checking whether free is declared... (cached) yes
checking whether lseek is declared... (cached) yes
checking whether malloc is declared... (cached) yes
checking whether memchr is declared... (cached) yes
checking whether realloc is declared... (cached) yes
checking whether stpcpy is declared... (cached) yes
checking whether strstr is declared... (cached) yes
checking for strerror... (cached) yes
checking for strerror_r... (cached) yes
checking for vprintf... (cached) yes
checking for doprnt... (cached) no
checking for ANSI C header files... (cached) yes
checking for bzero... (cached) yes
checking for bcopy... (cached) yes
checking for isascii... (cached) yes
checking for btowc... (cached) yes
checking for alloca.h... (cached) yes
checking for libintl.h... (cached) yes
checking for wctype.h... (cached) yes
checking for wchar.h... (cached) yes
checking for ANSI C header files... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for lchown... (cached) yes
checking for working chown... (cached) yes
checking for localtime_r... (cached) yes
checking whether lstat accepts an empty string... (cached) no
checking whether stat accepts an empty string... (cached) no
checking for working realloc... (cached) yes
checking for working malloc... (cached) yes
checking for string.h... (cached) yes
checking for working readdir... (cached) yes
checking whether clearerr_unlocked is declared... (cached) yes
checking for clearerr_unlocked... (cached) yes
checking whether feof_unlocked is declared... (cached) yes
checking for feof_unlocked... (cached) yes
checking whether ferror_unlocked is declared... (cached) yes
checking for ferror_unlocked... (cached) yes
checking whether fflush_unlocked is declared... (cached) yes
checking for fflush_unlocked... (cached) yes
checking whether fputc_unlocked is declared... (cached) yes
checking for fputc_unlocked... (cached) yes
checking whether fread_unlocked is declared... (cached) yes
checking for fread_unlocked... (cached) yes
checking whether fwrite_unlocked is declared... (cached) yes
checking for fwrite_unlocked... (cached) yes
checking whether getc_unlocked is declared... (cached) yes
checking for getc_unlocked... (cached) yes
checking whether getchar_unlocked is declared... (cached) yes
checking for getchar_unlocked... (cached) yes
checking whether putc_unlocked is declared... (cached) yes
checking for putc_unlocked... (cached) yes
checking whether putchar_unlocked is declared... (cached) yes
checking for putchar_unlocked... (cached) yes
checking for working fnmatch... (cached) yes
checking for AFS
checking for stdlib.h... (cached) yes
checking whether <inttypes.h> defines strtoumax as a macro... (cached) no
checking for strtoumax... (cached) yes
checking for working re_compile_pattern... (cached) yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... (cached) yes
checking for dup2... (cached) yes
checking for memchr... (cached) yes
checking for memmove... (cached) yes
checking for getpagesize... (cached) yes
checking whether setvbuf arguments are reversed... (cached) no
checking for getline... (cached) yes
checking for string.h... (cached) yes
checking for working getline function... (cached) yes
checking for strerror in -lcposix... (cached) no
checking for gethostbyname... (cached) yes
checking for gethostbyaddr... (cached) yes
checking for inet_ntoa... (cached) yes
checking for bcopy... (cached) yes
checking for endgrent... (cached) yes
checking for endpwent... (cached) yes
checking for ftime... (cached) yes
checking for getcwd... (cached) yes
checking for gettimeofday... (cached) yes
checking for isascii... (cached) yes
checking for localeconv... (cached) yes
checking for memcpy... (cached) yes
checking for mempcpy... (cached) yes
checking for sethostname... (cached) yes
checking for strchr... (cached) yes
checking for strrchr... (cached) yes
checking for strerror... (cached) yes
checking for sysinfo... (cached) yes
checking for tzset... (cached) yes
checking whether localtime caches TZ... (cached) no
checking for initgroups... (cached) yes
checking for syslog... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for float.h... (cached) yes
checking for limits.h... (cached) yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/systeminfo.h... (cached) no
checking for sys/time.h... (cached) yes
checking for sys/timeb.h... (cached) yes
checking for syslog.h... (cached) yes
checking for unistd.h... (cached) yes
checking for paths.h... (cached) yes
checking for termios.h... (cached) yes
checking for gethostname... (cached) yes
checking for getusershell... (cached) yes
checking for memcpy... (cached) yes
checking for memset... (cached) yes
checking for stime... (cached) yes
checking for strcspn... (cached) yes
checking for stpcpy... (cached) yes
checking for strstr... (cached) yes
checking for strtol... (cached) yes
checking for strtoul... (cached) yes
checking for group_member... (cached) yes
checking for SVID conformant putenv... (cached) yes
checking for error_at_line... (cached) yes
checking for localtime_r... (cached) yes
checking for sys/time.h... (cached) yes
checking for working GNU strftime... (cached) yes
checking for localtime_r... (cached) yes
checking for getgroups... (cached) yes
checking for working getgroups... (cached) yes
checking for vprintf... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for 3-argument setpriority function... (cached) yes
checking for utmpname... (cached) yes
checking ut_host in struct utmp... (cached) yes
checking if we can get the system boot time... (cached) yes
checking for pstat_getdynamic... (cached) no
checking for kstat_open in -lkstat... (cached) no
checking for elf_begin in -lelf... (cached) yes
checking for kvm_open in -lkvm... (cached) no
checking for getloadavg in -lutil... (cached) yes
checking for getloadavg... (cached) yes
checking whether getloadavg requires setgid... (cached) yes
checking group of /dev/kmem... (cached) /dev/kmem
checking for /proc/uptime... (cached) yes
checking POSIX termios... (cached) yes
checking whether use of TIOCGWINSZ requires termios.h... (cached) no
checking whether use of TIOCGWINSZ requires sys/ioctl.h... (cached) yes
checking whether termios.h needs _XOPEN_SOURCE... (cached) no
checking c_line in struct termios... (cached) yes
checking for sys/ptem.h... (cached) no
checking whether use of TIOCGWINSZ requires termios.h... (cached) no
checking for floor... (cached) yes
checking for modf... (cached) yes
checking for rint... (cached) yes
checking for working strtod... (cached) yes
checking for sqrt... (cached) no
checking for sqrt in -lm... (cached) yes
checking for library containing yp_match... (cached) no
checking for library containing getspnam... (cached) none required
checking for getspnam... (cached) yes
checking for library containing crypt... (cached) -lcrypt
checking for inline... (cached) inline
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_stringify... (cached) yes
checking for __argz_next... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... (cached) yes
checking for gettext in libc... (cached) yes
checking for msgfmt... (cached) no
checking whether catgets can be used... no
checking for msgfmt... (cached) no
checking for gmsgfmt... (cached) no
checking for xgettext... (cached) :
checking for catalogs to be installed... cs de el es fr it nl no pl pt pt_BR ru sk sv zh
creating ./config.status
creating Makefile
creating doc/Makefile
creating intl/Makefile
creating lib/Makefile
creating man/Makefile
creating m4/Makefile
creating po/Makefile.in
creating src/Makefile
creating tests/Makefile
creating tests/basename/Makefile
creating tests/date/Makefile
creating tests/factor/Makefile
creating tests/seq/Makefile
creating tests/stty/Makefile
creating tests/test/Makefile
creating config.h
config.h is unchanged
linking ./intl/libgettext.h to intl/libintl.h
make all-recursive
make[1]: Entering directory `/static/src/lfs-packages-cvs-20021023-1707/sh-utils-2.0'
Making all in lib
make[2]: Entering directory `/static/src/lfs-packages-cvs-20021023-1707/sh-utils-2.0/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/static/src/lfs-packages-cvs-20021023-1707/sh-utils-2.0/lib'
Making all in intl
make[2]: Entering directory `/static/src/lfs-packages-cvs-20021023-1707/sh-utils-2.0/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/static/src/lfs-packages-cvs-20021023-1707/sh-utils-2.0/intl'
Making all in src
make[2]: Entering directory `/static/src/lfs-packages-cvs-20021023-1707/sh-utils-2.0/src'
gcc -s -g -O2 -o uptime uptime.o ../intl/libintl.a ../lib/libsu.a -lutil -lelf
/static/bin/ld: cannot find -lelf
collect2: ld returned 1 exit status
make[2]: *** [uptime] Error 1
make[2]: Leaving directory `/static/src/lfs-packages-cvs-20021023-1707/sh-utils-2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/static/src/lfs-packages-cvs-20021023-1707/sh-utils-2.0'
make: *** [all-recursive-am] Error 2 |
|