$ ./configure sh: ./configure: No such file or directory $ autoconf configure.in:27: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.in:28: error: possibly undefined macro: AM_CONFIG_HEADER configure.in:29: error: possibly undefined macro: AM_GNU_GETTEXT configure.in:33: error: possibly undefined macro: AM_PROG_LEX $ automake configure.in: `AM_INIT_AUTOMAKE' must be used automake: no proper implementation of AM_INIT_AUTOMAKE was found, automake: probably because aclocal.m4 is missing... automake: You should run aclocal to create this file, then automake: run automake again. configure.in: required file `./install-sh' not found configure.in: required file `./mkinstalldirs' not found configure.in: required file `./missing' not found Makefile.am: required file `./INSTALL' not found Makefile.am: required file `./ChangeLog' not found Makefile.am: required file `./depcomp' not found /usr/share/automake-1.7/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL Makefile.am: Lex source seen but `LEX' is undefined Makefile.am: Makefile.am: The usual way to define `LEX' is to add `AM_PROG_LEX' Makefile.am: to `configure.in' and run `aclocal' and `autoconf' again. Makefile.am:36: `YFLAGS' is a user variable, you should not override it; Makefile.am:36: use `AM_YFLAGS' instead. Makefile.am:81: required file `./mdate-sh' not found $ aclocal aclocal: configure.in: 29: macro `AM_GNU_GETTEXT' not found in library ?. need gettext to compile installed from gettext-0.11.5-2003.02.01-1.exe from http://prdownloads.sourceforge.net/mingw/ $ aclocal aclocal: configure.in: 29: macro `AM_GNU_GETTEXT' not found in library $ aclocal --help Usage: aclocal [OPTIONS] ... Generate `aclocal.m4' by scanning `configure.ac' or `configure.in' --acdir=DIR directory holding config files --help print this help, then exit -I DIR add directory to search list for .m4 files --output=FILE put output in FILE (default aclocal.m4) --print-ac-dir print name of directory holding m4 files --verbose don't be silent --version print version number, then exit Report bugs to . $ aclocal --print-ac-dir /usr/share/aclocal $ aclocal -I ./m4 aclocal: macro `gt_INTDIV0' required but not defined ?. aclocal looks in wrong directory http://sources.redhat.com/ml/automake/2002-09/msg00134.html $ aclocal -I /mingw/share/aclocal $ cp aclocal.m4 ../flex-2-5-10.files/ $ automake configure.in: required file `./install-sh' not found configure.in: required file `./mkinstalldirs' not found configure.in: required file `./missing' not found configure.in:29: required file `./config.guess' not found configure.in:29: required file `./config.sub' not found Makefile.am: required file `./INSTALL' not found Makefile.am: required file `./ChangeLog' not found configure.in:28: required file `./conf.in' not found Makefile.am: required file `./depcomp' not found Makefile.am:36: `YFLAGS' is a user variable, you should not override it; Makefile.am:36: use `AM_YFLAGS' instead. Makefile.am:81: required file `./mdate-sh' not found $ autoconf $ configure configure: error: cannot find install-sh or install.sh in . ./.. ./../.. ?. automake need additional files http://sourceware.org/autobook/autobook/autobook_25.html $ automake --add-missing configure.in: installing `./install-sh' configure.in: installing `./mkinstalldirs' configure.in: installing `./missing' configure.in:29: installing `./config.guess' configure.in:29: installing `./config.sub' Makefile.am: installing `./INSTALL' Makefile.am: required file `./ChangeLog' not found configure.in:28: required file `./conf.in' not found Makefile.am: installing `./depcomp' Makefile.am:36: `YFLAGS' is a user variable, you should not override it; Makefile.am:36: use `AM_YFLAGS' instead. Makefile.am:81: installing `./mdate-sh' $ autoconf $ configure checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for msgfmt... The dynamic link library libiconv-2.dll could not be found in the specified path ... no checking for gmsgfmt... The dynamic link library libiconv-2.dll could not be found in the specified path ... : checking for xgettext... The dynamic link library libiconv-2.dll could not be found in the specified path ... no checking for msgmerge... The dynamic link library libiconv-2.dll could not be found in the specified path ... no checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe ... checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating examples/Makefile config.status: creating examples/fastwc/Makefile config.status: creating examples/manual/Makefile config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: error: cannot find input file: po/Makefile.in.in ?. not enough files - po/Makefile.in.in is misssing http://cvs.sourceforge.net/viewcvs.py/flex/flex/po/ no Makefile.in.in on CVS ?. file must be generated $ autogen.sh aclocal: macro `gt_INTDIV0' required but not defined $ cat autogen.sh #!/bin/sh # This file is part of flex. # Redistribution and use in source and binary forms, with or without ... touch ChangeLog aclocal -I m4 && autoheader && automake -a && autoconf $ ls -o aclocal.m4 -rw-r--r-- 1 user 105167 May 11 22:18 aclocal.m4 $ aclocal -I /mingw/share/aclocal -I m4 $ ls -o aclocal.m4 -rw-r--r-- 1 user 105167 May 11 22:24 aclocal.m4 $ aclocal -I m4 -I /mingw/share/aclocal $ ls -o aclocal.m4 -rw-r--r-- 1 user 97694 May 11 22:25 aclocal.m4 ?. wtf autoheader http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_node/autoconf_29.html $ autoheader $ automake -a Makefile.am:36: `YFLAGS' is a user variable, you should not override it; Makefile.am:36: use `AM_YFLAGS' instead. $ autoconf $ ./configure checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk ... config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: error: cannot find input file: po/Makefile.in.in $ find / -name Makefile.in.in /mingw/share/gettext/po/Makefile.in.in $ cp /mingw/share/gettext/po/Makefile.in.in po/ ?. why not add Makefile.in.in in CVS or in autogen.sh $ ./configure checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk ... config.status: creating tests/test-posixly-correct/Makefile config.status: creating config.h config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands $ make /bin/sh ./mkskel.sh ./flex.skl >skel.c make all-recursive make[1]: Entering directory `/src/CVS/flex-2-5-10' Making all in m4 make[2]: Entering directory `/src/CVS/flex-2-5-10/m4' ... then mv ".deps/misc.Tpo" ".deps/misc.Po"; \ else rm -f ".deps/misc.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include -g -O2 -MT nfa.o -MD -MP -MF ".deps/nfa.Tpo" \ -c -o nfa.o `test -f 'nfa.c' || echo './'`nfa.c; \ then mv ".deps/nfa.Tpo" ".deps/nfa.Po"; \ else rm -f ".deps/nfa.Tpo"; exit 1; \ fi bison -y -d `test -f 'parse.y' || echo './'`parse.y c:/usr/local/lib/bison.simple: No such file or directory d:\utils\bison.exe: make[2]: *** [parse.c] Error 2 make[2]: Leaving directory `/src/CVS/flex-2-5-10' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/src/CVS/flex-2-5-10' make: *** [all] Error 2 ?. bison needed to get parse.c from parse.y bison-2.0-MSYS.tar.gz from http://prdownloads.sourceforge.net/mingw/ ?. why not to add parse.c to CVS $ make make all-recursive make[1]: Entering directory `/src/CVS/flex-2-5-10' Making all in m4 ... bison -y -d `test -f 'parse.y' || echo './'`parse.y bison: cannot open file `/usr/share/bison/m4sugar/m4sugar.m4': No such file or directory make[2]: *** [parse.c] Error 1 make[2]: Leaving directory `/src/CVS/flex-2-5-10' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/src/CVS/flex-2-5-10' make: *** [all] Error 2 $ ln -s /mingw/share/bison /usr/share/bison $ make make all-recursive ... then mv ".deps/parse.Tpo" ".deps/parse.Po"; \ else rm -f ".deps/parse.Tpo"; exit 1; \ fi /bin/sh /src/CVS/flex-2-5-10/missing --run flex `test -f scan.l || echo './'`scan.l /src/CVS/flex-2-5-10/missing: flex: command not found WARNING: `flex' is missing on your system. You should only need it if you modified a `.l' file. You may need the `Flex' package in order for those modifications to take effect. You can get `Flex' from any GNU archive site. sed '/^#/ s|\.c|scan.c|' .c >scan.c sed: can't read .c: No such file or directory make[2]: *** [scan.c] Error 2 make[2]: Leaving directory `/src/CVS/flex-2-5-10' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/src/CVS/flex-2-5-10' make: *** [all] Error 2 ?. you need flex to build flex - scan.c from scan.y http://www.mingw.org/MinGWiki/index.php/flex ?. why not to add scan.c to CVS $ make make all-recursive ... make[2]: Leaving directory `/src/CVS/flex-2-5-10/po' make[2]: Entering directory `/src/CVS/flex-2-5-10' if gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include -g -O2 -MT scan.o -MD -MP -MF ".deps/scan.Tpo" \ -c -o scan.o `test -f 'scan.c' || echo './'`scan.c; \ then mv ".deps/scan.Tpo" ".deps/scan.Po"; \ else rm -f ".deps/scan.Tpo"; exit 1; \ fi gcc -g -O2 -o flex.exe ccl.o dfa.o ecs.o gen.o main.o misc.o nfa.o parse.o scan.o skel.o sym.o tblcmp.o yylex.o options.o scanopt.o buf.o dfa.o(.text+0x1569): In function `ntod': D:/MSYS/src/CVS/flex-2-5-10/dfa.c:782: undefined reference to `flex_free' dfa.o(.text+0x1577):D:/MSYS/src/CVS/flex-2-5-10/dfa.c:783: undefined reference to `flex_free' dfa.o(.text+0x1948):D:/MSYS/src/CVS/flex-2-5-10/dfa.c:782: undefined reference to `flex_free' dfa.o(.text+0x1956):D:/MSYS/src/CVS/flex-2-5-10/dfa.c:783: undefined reference to `flex_free' dfa.o(.text+0x19c2):D:/MSYS/src/CVS/flex-2-5-10/dfa.c:782: undefined reference to `flex_free' dfa.o(.text+0x19d0):D:/MSYS/src/CVS/flex-2-5-10/dfa.c:783: more undefined references to `flex_free' follow gen.o(.text+0x27da): In function `make_tables': D:/MSYS/src/CVS/flex-2-5-10/gen.c:1665: undefined reference to `flexscan' main.o(.text+0x38c4): In function `flexinit': D:/MSYS/src/CVS/flex-2-5-10/main.c:1374: undefined reference to `set_input_file' misc.o(.text+0x51f): In function `copy_string': D:/MSYS/src/CVS/flex-2-5-10/misc.c:214: undefined reference to `flex_alloc' misc.o(.text+0x574): In function `allocate_array': D:/MSYS/src/CVS/flex-2-5-10/misc.c:98: undefined reference to `flex_alloc' misc.o(.text+0xc1b): In function `reallocate_array': D:/MSYS/src/CVS/flex-2-5-10/misc.c:773: undefined reference to `flex_realloc' misc.o(.text+0x111e): In function `yy_flex_xmalloc': D:/MSYS/src/CVS/flex-2-5-10/misc.c:888: undefined reference to `flex_alloc' sym.o(.text+0x82): In function `addsym': D:/MSYS/src/CVS/flex-2-5-10/sym.c:97: undefined reference to `flex_alloc' yylex.o(.text+0xd1): In function `yylex': D:/MSYS/src/CVS/flex-2-5-10/yylex.c:50: undefined reference to `flexscan' yylex.o(.text+0x1f9):D:/MSYS/src/CVS/flex-2-5-10/yylex.c:186: undefined reference to `yytext' yylex.o(.text+0x25b):D:/MSYS/src/CVS/flex-2-5-10/yylex.c:203: undefined reference to `yytext' buf.o(.text+0x54): In function `buf_destroy': D:/MSYS/src/CVS/flex-2-5-10/buf.c:96: undefined reference to `flex_free' collect2: ld returned 1 exit status make[2]: *** [flex.exe] Error 1 make[2]: Leaving directory `/src/CVS/flex-2-5-10' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/src/CVS/flex-2-5-10' make: *** [all] Error 2 $ ls -o scan.* -rw-r--r-- 1 user 0 May 13 09:02 scan.c -rw-r--r-- 1 user 18090 Jul 17 2002 scan.l -rw-r--r-- 1 user 1726 May 13 09:03 scan.o $ rm scan.c $ make ... make[2]: Entering directory `/src/CVS/flex-2-5-10' /bin/sh /src/CVS/flex-2-5-10/missing --run flex `test -f scan.l || echo './'`scan.l sed '/^#/ s|\.c|scan.c|' .c >scan.c sed: can't read .c: No such file or directory make[2]: *** [scan.c] Error 2 make[2]: Leaving directory `/src/CVS/flex-2-5-10' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/src/CVS/flex-2-5-10' make: *** [all] Error 2 $ ls -o scan.c -rw-r--r-- 1 user 0 May 13 09:05 scan.c $ configure ... config.status: executing depfiles commands $ make clean $ rm parse.c $ make make all-recursive ... then mv ".deps/buf.Tpo" ".deps/buf.Po"; \ else rm -f ".deps/buf.Tpo"; exit 1; \ fi gcc -g -O2 -o flex.exe ccl.o dfa.o ecs.o gen.o main.o misc.o nfa.o parse.o scan.o skel.o sym.o tblcmp.o yylex.o options.o scanopt.o buf.o for i in flex.1 ; do \ ./missing --name='fast lexical analyzer generator' --section=`echo $i|rev|cut -f 1 -d .|rev` ./flex > $i ; \ done /bin/sh: rev: command not found /bin/sh: rev: command not found ./missing: Unknown `--name=fast lexical analyzer generator' option Try `./missing --help' for more information make[2]: *** [flex.1] Error 1 make[2]: Leaving directory `/src/CVS/flex-2-5-10' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/src/CVS/flex-2-5-10' make: *** [all] Error 2 .? Makefile analysis shows what the tool we are actually missing is help2man http://www.gnu.org/software/help2man/ "help2man is a tool for automatically generating simple manual pages from program output." well this is not needed to build flex.exe $ vim Makefile ... #$(man_MANS): $(srcdir)/main.c # for i in $(man_MANS) ; do \ # $(help2man) --name='fast lexical analyzer generator' --section=`echo $$i|rev|cut -f 1 -d .|rev` ./flex > $$i ; \ # done ... $ make clean $ make ... then mv ".deps/buf.Tpo" ".deps/buf.Po"; \ else rm -f ".deps/buf.Tpo"; exit 1; \ fi gcc -g -O2 -o flex.exe ccl.o dfa.o ecs.o gen.o main.o misc.o nfa.o parse.o scan.o skel.o sym.o tblcmp.o yylex.o options.o scanopt.o buf.o make[2]: Leaving directory `/src/CVS/flex-2-5-10' make[1]: Leaving directory `/src/CVS/flex-2-5-10' $ ls -o flex.exe -rwxr-xr-x 1 user 354924 May 13 12:31 flex.exe $ make install Making install in m4 make[1]: Entering directory `/src/CVS/flex-2-5-10/m4' make[2]: Entering directory `/src/CVS/flex-2-5-10/m4' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/src/CVS/flex-2-5-10/m4' ... make[2]: Leaving directory `/src/CVS/flex-2-5-10/examples' make[1]: Leaving directory `/src/CVS/flex-2-5-10/examples' Making install in po make[1]: Entering directory `/src/CVS/flex-2-5-10/po' if test "flex" = "gettext"; then \ /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/local/share/gettext/po; \ for file in Makefile.in.in Makevars remove-potcdate.sin ; do \ /bin/install -c -m 644 ./$file \ /usr/local/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory `/src/CVS/flex-2-5-10/po' make[1]: Entering directory `/src/CVS/flex-2-5-10' make[2]: Entering directory `/src/CVS/flex-2-5-10' /bin/sh ./mkinstalldirs /usr/local/bin mkdir -p -- /usr/local/bin /bin/install -c flex.exe /usr/local/bin/flex.exe /bin/sh ./mkinstalldirs /usr/local/lib mkdir -p -- /usr/local/lib /bin/install -c -m 644 libfl.a /usr/local/lib/libfl.a ranlib /usr/local/lib/libfl.a /bin/sh ./mkinstalldirs /usr/local/include mkdir -p -- /usr/local/include /bin/install -c -m 644 FlexLexer.h /usr/local/include/FlexLexer.h /bin/sh ./mkinstalldirs /usr/local/info mkdir -p -- /usr/local/info /bin/install -c -m 644 ./flex.info /usr/local/info/flex.info /bin/install -c -m 644 ./flex.info-1 /usr/local/info/flex.info-1 /bin/install -c -m 644 ./flex.info-2 /usr/local/info/flex.info-2 /bin/install -c -m 644 ./flex.info-3 /usr/local/info/flex.info-3 /bin/install -c -m 644 ./flex.info-4 /usr/local/info/flex.info-4 /bin/install -c -m 644 ./flex.info-5 /usr/local/info/flex.info-5 /bin/install -c -m 644 ./flex.info-6 /usr/local/info/flex.info-6 install-info --info-dir=/usr/local/info /usr/local/info/flex.info /bin/sh ./mkinstalldirs /usr/local/man/man1 mkdir -p -- /usr/local/man/man1 /bin/install -c -m 644 ./flex.1 /usr/local/man/man1/flex.1 make[2]: Leaving directory `/src/CVS/flex-2-5-10' make[1]: Leaving directory `/src/CVS/flex-2-5-10' $ rcs2log -l 72 -u "vern Vern vern@ee.lbl.gov" -u "wlestes W. L. Estes wlestes@uncg.edu" -u "millaway John Millaway millaway@acm.org" | sed s:/usr/local/cvsroot/flex/::g >ChangeLog for user anonymousion failed: server cvs.sourceforge.net rejected access to /cvsroot/flex cvs log: used empty password; try "cvs login" with a real password { test ! -d flex-2.5.10 || { find flex-2.5.10 -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr flex-2.5.10; }; } mkdir flex-2.5.10 /bin/sh ./mkinstalldirs flex-2.5.10/po mkdir -p -- flex-2.5.10/po list='m4 examples po tests'; for subdir in $list; do \ if test "$subdir" = .; then :; else \ test -d flex-2.5.10/$subdir \ || mkdir flex-2.5.10/$subdir \ || exit 1; \ (cd $subdir && \ make \ top_distdir="." \ distdir=../flex-2.5.10/$subdir \ distdir) \ || exit 1; \ fi; \ done make[1]: Entering directory `/src/CVS/flex-2-5-10/m4' make[1]: Leaving directory `/src/CVS/flex-2-5-10/m4' make[1]: Entering directory `/src/CVS/flex-2-5-10/examples' list='manual fastwc'; for subdir in $list; do \ if test "$subdir" = .; then :; else \ test -d ../flex-2.5.10/examples/$subdir \ || mkdir ../flex-2.5.10/examples/$subdir \ || exit 1; \ (cd $subdir && \ make \ top_distdir="." \ distdir=../../flex-2.5.10/examples/$subdir \ distdir) \ || exit 1; \ fi; \ done make[2]: Entering directory `/src/CVS/flex-2-5-10/examples/manual' make[2]: Leaving directory `/src/CVS/flex-2-5-10/examples/manual' make[2]: Entering directory `/src/CVS/flex-2-5-10/examples/fastwc' make[2]: Leaving directory `/src/CVS/flex-2-5-10/examples/fastwc' make[1]: Leaving directory `/src/CVS/flex-2-5-10/examples' make[1]: Entering directory `/src/CVS/flex-2-5-10/po' make update-po make[2]: Entering directory `/src/CVS/flex-2-5-10/po' make flex.pot-update make[3]: Entering directory `/src/CVS/flex-2-5-10/po' make[3]: *** No rule to make target `remove-potcdate.sin', needed by `remove-potcdate.sed'. Stop. make[3]: Leaving directory `/src/CVS/flex-2-5-10/po' make[2]: *** [update-po] Error 2 make[2]: Leaving directory `/src/CVS/flex-2-5-10/po' make[1]: *** [distdir] Error 2 make[1]: Leaving directory `/src/CVS/flex-2-5-10/po' make: *** [distdir] Error 1 .? again that gettext stuff, it is obvious that this file copy must be made automatically. somehow.. http://www.nada.kth.se/cgi-bin/info?(gettext)gettextize%20Invocation $ gettextize --help Usage: gettextize [OPTION]... [package-dir] Prepares a source package to use gettext. Options: --help print this help and exit --version print version information and exit -c, --copy copy files instead of making symlinks -f, --force force writing of new files even if old exist --intl install libintl in a subdirectory --no-changelog don't update or create ChangeLog files -n, --dry-run print modifications but don't perform them Report bugs to . $ gettextize -n gettextize: *** po/Makefile.in.in exists: use option -f if you really want to delete it. gettextize: *** Stop. $ rm po/Makefile.in.in $ rm ABOUT-NLS $ gettextize -n Symlink file ABOUT-NLS Symlink file config.rpath Symlink file mkinstalldirs Not copying intl/ directory. Symlink file po/Makefile.in.in Symlink file po/Makevars.template /mingw/bin/gettextize: /src/CVS/flex-2-5-10/po/Makevars.template: No such file or directory Symlink file po/Rules-quot Symlink file po/boldquot.sed Symlink file po/en@boldquot.header Symlink file po/en@quot.header Symlink file po/insert-header.sin Symlink file po/quot.sed Symlink file po/remove-potcdate.sin Create po/ChangeLog Symlink file m4/codeset.m4 Symlink file m4/gettext.m4 Symlink file m4/glibc21.m4 Symlink file m4/iconv.m4 Symlink file m4/intdiv0.m4 Symlink file m4/inttypes.m4 Symlink file m4/inttypes_h.m4 Symlink file m4/inttypes-pri.m4 Symlink file m4/isc-posix.m4 Symlink file m4/lcmessage.m4 Symlink file m4/lib-ld.m4 Symlink file m4/lib-link.m4 Symlink file m4/lib-prefix.m4 Symlink file m4/progtest.m4 Symlink file m4/stdint_h.m4 Symlink file m4/uintmax_t.m4 Symlink file m4/ulonglong.m4 Update EXTRA_DIST in m4/Makefile.am Create m4/ChangeLog Update configure.in Add an entry to ChangeLog $ gettextize -c Copying file ABOUT-NLS Copying file config.rpath Copying file mkinstalldirs Not copying intl/ directory. Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/en@boldquot.header Copying file po/en@quot.header Copying file po/insert-header.sin Copying file po/quot.sed Copying file po/remove-potcdate.sin Creating po/ChangeLog Copying file m4/codeset.m4 Copying file m4/gettext.m4 Copying file m4/glibc21.m4 Copying file m4/iconv.m4 Copying file m4/intdiv0.m4 Copying file m4/inttypes.m4 Copying file m4/inttypes_h.m4 Copying file m4/inttypes-pri.m4 Copying file m4/isc-posix.m4 Copying file m4/lcmessage.m4 Copying file m4/lib-ld.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/progtest.m4 Copying file m4/stdint_h.m4 Copying file m4/uintmax_t.m4 Copying file m4/ulonglong.m4 Updating EXTRA_DIST in m4/Makefile.am (backup is in m4/Makefile.am~) Creating m4/ChangeLog Updating configure.in (backup is in configure.in~) Adding an entry to ChangeLog (backup is in ChangeLog~) Please use AM_GNU_GETTEXT([external]) in order to cause autoconfiguration to look for an external libintl. Please run 'aclocal -I m4' to regenerate the aclocal.m4 file. You need aclocal from GNU automake 1.5 (or newer) to do this. Then run 'autoconf' to regenerate the configure file. You might also want to copy the convenience header file gettext.h from the /mingw/share/gettext directory into your package. It is a wrapper around that implements the configure --disable-nls option. Press Return to acknowledge the previous three paragraphs. $ cat ChangeLog 2006-05-13 gettextize * configure.in (AC_CONFIG_FILES): Add po/Makefile.in. $ cat m4/Changelog 2006-05-13 gettextize * codeset.m4: Upgrade to gettext-0.11.5. * gettext.m4: Upgrade to gettext-0.11.5. * glibc21.m4: Upgrade to gettext-0.11.5. * iconv.m4: Upgrade to gettext-0.11.5. * intdiv0.m4: New file, from gettext-0.11.5. * inttypes.m4: New file, from gettext-0.11.5. * inttypes_h.m4: New file, from gettext-0.11.5. * inttypes-pri.m4: New file, from gettext-0.11.5. * isc-posix.m4: Upgrade to gettext-0.11.5. * lcmessage.m4: Upgrade to gettext-0.11.5. * lib-ld.m4: Upgrade to gettext-0.11.5. * lib-link.m4: Upgrade to gettext-0.11.5. * lib-prefix.m4: Upgrade to gettext-0.11.5. * progtest.m4: Upgrade to gettext-0.11.5. * stdint_h.m4: New file, from gettext-0.11.5. * uintmax_t.m4: New file, from gettext-0.11.5. * ulonglong.m4: New file, from gettext-0.11.5. * Makefile.am (EXTRA_DIST): Add the new files. $ diff -wu3 configure.in~ configure.in --- configure.in~ Wed Jul 24 17:57:50 2002 +++ configure.in Sat May 13 13:09:50 2006 @@ -42,7 +42,7 @@ AC_HEADER_STDC AC_CHECK_HEADERS(string.h malloc.h sys/types.h unistd.h stdbool.h) -AC_CONFIG_FILES( +AC_CONFIG_FILES( po/Makefile.in Makefile examples/Makefile examples/fastwc/Makefile $ diff -wu3 m4/Makefile.am~ m4/Makefile.am --- m4/Makefile.am~ Tue Mar 12 19:18:10 2002 +++ m4/Makefile.am Sat May 13 13:09:50 2006 @@ -1 +1 @@ -EXTRA_DIST = codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 progtest.m4 +EXTRA_DIST = intdiv0.m4 inttypes.m4 inttypes_h.m4 inttypes-pri.m4 stdint_h.m4 uintmax_t.m4 ulonglong.m4 codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 progtest.m4 $ make dist cd . && /bin/sh /src/CVS/flex-2-5-10/missing --run aclocal-1.7 -I m4 cd . && \ /bin/sh /src/CVS/flex-2-5-10/missing --run automake-1.7 --gnits Makefile configure.in:83: error: `po/Makefile.in' is already registered with AC_CONFIG_FILES. autoconf/status.m4:844: AC_CONFIG_FILES is expanded from... configure.in:83: the top level autom4te: /bin/m4 failed with exit status: 1 configure.in: `AM_INIT_AUTOMAKE' must be used automake-1.7: your implementation of AM_INIT_AUTOMAKE comes from an automake-1.7: old Automake version. You should recreate aclocal.m4 automake-1.7: with aclocal and run automake again. Makefile.am:48: library used but `RANLIB' is undefined Makefile.am:48: Makefile.am:48: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB' Makefile.am:48: to `configure.in' and run `autoconf' again. /usr/share/automake-1.7/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL Makefile.am: C source seen but `CC' is undefined Makefile.am: Makefile.am: The usual way to define `CC' is to add `AC_PROG_CC' Makefile.am: to `configure.in' and run `autoconf' again. Makefile.am: Lex source seen but `LEX' is undefined Makefile.am: Makefile.am: The usual way to define `LEX' is to add `AM_PROG_LEX' Makefile.am: to `configure.in' and run `aclocal' and `autoconf' again. Makefile.am: Yacc source seen but `YACC' is undefined Makefile.am: Makefile.am: The usual way to define `YACC' is to add `AC_PROG_YACC' Makefile.am: to `configure.in' and run `autoconf' again. Makefile.am:36: `YFLAGS' is a user variable, you should not override it; Makefile.am:36: use `AM_YFLAGS' instead. automake-1.7: version `' doesn't follow Gnits standards make: *** [Makefile.in] Error 1 .? wtf $ aclocal -I m4 $ autoheader configure.in:83: error: `po/Makefile.in' is already registered with AC_CONFIG_FILES. autoconf/status.m4:844: AC_CONFIG_FILES is expanded from... configure.in:83: the top level autom4te: /bin/m4 failed with exit status: 1 autoheader: /usr/bin/autom4te failed with exit status: 1 $ grep "po/Makefile.in" configure.in AC_CONFIG_FILES( po/Makefile.in po/Makefile.in $ mv configure.in~ configure.in $ autoheader $ automake -a Makefile.am:36: `YFLAGS' is a user variable, you should not override it; Makefile.am:36: use `AM_YFLAGS' instead. $ autoconf $ make clean /bin/sh ./config.status --recheck running /bin/sh ./configure --no-create --no-recursion checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for msgfmt... no ... checking stdbool.h presence... yes checking for stdbool.h... yes configure: creating ./config.status cd . && /bin/sh ./config.status Makefile depfiles config.status: creating Makefile config.status: executing depfiles commands Making clean in po make[1]: Entering directory `/src/CVS/flex-2-5-10/po' cd .. \ && CONFIG_FILES=po/Makefile.in CONFIG_HEADERS= \ /bin/sh ./config.status config.status: creating po/Makefile.in config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands make[1]: Leaving directory `/src/CVS/flex-2-5-10/po' make[1]: Entering directory `/src/CVS/flex-2-5-10/po' rm -f *.insert-header rm -f remove-potcdate.sed rm -f core core.* flex.po flex.1po flex.2po *.new.po rm -fr *.o make[1]: Leaving directory `/src/CVS/flex-2-5-10/po' Making clean in examples make[1]: Entering directory `/src/CVS/flex-2-5-10/examples' cd .. && /bin/sh ./config.status examples/Makefile ... make[1]: Leaving directory `/src/CVS/flex-2-5-10/m4' Making clean in . make[1]: Entering directory `/src/CVS/flex-2-5-10' test -z "flex.exe" || rm -f flex.exe test -z "libfl.a" || rm -f libfl.a rm -f flex.aux flex.cp flex.cps flex.ex flex.fn flex.fns flex.hk flex.ky \ flex.log flex.pg flex.tmp flex.toc flex.tp flex.tps flex.vr \ flex.vrs flex.dvi flex.pdf flex.ps rm -f *.o core *.core rm -f vti.tmp make[1]: Leaving directory `/src/CVS/flex-2-5-10' $ make cd . && /bin/sh /src/CVS/flex-2-5-10/missing --run autoheader touch ./conf.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive make[1]: Entering directory `/src/CVS/flex-2-5-10' Making all in m4 ... else rm -f ".deps/buf.Tpo"; exit 1; \ fi gcc -g -O2 -o flex.exe ccl.o dfa.o ecs.o gen.o main.o misc.o nfa.o parse.o scan.o skel.o sym.o tblcmp.o yylex.o options.o scanopt.o buf.o make[2]: Leaving directory `/src/CVS/flex-2-5-10' make[1]: Leaving directory `/src/CVS/flex-2-5-10' .? now with a new flex version new scan.c and flex.exe will different run the process once more $ make install ... $ ls -o /usr/local/bin/flex.exe -rwxr-xr-x 1 user 357846 May 13 13:42 /usr/local/bin/flex.exe $ make clean ... $ make distclean ... $ make make: *** No targets specified and no makefile found. Stop. $ ./autogen.sh Makefile.am:36: `YFLAGS' is a user variable, you should not override it; Makefile.am:36: use `AM_YFLAGS' instead. $ ./configure ... $ make $ ls -o flex.exe -rwxr-xr-x 1 user 357846 May 13 14:08 flex.exe $ make dist rcs2log -l 72 -u "vern Vern vern@ee.lbl.gov" -u "wlestes W. L. Estes wlestes@uncg.edu" -u "millaway John Millaway millaway@acm.org" | sed s:/usr/local/cvsroot/flex/::g >ChangeLog cvs [log aborted]: recv() from server cvs.sourceforge.net: EOF { test ! -d flex-2.5.10 || { find flex-2.5.10 -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr flex-2.5.10; }; } mkdir flex-2.5.10 /bin/sh ./mkinstalldirs flex-2.5.10/po mkdir flex-2.5.10/po list='m4 examples po tests'; for subdir in $list; do \ if test "$subdir" = .; then :; else \ test -d flex-2.5.10/$subdir \ || mkdir flex-2.5.10/$subdir \ || exit 1; \ (cd $subdir && \ make \ top_distdir="." \ distdir=../flex-2.5.10/$subdir \ distdir) \ || exit 1; \ fi; \ done make[1]: Entering directory `/src/CVS/flex-2-5-10/m4' make[1]: Leaving directory `/src/CVS/flex-2-5-10/m4' make[1]: Entering directory `/src/CVS/flex-2-5-10/examples' list='manual fastwc'; for subdir in $list; do \ if test "$subdir" = .; then :; else \ test -d ../flex-2.5.10/examples/$subdir \ || mkdir ../flex-2.5.10/examples/$subdir \ || exit 1; \ (cd $subdir && \ make \ top_distdir="." \ distdir=../../flex-2.5.10/examples/$subdir \ distdir) \ || exit 1; \ fi; \ done make[2]: Entering directory `/src/CVS/flex-2-5-10/examples/manual' make[2]: Leaving directory `/src/CVS/flex-2-5-10/examples/manual' make[2]: Entering directory `/src/CVS/flex-2-5-10/examples/fastwc' make[2]: Leaving directory `/src/CVS/flex-2-5-10/examples/fastwc' make[1]: Leaving directory `/src/CVS/flex-2-5-10/examples' make[1]: Entering directory `/src/CVS/flex-2-5-10/po' make update-po make[2]: Entering directory `/src/CVS/flex-2-5-10/po' make flex.pot-update make[3]: Entering directory `/src/CVS/flex-2-5-10/po' sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed mv t-remove-potcdate.sed remove-potcdate.sed : --default-domain=flex --directory=.. \ --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \ --files-from=./POTFILES.in \ --copyright-holder='' test ! -f flex.po || { \ if test -f ./flex.pot; then \ sed -f remove-potcdate.sed < ./flex.pot > flex.1po && \ sed -f remove-potcdate.sed < flex.po > flex.2po && \ if cmp flex.1po flex.2po >/dev/null 2>&1; then \ rm -f flex.1po flex.2po flex.po; \ else \ rm -f flex.1po flex.2po ./flex.pot && \ mv flex.po ./flex.pot; \ fi; \ else \ mv flex.po ./flex.pot; \ fi; \ } make[3]: Leaving directory `/src/CVS/flex-2-5-10/po' make ca.po-update da.po-update es.po-update ru.po-update sv.po-update tr.po-update fr.po-update ko.po-update make[3]: Entering directory `/src/CVS/flex-2-5-10/po' ca: msgmerge ca.po flex.pot -o ca.new.po msgmerge for ca.po failed! da: msgmerge da.po flex.pot -o da.new.po msgmerge for da.po failed! es: msgmerge es.po flex.pot -o es.new.po msgmerge for es.po failed! ru: msgmerge ru.po flex.pot -o ru.new.po msgmerge for ru.po failed! sv: msgmerge sv.po flex.pot -o sv.new.po msgmerge for sv.po failed! tr: msgmerge tr.po flex.pot -o tr.new.po msgmerge for tr.po failed! fr: msgmerge fr.po flex.pot -o fr.new.po msgmerge for fr.po failed! ko: msgmerge ko.po flex.pot -o ko.new.po msgmerge for ko.po failed! make[3]: Leaving directory `/src/CVS/flex-2-5-10/po' make update-gmo make[3]: Entering directory `/src/CVS/flex-2-5-10/po' make flex.pot-update make[4]: Entering directory `/src/CVS/flex-2-5-10/po' : --default-domain=flex --directory=.. \ --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \ --files-from=./POTFILES.in \ --copyright-holder='' test ! -f flex.po || { \ if test -f ./flex.pot; then \ sed -f remove-potcdate.sed < ./flex.pot > flex.1po && \ sed -f remove-potcdate.sed < flex.po > flex.2po && \ if cmp flex.1po flex.2po >/dev/null 2>&1; then \ rm -f flex.1po flex.2po flex.po; \ else \ rm -f flex.1po flex.2po ./flex.pot && \ mv flex.po ./flex.pot; \ fi; \ else \ mv flex.po ./flex.pot; \ fi; \ } make[4]: Leaving directory `/src/CVS/flex-2-5-10/po' : --update ca.po flex.pot rm -f ca.gmo && : -c --statistics -o ca.gmo ca.po mv: cannot stat `t-ca.gmo': No such file or directory make[3]: *** [ca.gmo] Error 1 make[3]: Leaving directory `/src/CVS/flex-2-5-10/po' make[2]: *** [update-po] Error 2 make[2]: Leaving directory `/src/CVS/flex-2-5-10/po' make[1]: *** [distdir] Error 2 make[1]: Leaving directory `/src/CVS/flex-2-5-10/po' make: *** [distdir] Error 1 .? msgmerge requires libiconv-2.dll absent from aforementioned gettext distribution get libiconv-1.8.0-2003.02.01-1.exe from http://prdownloads.sourceforge.net/mingw/ $ make dist rcs2log -l 72 -u "vern Vern vern@ee.lbl.gov" -u "wlestes W. L. Estes wlestes@uncg.edu" -u "millaway John Millaway millaway@acm.org" | sed s:/usr/local/cvsroot/flex/::g >ChangeLog for user anonymousion failed: server cvs.sourceforge.net rejected access to /cvsroot/flex cvs log: used empty password; try "cvs login" with a real password { test ! -d flex-2.5.10 || { find flex-2.5.10 -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr flex-2.5.10; }; } mkdir flex-2.5.10 /bin/sh ./mkinstalldirs flex-2.5.10/po mkdir flex-2.5.10/po list='m4 examples po tests'; for subdir in $list; do \ if test "$subdir" = .; then :; else \ test -d flex-2.5.10/$subdir \ || mkdir flex-2.5.10/$subdir \ || exit 1; \ (cd $subdir && \ make \ top_distdir="." \ distdir=../flex-2.5.10/$subdir \ distdir) \ || exit 1; \ fi; \ done make[1]: Entering directory `/src/CVS/flex-2-5-10/m4' make[1]: Leaving directory `/src/CVS/flex-2-5-10/m4' make[1]: Entering directory `/src/CVS/flex-2-5-10/examples' list='manual fastwc'; for subdir in $list; do \ if test "$subdir" = .; then :; else \ test -d ../flex-2.5.10/examples/$subdir \ || mkdir ../flex-2.5.10/examples/$subdir \ || exit 1; \ (cd $subdir && \ make \ top_distdir="." \ distdir=../../flex-2.5.10/examples/$subdir \ distdir) \ || exit 1; \ fi; \ done make[2]: Entering directory `/src/CVS/flex-2-5-10/examples/manual' make[2]: Leaving directory `/src/CVS/flex-2-5-10/examples/manual' make[2]: Entering directory `/src/CVS/flex-2-5-10/examples/fastwc' make[2]: Leaving directory `/src/CVS/flex-2-5-10/examples/fastwc' make[1]: Leaving directory `/src/CVS/flex-2-5-10/examples' make[1]: Entering directory `/src/CVS/flex-2-5-10/po' make update-po make[2]: Entering directory `/src/CVS/flex-2-5-10/po' make flex.pot-update make[3]: Entering directory `/src/CVS/flex-2-5-10/po' : --default-domain=flex --directory=.. \ --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \ --files-from=./POTFILES.in \ --copyright-holder='' test ! -f flex.po || { \ if test -f ./flex.pot; then \ sed -f remove-potcdate.sed < ./flex.pot > flex.1po && \ sed -f remove-potcdate.sed < flex.po > flex.2po && \ if cmp flex.1po flex.2po >/dev/null 2>&1; then \ rm -f flex.1po flex.2po flex.po; \ else \ rm -f flex.1po flex.2po ./flex.pot && \ mv flex.po ./flex.pot; \ fi; \ else \ mv flex.po ./flex.pot; \ fi; \ } make[3]: Leaving directory `/src/CVS/flex-2-5-10/po' make ca.po-update da.po-update es.po-update ru.po-update sv.po-update tr.po-update fr.po-update ko.po-update make[3]: Entering directory `/src/CVS/flex-2-5-10/po' ca: msgmerge ca.po flex.pot -o ca.new.po msgmerge for ca.po failed! da: msgmerge da.po flex.pot -o da.new.po msgmerge for da.po failed! es: msgmerge es.po flex.pot -o es.new.po msgmerge for es.po failed! ru: msgmerge ru.po flex.pot -o ru.new.po ... msgmerge for fr.po failed! ko: msgmerge ko.po flex.pot -o ko.new.po D:\MSYS\mingw\bin\msgmerge.exe: error while opening "flex.pot" for reading: No such file or directory msgmerge for ko.po failed! make[3]: Leaving directory `/src/CVS/flex-2-5-10/po' make update-gmo make[3]: Entering directory `/src/CVS/flex-2-5-10/po' make flex.pot-update make[4]: Entering directory `/src/CVS/flex-2-5-10/po' : --default-domain=flex --directory=.. \ --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \ --files-from=./POTFILES.in \ --copyright-holder='' test ! -f flex.po || { \ if test -f ./flex.pot; then \ sed -f remove-potcdate.sed < ./flex.pot > flex.1po && \ sed -f remove-potcdate.sed < flex.po > flex.2po && \ if cmp flex.1po flex.2po >/dev/null 2>&1; then \ rm -f flex.1po flex.2po flex.po; \ else \ rm -f flex.1po flex.2po ./flex.pot && \ mv flex.po ./flex.pot; \ fi; \ else \ mv flex.po ./flex.pot; \ fi; \ } make[4]: Leaving directory `/src/CVS/flex-2-5-10/po' : --update ca.po flex.pot rm -f ca.gmo && : -c --statistics -o ca.gmo ca.po mv: cannot stat `t-ca.gmo': No such file or directory make[3]: *** [ca.gmo] Error 1 make[3]: Leaving directory `/src/CVS/flex-2-5-10/po' make[2]: *** [update-po] Error 2 make[2]: Leaving directory `/src/CVS/flex-2-5-10/po' make[1]: *** [distdir] Error 2 make[1]: Leaving directory `/src/CVS/flex-2-5-10/po' make: *** [distdir] Error 1 $ ./autogen.sh Makefile.am:36: `YFLAGS' is a user variable, you should not override it; Makefile.am:36: use `AM_YFLAGS' instead. $ ./configure checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for msgfmt... /mingw/bin/msgfmt checking for gmsgfmt... /mingw/bin/msgfmt ... config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands $ make ... else rm -f ".deps/buf.Tpo"; exit 1; \ fi gcc -g -O2 -o flex.exe ccl.o dfa.o ecs.o gen.o main.o misc.o nfa.o parse.o scan.o skel.o sym.o tblcmp.o yylex.o options.o scanopt.o buf.o make[2]: Leaving directory `/src/CVS/flex-2-5-10' make[1]: Leaving directory `/src/CVS/flex-2-5-10' .? it doesn't hurt to remove flex-2.5.10/ if it exists $ make dist rcs2log -l 72 -u "vern Vern vern@ee.lbl.gov" -u "wlestes W. L. Estes wlestes@uncg.edu" -u "millaway John Millaway millaway@acm.org" | sed s:/usr/local/cvsroot/flex/::g >ChangeLog for user anonymousion failed: server cvs.sourceforge.net rejected access to /cvsroot/flex cvs log: used empty password; try "cvs login" with a real password { test ! -d flex-2.5.10 || { find flex-2.5.10 -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr flex-2.5.10; }; } mkdir flex-2.5.10 /bin/sh ./mkinstalldirs flex-2.5.10/po mkdir flex-2.5.10/po list='m4 examples po tests'; for subdir in $list; do \ if test "$subdir" = .; then :; else \ test -d flex-2.5.10/$subdir \ || mkdir flex-2.5.10/$subdir \ || exit 1; \ (cd $subdir && \ make \ top_distdir="." \ distdir=../flex-2.5.10/$subdir \ distdir) \ || exit 1; \ fi; \ done make[1]: Entering directory `/src/CVS/flex-2-5-10/m4' make[1]: Leaving directory `/src/CVS/flex-2-5-10/m4' make[1]: Entering directory `/src/CVS/flex-2-5-10/examples' list='manual fastwc'; for subdir in $list; do \ if test "$subdir" = .; then :; else \ test -d ../flex-2.5.10/examples/$subdir \ || mkdir ../flex-2.5.10/examples/$subdir \ || exit 1; \ (cd $subdir && \ make \ top_distdir="." \ distdir=../../flex-2.5.10/examples/$subdir \ distdir) \ || exit 1; \ fi; \ done make[2]: Entering directory `/src/CVS/flex-2-5-10/examples/manual' make[2]: Leaving directory `/src/CVS/flex-2-5-10/examples/manual' make[2]: Entering directory `/src/CVS/flex-2-5-10/examples/fastwc' make[2]: Leaving directory `/src/CVS/flex-2-5-10/examples/fastwc' make[1]: Leaving directory `/src/CVS/flex-2-5-10/examples' make[1]: Entering directory `/src/CVS/flex-2-5-10/po' make update-po make[2]: Entering directory `/src/CVS/flex-2-5-10/po' make flex.pot-update make[3]: Entering directory `/src/CVS/flex-2-5-10/po' /mingw/bin/xgettext --default-domain=flex --directory=.. \ --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \ --files-from=./POTFILES.in \ --copyright-holder='' D:\MSYS\mingw\bin\xgettext.exe: warning: file `parse.y' extension `y' is unknown; will try C D:\MSYS\mingw\bin\xgettext.exe: warning: file `scan.l' extension `l' is unknown; will try C scan.l:170: warning: unterminated string literal scan.l:320: warning: unterminated string literal scan.l:376: warning: unterminated character constant scan.l:537: warning: unterminated string literal scan.l:538: warning: unterminated character constant scan.l:654: warning: unterminated string literal scan.l:656: warning: unterminated string literal scan.l:657: warning: unterminated string literal scan.l:674: warning: unterminated string literal scan.l:677: warning: unterminated string literal test ! -f flex.po || { \ if test -f ./flex.pot; then \ sed -f remove-potcdate.sed < ./flex.pot > flex.1po && \ sed -f remove-potcdate.sed < flex.po > flex.2po && \ if cmp flex.1po flex.2po >/dev/null 2>&1; then \ rm -f flex.1po flex.2po flex.po; \ else \ rm -f flex.1po flex.2po ./flex.pot && \ mv flex.po ./flex.pot; \ fi; \ else \ mv flex.po ./flex.pot; \ fi; \ } make[3]: Leaving directory `/src/CVS/flex-2-5-10/po' make ca.po-update da.po-update es.po-update ru.po-update sv.po-update tr.po-update fr.po-update ko.po-update make[3]: Entering directory `/src/CVS/flex-2-5-10/po' ca: msgmerge ca.po flex.pot -o ca.new.po .............. done. da: msgmerge da.po flex.pot -o da.new.po ....................... done. es: msgmerge es.po flex.pot -o es.new.po ................... done. ru: msgmerge ru.po flex.pot -o ru.new.po .............. done. sv: msgmerge sv.po flex.pot -o sv.new.po .............. done. tr: msgmerge tr.po flex.pot -o tr.new.po .............. done. fr: msgmerge fr.po flex.pot -o fr.new.po .............. done. ko: msgmerge ko.po flex.pot -o ko.new.po ........................ done. make[3]: Leaving directory `/src/CVS/flex-2-5-10/po' make update-gmo make[3]: Entering directory `/src/CVS/flex-2-5-10/po' rm -f ca.gmo && /mingw/bin/msgfmt -c --statistics -o ca.gmo ca.po 139 translated messages. rm -f da.gmo && /mingw/bin/msgfmt -c --statistics -o da.gmo da.po 122 translated messages, 9 fuzzy translations, 8 untranslated messages. rm -f es.gmo && /mingw/bin/msgfmt -c --statistics -o es.gmo es.po 131 translated messages, 5 fuzzy translations, 3 untranslated messages. rm -f ru.gmo && /mingw/bin/msgfmt -c --statistics -o ru.gmo ru.po 129 translated messages, 10 untranslated messages. rm -f sv.gmo && /mingw/bin/msgfmt -c --statistics -o sv.gmo sv.po 139 translated messages. rm -f tr.gmo && /mingw/bin/msgfmt -c --statistics -o tr.gmo tr.po 139 translated messages. rm -f fr.gmo && /mingw/bin/msgfmt -c --statistics -o fr.gmo fr.po 139 translated messages. rm -f ko.gmo && /mingw/bin/msgfmt -c --statistics -o ko.gmo ko.po 116 translated messages, 10 fuzzy translations, 13 untranslated messages. make[3]: Leaving directory `/src/CVS/flex-2-5-10/po' make[2]: Leaving directory `/src/CVS/flex-2-5-10/po' make[2]: Entering directory `/src/CVS/flex-2-5-10/po' dists="Makefile.in.in Makevars remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot POTFILES.in flex.pot ca.po da.po es.po ru.po sv.po tr.po fr.po ko.po ca.gmo da.gmo es.gmo ru.gmo sv.gmo tr.gmo fr.gmo ko.gmo "; \ if test -f ./ChangeLog; then dists="$dists ChangeLog"; fi; \ if test -f ./LINGUAS; then dists="$dists LINGUAS"; fi; \ for file in $dists; do \ if test -f $file; then \ cp -p $file ../flex-2.5.10/po; \ else \ cp -p ./$file ../flex-2.5.10/po; \ fi; \ done make[2]: Leaving directory `/src/CVS/flex-2-5-10/po' make[1]: Leaving directory `/src/CVS/flex-2-5-10/po' make[1]: Entering directory `/src/CVS/flex-2-5-10/tests' list='test-posixly-correct test-posix test-mem-r test-mem-nr test-debug-nr test-debug-r test-lineno-r test-lineno-nr TEMPLATE test-array-nr test-array-r test-basic-nr test-basic-r test-bison-yylloc test-bison-yylval test-c-cpp-nr test-c-cpp-r test-header-nr test-header-r test-include-by-buffer test-include-by-reentrant test-multiple-scanners-nr test-multiple-scanners-r test-prefix-nr test-prefix-r test-pthread test-string-nr test-string-r test-yyextra'; for subdir in $list; do \ if test "$subdir" = .; then :; else \ test -d ../flex-2.5.10/tests/$subdir \ || mkdir ../flex-2.5.10/tests/$subdir \ || exit 1; \ (cd $subdir && \ make \ top_distdir="." \ distdir=../../flex-2.5.10/tests/$subdir \ distdir) \ || exit 1; \ fi; \ done make[2]: Entering directory `/src/CVS/flex-2-5-10/tests/test-posixly-correct' make[2]: Leaving directory `/src/CVS/flex-2-5-10/tests/test-posixly-correct' make[2]: Entering directory `/src/CVS/flex-2-5-10/tests/test-posix' make[2]: Leaving directory `/src/CVS/flex-2-5-10/tests/test-posix' make[2]: Entering directory `/src/CVS/flex-2-5-10/tests/test-mem-r' make[2]: Leaving directory `/src/CVS/flex-2-5-10/tests/test-mem-r' make[2]: Entering directory `/src/CVS/flex-2-5-10/tests/test-mem-nr' make[2]: Leaving directory `/src/CVS/flex-2-5-10/tests/test-mem-nr' make[2]: Entering directory `/src/CVS/flex-2-5-10/tests/test-debug-nr' ... make[2]: Entering directory `/src/CVS/flex-2-5-10/tests/test-string-nr' make[2]: Leaving directory `/src/CVS/flex-2-5-10/tests/test-string-nr' make[2]: Entering directory `/src/CVS/flex-2-5-10/tests/test-string-r' make[2]: Leaving directory `/src/CVS/flex-2-5-10/tests/test-string-r' make[2]: Entering directory `/src/CVS/flex-2-5-10/tests/test-yyextra' make[2]: Leaving directory `/src/CVS/flex-2-5-10/tests/test-yyextra' make[1]: Leaving directory `/src/CVS/flex-2-5-10/tests' make \ top_distdir="." distdir="flex-2.5.10" \ dist-info make[1]: Entering directory `/src/CVS/flex-2-5-10' list='flex.info'; \ for base in $list; do \ if test -f $base; then d=.; else d=.; fi; \ for file in $d/$base*; do \ relfile=`expr "$file" : "$d/\(.*\)"`; \ test -f flex-2.5.10/$relfile || \ cp -p $file flex-2.5.10/$relfile; \ done; \ done make[1]: Leaving directory `/src/CVS/flex-2-5-10' find flex-2.5.10 -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec /bin/sh /src/CVS/flex-2-5-10/install-sh -c -m a+r {} {} \; \ || chmod -R a+r flex-2.5.10 /bin/sh /src/CVS/flex-2-5-10/missing --run tar chof - flex-2.5.10 | GZIP=--best gzip -c >flex-2.5.10.tar.gz /bin/sh /src/CVS/flex-2-5-10/missing --run tar chof - flex-2.5.10 | bzip2 -9 -c >flex-2.5.10.tar.bz2 { test ! -d flex-2.5.10 || { find flex-2.5.10 -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr flex-2.5.10; }; } $ ls -o flex-* -rw-r--r-- 1 user 525867 May 13 14:45 flex-2.5.10.tar.bz2 -rw-r--r-- 1 user 643223 May 13 14:45 flex-2.5.10.tar.gz .? brilliant, but flex.exe and other binaries are not in distributive so make the distributive and upload .exe as well $ cd tests/ $ make test NOK=;\ NFAIL=;\ NSKIP=;\ for dir in test-posixly-correct test-posix test-mem-r test-mem-nr test-debug-nr test-debug-r test-lineno-r test-lineno-nr TEMPLATE test-array-nr test-array-r test-basic-nr test-basic-r test-bison-yylloc test-bison-yylval test-c-cpp-nr test-c-cpp-r test-header-nr test-header-r test-include-by-buffer test-include-by-reentrant test-multiple-scanners-nr test-multiple-scanners-r test-prefix-nr test-prefix-r test-pthread test-string-nr test-string-r test-yyextra ; do \ echo Executing test "$dir" ; \ ( cd "$dir" && make test > OUTPUT 2>&1 ) ; \ case $? in \ 0 ) echo Test "$DIR" succeeded.; \ NOK=0$NOK;\ ;; \ * ) echo Test "$DIR" FAILED. See "$dir"/OUTPUT for details. ; \ NFAIL=0$NFAIL; \ ;; \ esac; \ done ; \ echo Results: ; \ echo Tests succeeded: `echo -n $NOK|wc -c`; \ echo Tests SKIPPED: `echo -n $NSKIP|wc -c`; \ echo Tests FAILED: `echo -n $NFAIL|wc -c` ; Executing test test-posixly-correct Test succeeded. Executing test test-posix Test succeeded. Executing test test-mem-r Test succeeded. Executing test test-mem-nr Test succeeded. Executing test test-debug-nr Test succeeded. Executing test test-debug-r Test succeeded. Executing test test-lineno-r Test succeeded. Executing test test-lineno-nr Test succeeded. Executing test TEMPLATE Test succeeded. Executing test test-array-nr Test succeeded. Executing test test-array-r Test succeeded. Executing test test-basic-nr Test succeeded. Executing test test-basic-r Test succeeded. Executing test test-bison-yylloc Test FAILED. See test-bison-yylloc/OUTPUT for details. Executing test test-bison-yylval Test succeeded. ... Test succeeded. Executing test test-prefix-r Test succeeded. Executing test test-pthread Test FAILED. See test-pthread/OUTPUT for details. Executing test test-string-nr Test succeeded. Executing test test-string-r Test succeeded. Executing test test-yyextra Test succeeded. Results: Tests succeeded: 27 Tests SKIPPED: 0 Tests FAILED: 2 $ cd ..; make dist-bzip2 ... $ strip --strip-unneeded flex.exe $ ls -o flex.exe -rwxr-xr-x 1 user 190461 May 13 15:12 flex.exe .? upload to http://rainforce.org/flex