root:/sources# tar zxf sed-4.1.5.tar.gz root:/sources# cd sed-4.1.5 root:/sources/sed-4.1.5# root:/sources/sed-4.1.5# ./configure --prefix=/usr --bindir=/bin --enable-html checking for a BSD-compatible install... /tools/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for library containing strerror... none required checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for long file names... yes checking whether -lcP is needed... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for io.h... no checking for limits.h... yes checking for locale.h... yes checking for stdarg.h... yes checking for alloca.h... yes checking for stddef.h... yes checking for errno.h... yes checking for wchar.h... yes checking for wctype.h... yes checking for sys/file.h... yes checking for mcheck.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for ssize_t... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for working alloca.h... yes checking for alloca... yes checking for vprintf... yes checking for _doprnt... no checking for getline... yes checking for working getline function... yes checking for obstacks... yes checking whether mbrtowc and mbstate_t are properly declared... yes checking for mbstate_t... yes checking for strverscmp... yes checking for memchr... yes checking for memcmp... yes checking for memmove... yes checking for strerror... yes checking for mkstemp... yes checking for isatty... yes checking for bcopy... yes checking for bzero... yes checking for isascii... yes checking for memcpy... yes checking for memset... yes checking for strchr... yes checking for strtoul... yes checking for popen... yes checking for pathconf... yes checking for isblank... yes checking for fchown... yes checking for fchmod... yes checking for setlocale... yes checking for wcrtomb... yes checking for wcscoll... yes checking for btowc... yes checking how to build HTML documentation... with makeinfo checking for msgfmt... /tools/bin/msgfmt checking for gmsgfmt... /tools/bin/msgfmt checking for xgettext... no checking for msgmerge... no checking build system type... sparc64-unknown-linux-gnu checking host system type... sparc64-unknown-linux-gnu checking for inline... inline checking for off_t... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking for limits.h... (cached) yes checking for locale.h... (cached) yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getc_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... (cached) yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... (cached) yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... no checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... yes configure: creating ./config.status config.status: creating bootstrap.sh config.status: creating Makefile config.status: creating doc/Makefile config.status: creating lib/Makefile config.status: creating sed/Makefile config.status: creating testsuite/Makefile config.status: creating po/Makefile.in config.status: creating intl/Makefile config.status: creating config.h config.status: linking ./lib/regex_.h to lib/regex.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing gettext-fix commands root:/sources/sed-4.1.5# root:/sources/sed-4.1.5# make make all-recursive make[1]: Entering directory `/sources/sed-4.1.5' Making all in intl make[2]: Entering directory `/sources/sed-4.1.5/intl' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/sources/sed-4.1.5/intl' Making all in lib make[2]: Entering directory `/sources/sed-4.1.5/lib' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -I../intl -g -O2 -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o getopt1.c; \ then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f ".deps/getopt1.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -I../intl -g -O2 -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; \ then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -I../intl -g -O2 -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o utils.c; \ then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -I../intl -g -O2 -MT regex.o -MD -MP -MF ".deps/regex.Tpo" -c -o regex.o regex.c; \ then mv -f ".deps/regex.Tpo" ".deps/regex.Po"; else rm -f ".deps/regex.Tpo"; exit 1; fi In file included from regex.c:61: regex_internal.h:111:1: warning: "__mempcpy" redefined In file included from /usr/include/string.h:423, from regex_internal.h:28, from regex.c:61: /usr/include/bits/string2.h:207:1: warning: this is the location of the previous definition rm -f libsed.a ar cru libsed.a getopt1.o getopt.o utils.o regex.o ranlib libsed.a make[2]: Leaving directory `/sources/sed-4.1.5/lib' Making all in po make[2]: Entering directory `/sources/sed-4.1.5/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/sources/sed-4.1.5/po' Making all in sed make[2]: Entering directory `/sources/sed-4.1.5/sed' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -I../intl -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -MT sed.o -MD -MP -MF ".deps/sed.Tpo" -c -o sed.o sed.c; \ then mv -f ".deps/sed.Tpo" ".deps/sed.Po"; else rm -f ".deps/sed.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -I../intl -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -MT compile.o -MD -MP -MF ".deps/compile.Tpo" -c -o compile.o compile.c; \ then mv -f ".deps/compile.Tpo" ".deps/compile.Po"; else rm -f ".deps/compile.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -I../intl -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -MT execute.o -MD -MP -MF ".deps/execute.Tpo" -c -o execute.o execute.c; \ then mv -f ".deps/execute.Tpo" ".deps/execute.Po"; else rm -f ".deps/execute.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -I../intl -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -MT regexp.o -MD -MP -MF ".deps/regexp.Tpo" -c -o regexp.o regexp.c; \ then mv -f ".deps/regexp.Tpo" ".deps/regexp.Po"; else rm -f ".deps/regexp.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -I../intl -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -MT fmt.o -MD -MP -MF ".deps/fmt.Tpo" -c -o fmt.o fmt.c; \ then mv -f ".deps/fmt.Tpo" ".deps/fmt.Po"; else rm -f ".deps/fmt.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -I../intl -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -MT mbcs.o -MD -MP -MF ".deps/mbcs.Tpo" -c -o mbcs.o mbcs.c; \ then mv -f ".deps/mbcs.Tpo" ".deps/mbcs.Po"; else rm -f ".deps/mbcs.Tpo"; exit 1; fi gcc -g -O2 -o sed sed.o compile.o execute.o regexp.o fmt.o mbcs.o ../lib/libsed.a make[2]: Leaving directory `/sources/sed-4.1.5/sed' Making all in doc make[2]: Entering directory `/sources/sed-4.1.5/doc' builddir=`pwd` && cd . && \ /bin/sh /sources/sed-4.1.5/config/missing --run makeinfo --html --no-split -o $builddir/sed.html sed.texi make[2]: Leaving directory `/sources/sed-4.1.5/doc' Making all in testsuite make[2]: Entering directory `/sources/sed-4.1.5/testsuite' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/sources/sed-4.1.5/testsuite' make[2]: Entering directory `/sources/sed-4.1.5' make[2]: Leaving directory `/sources/sed-4.1.5' make[1]: Leaving directory `/sources/sed-4.1.5' root:/sources/sed-4.1.5# root:/sources/sed-4.1.5# make install Making install in intl make[1]: Entering directory `/sources/sed-4.1.5/intl' if test "sed" = "gettext" \ && test '' = 'intl-compat.o'; then \ mkdir -p -- /usr/lib /usr/include; \ /tools/bin/install -c -m 644 libintl.h /usr/include/libintl.h; \ @LIBTOOL@ --mode=install \ /tools/bin/install -c -m 644 libintl.a /usr/lib/libintl.a; \ else \ : ; \ fi if test 'no' = yes; then \ test yes != no || mkdir -p -- /usr/lib; \ temp=/usr/lib/t-charset.alias; \ dest=/usr/lib/charset.alias; \ if test -f /usr/lib/charset.alias; then \ orig=/usr/lib/charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /tools/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ else \ if test yes = no; then \ orig=charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /tools/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ fi; \ fi; \ mkdir -p -- /usr/share/locale; \ test -f /usr/share/locale/locale.alias \ && orig=/usr/share/locale/locale.alias \ || orig=./locale.alias; \ temp=/usr/share/locale/t-locale.alias; \ dest=/usr/share/locale/locale.alias; \ sed -f ref-add.sed $orig > $temp; \ /tools/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ else \ : ; \ fi if test "sed" = "gettext"; then \ mkdir -p -- /usr/share/gettext/intl; \ /tools/bin/install -c -m 644 VERSION /usr/share/gettext/intl/VERSION; \ /tools/bin/install -c -m 644 ChangeLog.inst /usr/share/gettext/intl/ChangeLog; \ dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h plural-exp.h eval-plural.h os2compat.h libgnuintl.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c localename.c osdep.c os2compat.c intl-compat.c"; \ for file in $dists; do \ /tools/bin/install -c -m 644 ./$file \ /usr/share/gettext/intl/$file; \ done; \ chmod a+x /usr/share/gettext/intl/config.charset; \ dists="plural.c"; \ for file in $dists; do \ if test -f $file; then dir=.; else dir=.; fi; \ /tools/bin/install -c -m 644 $dir/$file \ /usr/share/gettext/intl/$file; \ done; \ dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c"; \ for file in $dists; do \ rm -f /usr/share/gettext/intl/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory `/sources/sed-4.1.5/intl' Making install in lib make[1]: Entering directory `/sources/sed-4.1.5/lib' make[2]: Entering directory `/sources/sed-4.1.5/lib' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/sources/sed-4.1.5/lib' make[1]: Leaving directory `/sources/sed-4.1.5/lib' Making install in po make[1]: Entering directory `/sources/sed-4.1.5/po' mkdir -p -- /usr/share installing af.gmo as /usr/share/locale/af/LC_MESSAGES/sed.mo installing ca.gmo as /usr/share/locale/ca/LC_MESSAGES/sed.mo installing cs.gmo as /usr/share/locale/cs/LC_MESSAGES/sed.mo installing da.gmo as /usr/share/locale/da/LC_MESSAGES/sed.mo installing de.gmo as /usr/share/locale/de/LC_MESSAGES/sed.mo installing el.gmo as /usr/share/locale/el/LC_MESSAGES/sed.mo installing eo.gmo as /usr/share/locale/eo/LC_MESSAGES/sed.mo installing es.gmo as /usr/share/locale/es/LC_MESSAGES/sed.mo installing et.gmo as /usr/share/locale/et/LC_MESSAGES/sed.mo installing fi.gmo as /usr/share/locale/fi/LC_MESSAGES/sed.mo installing fr.gmo as /usr/share/locale/fr/LC_MESSAGES/sed.mo installing ga.gmo as /usr/share/locale/ga/LC_MESSAGES/sed.mo installing gl.gmo as /usr/share/locale/gl/LC_MESSAGES/sed.mo installing he.gmo as /usr/share/locale/he/LC_MESSAGES/sed.mo installing hr.gmo as /usr/share/locale/hr/LC_MESSAGES/sed.mo installing hu.gmo as /usr/share/locale/hu/LC_MESSAGES/sed.mo installing id.gmo as /usr/share/locale/id/LC_MESSAGES/sed.mo installing it.gmo as /usr/share/locale/it/LC_MESSAGES/sed.mo installing ja.gmo as /usr/share/locale/ja/LC_MESSAGES/sed.mo installing ko.gmo as /usr/share/locale/ko/LC_MESSAGES/sed.mo installing nl.gmo as /usr/share/locale/nl/LC_MESSAGES/sed.mo installing pl.gmo as /usr/share/locale/pl/LC_MESSAGES/sed.mo installing pt_BR.gmo as /usr/share/locale/pt_BR/LC_MESSAGES/sed.mo installing ro.gmo as /usr/share/locale/ro/LC_MESSAGES/sed.mo installing ru.gmo as /usr/share/locale/ru/LC_MESSAGES/sed.mo installing sk.gmo as /usr/share/locale/sk/LC_MESSAGES/sed.mo installing sl.gmo as /usr/share/locale/sl/LC_MESSAGES/sed.mo installing sr.gmo as /usr/share/locale/sr/LC_MESSAGES/sed.mo installing sv.gmo as /usr/share/locale/sv/LC_MESSAGES/sed.mo installing tr.gmo as /usr/share/locale/tr/LC_MESSAGES/sed.mo installing zh_CN.gmo as /usr/share/locale/zh_CN/LC_MESSAGES/sed.mo if test "sed" = "gettext"; then \ mkdir -p -- /usr/share/gettext/po; \ for file in Makefile.in.in Makevars quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot ; do \ /tools/bin/install -c -m 644 ./$file \ /usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory `/sources/sed-4.1.5/po' Making install in sed make[1]: Entering directory `/sources/sed-4.1.5/sed' make[2]: Entering directory `/sources/sed-4.1.5/sed' test -z "/bin" || mkdir -p -- "/bin" /tools/bin/install -c 'sed' '/bin/sed' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/sources/sed-4.1.5/sed' make[1]: Leaving directory `/sources/sed-4.1.5/sed' Making install in doc make[1]: Entering directory `/sources/sed-4.1.5/doc' make[2]: Entering directory `/sources/sed-4.1.5/doc' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/info" || mkdir -p -- "/usr/info" /tools/bin/install -c -m 644 './sed.info' '/usr/info/sed.info' /tools/bin/install -c -m 644 './sed.info-1' '/usr/info/sed.info-1' /tools/bin/install -c -m 644 './sed.info-2' '/usr/info/sed.info-2' install-info --info-dir='/usr/info' '/usr/info/sed.info' test -z "/usr/man/man1" || mkdir -p -- "/usr/man/man1" /tools/bin/install -c -m 644 './sed.1' '/usr/man/man1/sed.1' test -z "/usr/share/doc/sed-4.1.5" || mkdir -p -- "/usr/share/doc/sed-4.1.5" /tools/bin/install -c -m 644 'sed.html' '/usr/share/doc/sed-4.1.5/sed.html' make[2]: Leaving directory `/sources/sed-4.1.5/doc' make[1]: Leaving directory `/sources/sed-4.1.5/doc' Making install in testsuite make[1]: Entering directory `/sources/sed-4.1.5/testsuite' make[2]: Entering directory `/sources/sed-4.1.5/testsuite' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/sources/sed-4.1.5/testsuite' make[1]: Leaving directory `/sources/sed-4.1.5/testsuite' make[1]: Entering directory `/sources/sed-4.1.5' make[2]: Entering directory `/sources/sed-4.1.5' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/sources/sed-4.1.5' make[1]: Leaving directory `/sources/sed-4.1.5' root:/sources/sed-4.1.5#