UJP - 技術情報1

Life is fun and easy!

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

bison2.3をインストールする for RedHat ES3

bison2.3をインストールする for RedHat ES3


0.改訂履歴

  • 2006.12.21 新規作成

1.はじめに

 このドキュメントでは,bisonのインストール手順を説明する. bisonとは,LALR法に基づく構文解析器の一種のフリーソフトで,仕様としてはyaccと上位互換を持っている模様. CコンパイラとしてのGCCのフロントエンド構文解析用に作成されたソフトとの事である.

 なお,使用しているOSは,RedHat Linux ES上で稼働している.

2.インストール

  • 現在のlibtoolのバージョンを確認する.
[root@neptune4 InstallBin]# rpm -qa | grep bison
bison-1.875c-2.EL
[root@neptune4 InstallBin]# 
  • 以下のURLから,モジュールをダウンロードする.
  • ダウンロードしたファイルを確認する.
[root@neptune4 InstallBin]# ls -la bison*
-rw-r--r--    1 ujpadmin  users     1386694 Dec 21 22:51 bison-2.3.tar.gz
[root@neptune4 InstallBin]# 
  • アーカイブを展開する.
[root@neptune4 InstallBin]# tar xfz bison-2.3.tar.gz 
[root@neptune4 InstallBin]# cd bison-2.3
[root@neptune4 bison-2.3]#
  • ファイルを確認する.
[root@neptune4 bison-2.3]# ls -la
total 1408
drwxrwxrwx   13 root     root         4096 Jun  5  2006 .
drwxr-xr-x   18 root     root         4096 Dec 21 22:53 ..
-rw-r--r--    1 root     root        38475 Jun  5  2006 ABOUT-NLS
-rw-r--r--    1 root     root          216 Nov 26  1998 AUTHORS
-rw-r--r--    1 root     root        18011 May 14  2005 COPYING
-rw-r--r--    1 root     root       575712 Jun  5  2006 ChangeLog
-rw-r--r--    1 root     root         2051 May 14  2005 GNUmakefile
-r--r--r--    1 root     root         9498 Jun  5  2006 INSTALL
-rw-r--r--    1 root     root         1415 Dec 21  2005 Makefile.am
-rw-r--r--    1 root     root         1614 Jan 22  2006 Makefile.cfg
-rw-r--r--    1 root     root        22923 Jun  5  2006 Makefile.in
-rw-r--r--    1 root     root        21247 May 22  2006 Makefile.maint
-rw-r--r--    1 root     root        25199 Jun  5  2006 NEWS
-rw-r--r--    1 root     root        46845 Mar 25  2000 OChangeLog
-rw-r--r--    1 root     root         1996 Jul 19  2005 PACKAGING
-rw-r--r--    1 root     root         1631 May 24  2005 README
-rw-r--r--    1 root     root         4044 May 18  2006 THANKS
-rw-r--r--    1 root     root        10984 Mar 10  2006 TODO
-rw-r--r--    1 root     root        33322 Jun  5  2006 aclocal.m4
drwxrwxrwx    2 root     root         4096 Jun  5  2006 build-aux
-rw-r--r--    1 root     root        11514 Jun  5  2006 config.hin
-rwxr-xr-x    1 root     root       501191 Jun  5  2006 configure
-rw-r--r--    1 root     root         4311 Jun  5  2006 configure.ac
drwxrwxrwx    3 root     root         4096 Jun  5  2006 data
drwxrwxrwx    2 root     root         4096 Jun  5  2006 djgpp
drwxrwxrwx    2 root     root         4096 Jun  5  2006 doc
drwxrwxrwx    3 root     root         4096 Jun  5  2006 examples
drwxrwxrwx    2 root     root         4096 Jun  5  2006 lib
drwxrwxrwx    2 root     root         4096 Jun  5  2006 m4
drwxrwxrwx    2 root     root         4096 Jun  5  2006 po
drwxrwxrwx    2 root     root         4096 Jun  5  2006 runtime-po
drwxrwxrwx    2 root     root         4096 Jun  5  2006 src
drwxrwxrwx    2 root     root         4096 Jun  5  2006 tests
[root@neptune4 bison-2.3]# 
  • configureを行う.
[root@neptune4 bison-2.3]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
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 dependency style of gcc... gcc3
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 whether it is safe to define __EXTENSIONS__... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for ranlib... ranlib
checking for gm4... no
checking for gnum4... no
checking for m4... /usr/bin/m4
checking whether m4 supports frozen files... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for uintptr_t... yes
checking for setlocale... yes
checking for isascii... yes
checking for iswprint... yes
checking for mbsinit... yes
checking if malloc debugging is wanted... no
checking for pid_t... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dup2... yes
checking for waitpid... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/resource.h... yes
checking for times... yes
checking whether getrusage is declared... yes
checking whether times is declared... yes
checking whether clock is declared... no
checking whether sysconf is declared... yes
checking for clock_t... yes
checking for struct tms... yes
checking whether system is Windows or MSDOS... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... yes
checking whether optreset is declared... no
checking for working GNU getopt function... yes
checking whether getenv is declared... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... no
checking for msgmerge... /usr/bin/msgmerge
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking whether strdup is declared... yes
checking whether strndup is declared... yes
checking whether strnlen is declared... yes
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking for error_at_line... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for iswcntrl... yes
checking for wcwidth... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking whether wcwidth is declared... yes
checking whether mbswidth is declared in <wchar.h>... no
checking for mbstate_t... yes
checking for obstacks... yes
checking for mbstate_t... (cached) yes
checking whether mbrtowc and mbstate_t are properly declared... (cached) yes
checking for stpcpy... yes
checking for strdup... yes
checking for strerror... yes
checking for working strndup... yes
checking for working strnlen... yes
checking for strtol... yes
checking for strtoul... yes
checking for strverscmp... yes
checking for unistd.h... (cached) yes
checking for valgrind... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ builds executables that work... yes
configure: creating ./config.status
config.status: creating runtime-po/Makefile.in
config.status: creating tests/Makefile
config.status: creating tests/atlocal
config.status: creating tests/bison
config.status: creating Makefile
config.status: creating build-aux/Makefile
config.status: creating po/Makefile.in
config.status: creating data/Makefile
config.status: creating examples/Makefile
config.status: creating examples/calc++/Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating runtime-po/POTFILES
config.status: creating runtime-po/Makefile
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing tests/atconfig commands
[root@neptune4 bison-2.3]# 
  • make checkを行う.
[root@neptune4 bison-2.3]# make check
Making check in build-aux
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/build-aux'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/build-aux'
Making check in po
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/po'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/po'
Making check in runtime-po
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/runtime-po'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/runtime-po'
Making check in lib
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/lib'
make  check-am
make[2]: Entering directory `/tst/module/InstallBin/bison-2.3/lib'
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT main.o -MD -MP -MF ".deps/m
ain.Tpo" -c -o main.o main.c; ¥
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT yyerror.o -MD -MP -MF ".dep
s/yyerror.Tpo" -c -o yyerror.o yyerror.c; ¥
then mv -f ".deps/yyerror.Tpo" ".deps/yyerror.Po"; else rm -f ".deps/yyerror.T
po"; exit 1; fi
rm -f liby.a
ar cru liby.a main.o yyerror.o 
ranlib liby.a
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT get-errno.o -MD -MP -MF ".d
eps/get-errno.Tpo" -c -o get-errno.o get-errno.c; ¥
then mv -f ".deps/get-errno.Tpo" ".deps/get-errno.Po"; else rm -f ".deps/get-e
rrno.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT subpipe.o -MD -MP -MF ".dep
s/subpipe.Tpo" -c -o subpipe.o subpipe.c; ¥
then mv -f ".deps/subpipe.Tpo" ".deps/subpipe.Po"; else rm -f ".deps/subpipe.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT abitset.o -MD -MP -MF ".dep
s/abitset.Tpo" -c -o abitset.o abitset.c; ¥
then mv -f ".deps/abitset.Tpo" ".deps/abitset.Po"; else rm -f ".deps/abitset.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT bitset.o -MD -MP -MF ".deps
/bitset.Tpo" -c -o bitset.o bitset.c; ¥
then mv -f ".deps/bitset.Tpo" ".deps/bitset.Po"; else rm -f ".deps/bitset.Tpo"
; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT bitset_stats.o -MD -MP -MF 
".deps/bitset_stats.Tpo" -c -o bitset_stats.o bitset_stats.c; ¥
then mv -f ".deps/bitset_stats.Tpo" ".deps/bitset_stats.Po"; else rm -f ".deps
/bitset_stats.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT bitsetv.o -MD -MP -MF ".dep
s/bitsetv.Tpo" -c -o bitsetv.o bitsetv.c; ¥
then mv -f ".deps/bitsetv.Tpo" ".deps/bitsetv.Po"; else rm -f ".deps/bitsetv.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT ebitset.o -MD -MP -MF ".dep
s/ebitset.Tpo" -c -o ebitset.o ebitset.c; ¥
then mv -f ".deps/ebitset.Tpo" ".deps/ebitset.Po"; else rm -f ".deps/ebitset.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT lbitset.o -MD -MP -MF ".dep
s/lbitset.Tpo" -c -o lbitset.o lbitset.c; ¥
then mv -f ".deps/lbitset.Tpo" ".deps/lbitset.Po"; else rm -f ".deps/lbitset.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT vbitset.o -MD -MP -MF ".dep
s/vbitset.Tpo" -c -o vbitset.o vbitset.c; ¥
then mv -f ".deps/vbitset.Tpo" ".deps/vbitset.Po"; else rm -f ".deps/vbitset.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT bitsetv-print.o -MD -MP -MF 
".deps/bitsetv-print.Tpo" -c -o bitsetv-print.o bitsetv-print.c; ¥
then mv -f ".deps/bitsetv-print.Tpo" ".deps/bitsetv-print.Po"; else rm -f ".de
ps/bitsetv-print.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT timevar.o -MD -MP -MF ".dep
s/timevar.Tpo" -c -o timevar.o timevar.c; ¥
then mv -f ".deps/timevar.Tpo" ".deps/timevar.Po"; else rm -f ".deps/timevar.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT argmatch.o -MD -MP -MF ".de
ps/argmatch.Tpo" -c -o argmatch.o argmatch.c; ¥then mv -f ".deps/argmatch.Tpo" 
".deps/argmatch.Po"; else rm -f ".deps/argmatch.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT basename.o -MD -MP -MF ".de
ps/basename.Tpo" -c -o basename.o basename.c; ¥then mv -f ".deps/basename.Tpo" 
".deps/basename.Po"; else rm -f ".deps/basename.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT stripslash.o -MD -MP -MF ".
deps/stripslash.Tpo" -c -o stripslash.o stripslash.c; ¥
then mv -f ".deps/stripslash.Tpo" ".deps/stripslash.Po"; else rm -f ".deps/str
ipslash.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT mbswidth.o -MD -MP -MF ".de
ps/mbswidth.Tpo" -c -o mbswidth.o mbswidth.c; ¥then mv -f ".deps/mbswidth.Tpo" 
".deps/mbswidth.Po"; else rm -f ".deps/mbswidth.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT xalloc-die.o -MD -MP -MF ".
deps/xalloc-die.Tpo" -c -o xalloc-die.o xalloc-die.c; ¥
then mv -f ".deps/xalloc-die.Tpo" ".deps/xalloc-die.Po"; else rm -f ".deps/xal
loc-die.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT xstrndup.o -MD -MP -MF ".de
ps/xstrndup.Tpo" -c -o xstrndup.o xstrndup.c; ¥then mv -f ".deps/xstrndup.Tpo" 
".deps/xstrndup.Po"; else rm -f ".deps/xstrndup.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT dirname.o -MD -MP -MF ".dep
s/dirname.Tpo" -c -o dirname.o dirname.c; ¥
then mv -f ".deps/dirname.Tpo" ".deps/dirname.Po"; else rm -f ".deps/dirname.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT exitfail.o -MD -MP -MF ".de
ps/exitfail.Tpo" -c -o exitfail.o exitfail.c; ¥then mv -f ".deps/exitfail.Tpo" 
".deps/exitfail.Po"; else rm -f ".deps/exitfail.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT hard-locale.o -MD -MP -MF ".
deps/hard-locale.Tpo" -c -o hard-locale.o hard-locale.c; ¥
then mv -f ".deps/hard-locale.Tpo" ".deps/hard-locale.Po"; else rm -f ".deps/h
ard-locale.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT hash.o -MD -MP -MF ".deps/h
ash.Tpo" -c -o hash.o hash.c; ¥
then mv -f ".deps/hash.Tpo" ".deps/hash.Po"; else rm -f ".deps/hash.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT quote.o -MD -MP -MF ".deps/
quote.Tpo" -c -o quote.o quote.c; ¥
then mv -f ".deps/quote.Tpo" ".deps/quote.Po"; else rm -f ".deps/quote.Tpo"; e
xit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT quotearg.o -MD -MP -MF ".de
ps/quotearg.Tpo" -c -o quotearg.o quotearg.c; ¥then mv -f ".deps/quotearg.Tpo" 
".deps/quotearg.Po"; else rm -f ".deps/quotearg.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT fopen-safer.o -MD -MP -MF ".
deps/fopen-safer.Tpo" -c -o fopen-safer.o fopen-safer.c; ¥
then mv -f ".deps/fopen-safer.Tpo" ".deps/fopen-safer.Po"; else rm -f ".deps/f
open-safer.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT dup-safer.o -MD -MP -MF ".d
eps/dup-safer.Tpo" -c -o dup-safer.o dup-safer.c; ¥
then mv -f ".deps/dup-safer.Tpo" ".deps/dup-safer.Po"; else rm -f ".deps/dup-s
afer.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT fd-safer.o -MD -MP -MF ".de
ps/fd-safer.Tpo" -c -o fd-safer.o fd-safer.c; ¥then mv -f ".deps/fd-safer.Tpo" 
".deps/fd-safer.Po"; else rm -f ".deps/fd-safer.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT pipe-safer.o -MD -MP -MF ".
deps/pipe-safer.Tpo" -c -o pipe-safer.o pipe-safer.c; ¥
then mv -f ".deps/pipe-safer.Tpo" ".deps/pipe-safer.Po"; else rm -f ".deps/pip
e-safer.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT xmalloc.o -MD -MP -MF ".dep
s/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; ¥
then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f ".deps/xmalloc.T
po"; exit 1; fi
rm -f libbison.a
ar cru libbison.a get-errno.o subpipe.o abitset.o bitset.o bitset_stats.o bits
etv.o ebitset.o lbitset.o vbitset.o bitsetv-print.o timevar.o argmatch.o basen
ame.o stripslash.o mbswidth.o xalloc-die.o xstrndup.o dirname.o exitfail.o har
d-locale.o hash.o quote.o quotearg.o fopen-safer.o dup-safer.o fd-safer.o pipe
-safer.o xmalloc.o 
ranlib libbison.a
make[2]: Leaving directory `/tst/module/InstallBin/bison-2.3/lib'
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/lib'
Making check in data
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/data'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/data'
Making check in src
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/src'
make  check-am
make[2]: Entering directory `/tst/module/InstallBin/bison-2.3/src'
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT LR0.o -
MD -MP -MF ".deps/LR0.Tpo" -c -o LR0.o LR0.c; ¥
then mv -f ".deps/LR0.Tpo" ".deps/LR0.Po"; else rm -f ".deps/LR0.Tpo"; exit 1; 
fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT assoc.o 
-MD -MP -MF ".deps/assoc.Tpo" -c -o assoc.o assoc.c; ¥
then mv -f ".deps/assoc.Tpo" ".deps/assoc.Po"; else rm -f ".deps/assoc.Tpo"; e
xit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT closure.
o -MD -MP -MF ".deps/closure.Tpo" -c -o closure.o closure.c; ¥
then mv -f ".deps/closure.Tpo" ".deps/closure.Po"; else rm -f ".deps/closure.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT complai
n.o -MD -MP -MF ".deps/complain.Tpo" -c -o complain.o complain.c; ¥
then mv -f ".deps/complain.Tpo" ".deps/complain.Po"; else rm -f ".deps/complai
n.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT conflic
ts.o -MD -MP -MF ".deps/conflicts.Tpo" -c -o conflicts.o conflicts.c; ¥
then mv -f ".deps/conflicts.Tpo" ".deps/conflicts.Po"; else rm -f ".deps/confl
icts.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT derives.
o -MD -MP -MF ".deps/derives.Tpo" -c -o derives.o derives.c; ¥
then mv -f ".deps/derives.Tpo" ".deps/derives.Po"; else rm -f ".deps/derives.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT files.o 
-MD -MP -MF ".deps/files.Tpo" -c -o files.o files.c; ¥
then mv -f ".deps/files.Tpo" ".deps/files.Po"; else rm -f ".deps/files.Tpo"; e
xit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT getargs.
o -MD -MP -MF ".deps/getargs.Tpo" -c -o getargs.o getargs.c; ¥
then mv -f ".deps/getargs.Tpo" ".deps/getargs.Po"; else rm -f ".deps/getargs.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT gram.o 
-MD -MP -MF ".deps/gram.Tpo" -c -o gram.o gram.c; ¥
then mv -f ".deps/gram.Tpo" ".deps/gram.Po"; else rm -f ".deps/gram.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT lalr.o 
-MD -MP -MF ".deps/lalr.Tpo" -c -o lalr.o lalr.c; ¥
then mv -f ".deps/lalr.Tpo" ".deps/lalr.Po"; else rm -f ".deps/lalr.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT locatio
n.o -MD -MP -MF ".deps/location.Tpo" -c -o location.o location.c; ¥
then mv -f ".deps/location.Tpo" ".deps/location.Po"; else rm -f ".deps/locatio
n.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT main.o 
-MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; ¥
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT muscle_
tab.o -MD -MP -MF ".deps/muscle_tab.Tpo" -c -o muscle_tab.o muscle_tab.c; ¥
then mv -f ".deps/muscle_tab.Tpo" ".deps/muscle_tab.Po"; else rm -f ".deps/mus
cle_tab.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT nullabl
e.o -MD -MP -MF ".deps/nullable.Tpo" -c -o nullable.o nullable.c; ¥
then mv -f ".deps/nullable.Tpo" ".deps/nullable.Po"; else rm -f ".deps/nullabl
e.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT output.
o -MD -MP -MF ".deps/output.Tpo" -c -o output.o output.c; ¥
then mv -f ".deps/output.Tpo" ".deps/output.Po"; else rm -f ".deps/output.Tpo"
; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT parse-g
ram.o -MD -MP -MF ".deps/parse-gram.Tpo" -c -o parse-gram.o parse-gram.c; ¥
then mv -f ".deps/parse-gram.Tpo" ".deps/parse-gram.Po"; else rm -f ".deps/par
se-gram.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT print.o 
-MD -MP -MF ".deps/print.Tpo" -c -o print.o print.c; ¥
then mv -f ".deps/print.Tpo" ".deps/print.Po"; else rm -f ".deps/print.Tpo"; e
xit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT print_g
raph.o -MD -MP -MF ".deps/print_graph.Tpo" -c -o print_graph.o print_graph.c; 
¥
then mv -f ".deps/print_graph.Tpo" ".deps/print_graph.Po"; else rm -f ".deps/p
rint_graph.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT reader.
o -MD -MP -MF ".deps/reader.Tpo" -c -o reader.o reader.c; ¥
then mv -f ".deps/reader.Tpo" ".deps/reader.Po"; else rm -f ".deps/reader.Tpo"
; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT reduce.
o -MD -MP -MF ".deps/reduce.Tpo" -c -o reduce.o reduce.c; ¥
then mv -f ".deps/reduce.Tpo" ".deps/reduce.Po"; else rm -f ".deps/reduce.Tpo"
; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT relatio
n.o -MD -MP -MF ".deps/relation.Tpo" -c -o relation.o relation.c; ¥
then mv -f ".deps/relation.Tpo" ".deps/relation.Po"; else rm -f ".deps/relatio
n.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT scan-gr
am-c.o -MD -MP -MF ".deps/scan-gram-c.Tpo" -c -o scan-gram-c.o scan-gram-c.c; 
¥
then mv -f ".deps/scan-gram-c.Tpo" ".deps/scan-gram-c.Po"; else rm -f ".deps/s
can-gram-c.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT scan-sk
el-c.o -MD -MP -MF ".deps/scan-skel-c.Tpo" -c -o scan-skel-c.o scan-skel-c.c; 
¥
then mv -f ".deps/scan-skel-c.Tpo" ".deps/scan-skel-c.Po"; else rm -f ".deps/s
can-skel-c.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT state.o 
-MD -MP -MF ".deps/state.Tpo" -c -o state.o state.c; ¥
then mv -f ".deps/state.Tpo" ".deps/state.Po"; else rm -f ".deps/state.Tpo"; e
xit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT symlist.
o -MD -MP -MF ".deps/symlist.Tpo" -c -o symlist.o symlist.c; ¥
then mv -f ".deps/symlist.Tpo" ".deps/symlist.Po"; else rm -f ".deps/symlist.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT symtab.
o -MD -MP -MF ".deps/symtab.Tpo" -c -o symtab.o symtab.c; ¥
then mv -f ".deps/symtab.Tpo" ".deps/symtab.Po"; else rm -f ".deps/symtab.Tpo"
; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT tables.
o -MD -MP -MF ".deps/tables.Tpo" -c -o tables.o tables.c; ¥
then mv -f ".deps/tables.Tpo" ".deps/tables.Po"; else rm -f ".deps/tables.Tpo"
; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT uniqstr.
o -MD -MP -MF ".deps/uniqstr.Tpo" -c -o uniqstr.o uniqstr.c; ¥
then mv -f ".deps/uniqstr.Tpo" ".deps/uniqstr.Po"; else rm -f ".deps/uniqstr.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -DPKGDATADIR=¥"/usr/local/share/bison¥" -DLOCALEDIR=¥"/
usr/local/share/locale¥" -I. -I. -I..  -I../lib -I../lib    -g -O2 -MT vcg.o -
MD -MP -MF ".deps/vcg.Tpo" -c -o vcg.o vcg.c; ¥
then mv -f ".deps/vcg.Tpo" ".deps/vcg.Po"; else rm -f ".deps/vcg.Tpo"; exit 1; 
fi
gcc   -g -O2   -o bison  LR0.o assoc.o closure.o complain.o conflicts.o derive
s.o files.o getargs.o gram.o lalr.o location.o main.o muscle_tab.o nullable.o 
output.o parse-gram.o print.o print_graph.o reader.o reduce.o relation.o scan-
gram-c.o scan-skel-c.o state.o symlist.o symtab.o tables.o uniqstr.o vcg.o ../
lib/libbison.a  
echo '#! /bin/sh' >yacc
echo 'exec /usr/local/bin/bison -y "$@"' >>yacc
chmod a+x yacc
make[2]: Leaving directory `/tst/module/InstallBin/bison-2.3/src'
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/src'
Making check in doc
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/doc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/doc'
Making check in examples
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/examples'
Making check in calc++
make[2]: Entering directory `/tst/module/InstallBin/bison-2.3/examples/calc++'
make  check-am
make[3]: Entering directory `/tst/module/InstallBin/bison-2.3/examples/calc++'
make  calc++
make[4]: Entering directory `/tst/module/InstallBin/bison-2.3/examples/calc++'
if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT calc++-scanner.o -MD -MP 
-MF ".deps/calc++-scanner.Tpo" -c -o calc++-scanner.o calc++-scanner.cc; ¥
then mv -f ".deps/calc++-scanner.Tpo" ".deps/calc++-scanner.Po"; else rm -f ".
deps/calc++-scanner.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT calc++.o -MD -MP -MF ".d
eps/calc++.Tpo" -c -o calc++.o `test -f './calc++.cc' || echo './'`./calc++.cc
; ¥
then mv -f ".deps/calc++.Tpo" ".deps/calc++.Po"; else rm -f ".deps/calc++.Tpo"
; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT calc++-driver.o -MD -MP 
-MF ".deps/calc++-driver.Tpo" -c -o calc++-driver.o `test -f './calc++-driver.
cc' || echo './'`./calc++-driver.cc; ¥
then mv -f ".deps/calc++-driver.Tpo" ".deps/calc++-driver.Po"; else rm -f ".de
ps/calc++-driver.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT calc++-parser.o -MD -MP 
-MF ".deps/calc++-parser.Tpo" -c -o calc++-parser.o `test -f './calc++-parser.
cc' || echo './'`./calc++-parser.cc; ¥
then mv -f ".deps/calc++-parser.Tpo" ".deps/calc++-parser.Po"; else rm -f ".de
ps/calc++-parser.Tpo"; exit 1; fi
g++  -g -O2   -o calc++  calc++-scanner.o calc++.o calc++-driver.o calc++-pars
er.o  
make[4]: Leaving directory `/tst/module/InstallBin/bison-2.3/examples/calc++'
make  check-TESTS
make[4]: Entering directory `/tst/module/InstallBin/bison-2.3/examples/calc++'
PASS: test
==================
All 1 tests passed
==================
make[4]: Leaving directory `/tst/module/InstallBin/bison-2.3/examples/calc++'
make[3]: Leaving directory `/tst/module/InstallBin/bison-2.3/examples/calc++'
make[2]: Leaving directory `/tst/module/InstallBin/bison-2.3/examples/calc++'
make[2]: Entering directory `/tst/module/InstallBin/bison-2.3/examples'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/tst/module/InstallBin/bison-2.3/examples'
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/examples'
Making check in tests
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/tests'
make  bison
make[2]: Entering directory `/tst/module/InstallBin/bison-2.3/tests'
make[2]: `bison' is up to date.
make[2]: Leaving directory `/tst/module/InstallBin/bison-2.3/tests'
make  check-local
make[2]: Entering directory `/tst/module/InstallBin/bison-2.3/tests'
/bin/sh ./testsuite 
## ------------------------- ##
## GNU Bison 2.3 test suite. ##
## ------------------------- ##

Input Processing.

  1: Invalid dollar-n                             ok
  2: Invalid @n                                   ok
  3: Type Clashes                                 ok
  4: Unused values                                ok
  5: Incompatible Aliases                         ok
  6: Torturing the Scanner                        ok
  7: Typed symbol aliases                         ok
  8: Require 1.0                                  ok
  9: Require 2.3                                  ok
 10: Require 100.0                                ok

Output file names.

 11: Output files:  -dv                           ok
 12: Output files:  -dv >&-                       ok
 13: Output files:  -dv -o foo.c                  ok
 14: Output files:  -dv -o foo.tab.c              ok
 15: Output files:  -dv -y                        ok
 16: Output files:  -dv -b bar                    ok
 17: Output files:  -dv -g -o foo.c               ok
 18: Output files: %defines %verbose              ok
 19: Output files: %defines %verbose %yacc        ok
 20: Output files: %defines %verbose %yacc        ok
 21: Output files: %file-prefix=bar %defines %verbose  ok
 22: Output files: %output=bar.c %defines %verbose %yacc  ok
 23: Output files: %file-prefix=baz %output=bar.c %defines %verbose %yacc  ok
 24: Output files: %defines %verbose              ok
 25: Output files: %defines %verbose  -o foo.c    ok
 26: Output files:  --defines=foo.hpp -o foo.c++  ok
 27: Output files:  -o foo.c++ --graph=foo.gph    ok
 28: Output files: %skeleton lalr1.cc %defines %verbose  ok
 29: Output files: %skeleton lalr1.cc %defines %verbose  ok
 30: Output files: %skeleton lalr1.cc %defines %verbose -o subdir/foo.cc ok

Grammar Sets (Firsts etc.).

 31: Nullable                                     ok
 32: Broken Closure                               ok
 33: Firsts                                       ok
 34: Accept                                       ok

Grammar Reduction.

 35: Useless Terminals                            ok
 36: Useless Nonterminals                         ok
 37: Useless Rules                                ok
 38: Reduced Automaton                            ok
 39: Underivable Rules                            ok
 40: Empty Language                               ok

User Actions.

 41: Prologue synch line                          ok
 42: %union synch line                            ok
 43: Postprologue synch line                      ok
 44: Action synch line                            ok
 45: Epilogue synch line                          ok

Parser Headers.

 46: %union and --defines                         ok
 47: Invalid CPP guards: input/input              ok
 48: Invalid CPP guards: 9foo                     ok
 49: export YYLTYPE                               ok

User Actions.

 50: Mid-rule actions                             ok
 51: Exotic Dollars                               ok
 52: Printers and Destructors :                   ok
 53: Printers and Destructors with union:         ok
 54: Printers and Destructors : %defines %skeleton lalr1.ccok
 55: Printers and Destructors with union: %defines %skeleton lalr1.ccok
 56: Printers and Destructors : %glr-parser       ok
 57: Printers and Destructors with union: %glr-parserok

Conflicts.

 58: S/R in initial                               ok
 59: %nonassoc and eof                            ok
 60: Unresolved SR Conflicts                      ok
 61: Resolved SR Conflicts                        ok
 62: Defaulted Conflicted Reduction               ok
 63: %expect not enough                           ok
 64: %expect right                                ok
 65: %expect too much                             ok
 66: %expect with reduce conflicts                ok
 67: %no-default-prec without %prec               ok
 68: %no-default-prec with %prec                  ok
 69: %default-prec                                ok

Simple LALR(1) Calculator.

 70: Calculator                                   ok
 71: Calculator %defines                          ok
 72: Calculator %locations                        ok
 73: Calculator %name-prefix=calc               ok
 74: Calculator %verbose                          ok
 75: Calculator %yacc                             ok
 76: Calculator %error-verbose                    ok
 77: Calculator %pure-parser %locations           ok
 78: Calculator %error-verbose %locations         ok
 79: Calculator %error-verbose %locations %defines %name-prefix=calc %verbose 
%yaccok
 80: Calculator %debug                            ok
 81: Calculator %error-verbose %debug %locations %defines %name-prefix=calc %v
erbose %yaccok
 82: Calculator %pure-parser %error-verbose %debug %locations %defines %name-p
refix=calc %verbose %yaccok
 83: Calculator %pure-parser %error-verbose %debug %locations %defines %name-p
refix=calc %verbose %yacc %parse-param {semantic_value *result} %parse-param {
int *count}ok

Simple GLR Calculator.

 84: Calculator %glr-parser                       ok
 85: Calculator %glr-parser %defines              ok
 86: Calculator %glr-parser %locations            ok
 87: Calculator %glr-parser %name-prefix=calc   ok
 88: Calculator %glr-parser %verbose              ok
 89: Calculator %glr-parser %yacc                 ok
 90: Calculator %glr-parser %error-verbose        ok
 91: Calculator %glr-parser %pure-parser %locationsok
 92: Calculator %glr-parser %error-verbose %locationsok
 93: Calculator %glr-parser %error-verbose %locations %defines %name-prefix=ca
lc %verbose %yaccok
 94: Calculator %glr-parser %debug                ok
 95: Calculator %glr-parser %error-verbose %debug %locations %defines %name-pr
efix=calc %verbose %yaccok
 96: Calculator %glr-parser %pure-parser %error-verbose %debug %locations %def
ines %name-prefix=calc %verbose %yaccok
 97: Calculator %glr-parser %pure-parser %error-verbose %debug %locations %def
ines %name-prefix=calc %verbose %yacc %parse-param {semantic_value *result} %p
arse-param {int *count}ok

Simple LALR(1) C++ Calculator.

 98: Calculator %skeleton lalr1.cc %defines %locations ok
 99: Calculator %skeleton lalr1.cc %defines %locations %error-verbose %name-pr
efix=calc %verbose %yaccok
100: Calculator %skeleton lalr1.cc %defines %locations %error-verbose %debug %
name-prefix=calc %verbose %yaccok
101: Calculator %skeleton lalr1.cc %defines %locations %pure-parser %error-ver
bose %debug %name-prefix=calc %verbose %yaccok
102: Calculator %skeleton lalr1.cc %defines %locations %pure-parser %error-ver
bose %debug %name-prefix=calc %verbose %yacc %parse-param {semantic_value *res
ult} %parse-param {int *count}ok

Simple GLR C++ Calculator.

103: Calculator %skeleton glr.cc %defines %locations %pure-parser %error-verbo
se %debug %name-prefix=calc %verbose %yaccok
104: Calculator %skeleton glr.cc %defines %locations %pure-parser %error-verbo
se %debug %name-prefix=calc %verbose %yacc %parse-param {semantic_value *resul
t} %parse-param {int *count}ok

Torture Tests.

105: Big triangle                                 ok
106: Big horizontal                               ok
107: Many look-ahead tokens                       ok
108: Exploding the Stack Size with Alloca         ok
109: Exploding the Stack Size with Malloc         ok

Existing Grammars.

110: GNU AWK Grammar                              ok
111: GNU Cim Grammar                              ok
112: GNU pic Grammar                              ok

Regression tests.

113: Trivial grammars                             ok
114: Early token definitions                      ok
115: Braces parsing                               ok
116: Duplicate string                             ok
117: Rule Line Numbers                            ok
118: Mixing %token styles                         ok
119: Invalid inputs                               ok
120: Invalid inputs with {}                       ok
121: Token definitions                            ok
122: Characters Escapes                           ok
123: Web2c Report                                 ok
124: Web2c Actions                                ok
125: Dancer                                       ok
126: Dancer %glr-parser                           ok
127: Dancer %skeleton lalr1.cc                  ok
128: Expecting two tokens                         ok
129: Expecting two tokens %glr-parser             ok
130: Expecting two tokens %skeleton lalr1.cc    ok

C++ Features.

131: Doxygen Public Documentation                 ok
132: Doxygen Private Documentation                ok

C++ Type Syntax (GLR).

133: GLR: Resolve ambiguity, impure, no locations ok
134: GLR: Resolve ambiguity, impure, locations    ok
135: GLR: Resolve ambiguity, pure, no locations   ok
136: GLR: Resolve ambiguity, pure, locations      ok
137: GLR: Merge conflicting parses, impure, no locationsok
138: GLR: Merge conflicting parses, impure, locationsok
139: GLR: Merge conflicting parses, pure, no locationsok
140: GLR: Merge conflicting parses, pure, locationsok
141: GLR: Verbose messages, resolve ambiguity, impure, no locationsok

GLR Regression Tests

142: Badly Collapsed GLR States                   ok
143: Improper handling of embedded actions and dollar(-N) in GLR parsersok
144: Improper merging of GLR delayed action sets  ok
145: Duplicate representation of merged trees     ok
146: User destructor for unresolved GLR semantic valueok
147: User destructor after an error during a split parseok
148: Duplicated user destructor for lookahead     ok
149: Incorrectly initialized location for empty right-hand side in GLRok
150: No users destructors if stack 0 deleted      ok
151: Corrupted semantic options if user action cuts parseok
152: Undesirable destructors if user action cuts parseok
153: Leaked semantic values if user action cuts parseok
154: Incorrect lookahead during deterministic GLR ok
155: Incorrect lookahead during nondeterministic GLRok
156: Leaked semantic values when reporting ambiguityok
157: Leaked lookahead after nondeterministic parse syntax errorok
158: Uninitialized location when reporting ambiguityok

## ------------- ##
## Test results. ##
## ------------- ##

All 158 tests were successful.
make[2]: Leaving directory `/tst/module/InstallBin/bison-2.3/tests'
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/tests'
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3'
[root@neptune4 bison-2.3]# 
  • 問題無さそうなので,makeする.
[root@neptune4 bison-2.3]# make install
Making install in build-aux
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/build-aux'
make[2]: Entering directory `/tst/module/InstallBin/bison-2.3/build-aux'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/tst/module/InstallBin/bison-2.3/build-aux'
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/build-aux'
Making install in po
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/po'
/bin/sh ../build-aux/mkinstalldirs /usr/local/share
mkdir -p -- /usr/local/share/locale/da/LC_MESSAGES
installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/de/LC_MESSAGES
installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/es/LC_MESSAGES
installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/et/LC_MESSAGES
installing et.gmo as /usr/local/share/locale/et/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/fr/LC_MESSAGES
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/ga/LC_MESSAGES
installing ga.gmo as /usr/local/share/locale/ga/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/hr/LC_MESSAGES
installing hr.gmo as /usr/local/share/locale/hr/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/id/LC_MESSAGES
installing id.gmo as /usr/local/share/locale/id/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/it/LC_MESSAGES
installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/ja/LC_MESSAGES
installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/ms/LC_MESSAGES
installing ms.gmo as /usr/local/share/locale/ms/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/nb/LC_MESSAGES
installing nb.gmo as /usr/local/share/locale/nb/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/nl/LC_MESSAGES
installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/pl/LC_MESSAGES
installing pl.gmo as /usr/local/share/locale/pl/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/pt_BR/LC_MESSAGES
installing pt_BR.gmo as /usr/local/share/locale/pt_BR/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/ro/LC_MESSAGES
installing ro.gmo as /usr/local/share/locale/ro/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/ru/LC_MESSAGES
installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/rw/LC_MESSAGES
installing rw.gmo as /usr/local/share/locale/rw/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/sv/LC_MESSAGES
installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/tr/LC_MESSAGES
installing tr.gmo as /usr/local/share/locale/tr/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/vi/LC_MESSAGES
installing vi.gmo as /usr/local/share/locale/vi/LC_MESSAGES/bison.mo
if test "bison" = "gettext-tools"; then ¥
  /bin/sh ../build-aux/mkinstalldirs /usr/local/share/gettext/po; ¥
  for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.
header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do 
¥
    /usr/bin/install -c -m 644 ./$file ¥
                    /usr/local/share/gettext/po/$file; ¥
  done; ¥
  for file in Makevars; do ¥
    rm -f /usr/local/share/gettext/po/$file; ¥
  done; ¥
else ¥
  : ; ¥
fi
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/po'
Making install in runtime-po
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/runtime-po'
/bin/sh ../build-aux/mkinstalldirs /usr/local/share
installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/bison-runtime.mo
installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/bison-runtime.mo
installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/bison-runtime.mo
installing et.gmo as /usr/local/share/locale/et/LC_MESSAGES/bison-runtime.mo
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/bison-runtime.mo
installing ga.gmo as /usr/local/share/locale/ga/LC_MESSAGES/bison-runtime.mo
installing hr.gmo as /usr/local/share/locale/hr/LC_MESSAGES/bison-runtime.mo
installing id.gmo as /usr/local/share/locale/id/LC_MESSAGES/bison-runtime.mo
installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/bison-runtime.mo
installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/bison-runtime.mo
installing ms.gmo as /usr/local/share/locale/ms/LC_MESSAGES/bison-runtime.mo
installing nb.gmo as /usr/local/share/locale/nb/LC_MESSAGES/bison-runtime.mo
installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/bison-runtime.mo
installing pl.gmo as /usr/local/share/locale/pl/LC_MESSAGES/bison-runtime.mo
installing pt_BR.gmo as /usr/local/share/locale/pt_BR/LC_MESSAGES/bison-runtim
e.mo
installing ro.gmo as /usr/local/share/locale/ro/LC_MESSAGES/bison-runtime.mo
installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/bison-runtime.mo
installing rw.gmo as /usr/local/share/locale/rw/LC_MESSAGES/bison-runtime.mo
mkdir -p -- /usr/local/share/locale/sl/LC_MESSAGES
installing sl.gmo as /usr/local/share/locale/sl/LC_MESSAGES/bison-runtime.mo
installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/bison-runtime.mo
installing tr.gmo as /usr/local/share/locale/tr/LC_MESSAGES/bison-runtime.mo
installing vi.gmo as /usr/local/share/locale/vi/LC_MESSAGES/bison-runtime.mo
mkdir -p -- /usr/local/share/locale/zh_TW/LC_MESSAGES
installing zh_TW.gmo as /usr/local/share/locale/zh_TW/LC_MESSAGES/bison-runtim
e.mo
if test "bison" = "gettext-tools"; then ¥
  /bin/sh ../build-aux/mkinstalldirs /usr/local/share/gettext/po; ¥
  for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.
header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do 
¥
    /usr/bin/install -c -m 644 ./$file ¥
                    /usr/local/share/gettext/po/$file; ¥
  done; ¥
  for file in Makevars; do ¥
    rm -f /usr/local/share/gettext/po/$file; ¥
  done; ¥
else ¥
  : ; ¥
fi
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/runtime-po'
Making install in lib
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/lib'
make  install-am
make[2]: Entering directory `/tst/module/InstallBin/bison-2.3/lib'
make[3]: Entering directory `/tst/module/InstallBin/bison-2.3/lib'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
 /usr/bin/install -c -m 644 'liby.a' '/usr/local/lib/liby.a'
 ranlib '/usr/local/lib/liby.a'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/tst/module/InstallBin/bison-2.3/lib'
make[2]: Leaving directory `/tst/module/InstallBin/bison-2.3/lib'
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/lib'
Making install in data
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/data'
make[2]: Entering directory `/tst/module/InstallBin/bison-2.3/data'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/bison/m4sugar" || mkdir -p -- "/usr/local/share/biso
n/m4sugar"
 /usr/bin/install -c -m 644 'm4sugar/m4sugar.m4' '/usr/local/share/bison/m4sug
ar/m4sugar.m4'
test -z "/usr/local/share/bison" || mkdir -p -- "/usr/local/share/bison"
 /usr/bin/install -c -m 644 'README' '/usr/local/share/bison/README'
 /usr/bin/install -c -m 644 'c.m4' '/usr/local/share/bison/c.m4'
 /usr/bin/install -c -m 644 'yacc.c' '/usr/local/share/bison/yacc.c'
 /usr/bin/install -c -m 644 'glr.c' '/usr/local/share/bison/glr.c'
 /usr/bin/install -c -m 644 'c++.m4' '/usr/local/share/bison/c++.m4'
 /usr/bin/install -c -m 644 'location.cc' '/usr/local/share/bison/location.cc'
 /usr/bin/install -c -m 644 'lalr1.cc' '/usr/local/share/bison/lalr1.cc'
 /usr/bin/install -c -m 644 'glr.cc' '/usr/local/share/bison/glr.cc'
make[2]: Leaving directory `/tst/module/InstallBin/bison-2.3/data'
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/data'
Making install in src
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/src'
make  install-am
make[2]: Entering directory `/tst/module/InstallBin/bison-2.3/src'
make[3]: Entering directory `/tst/module/InstallBin/bison-2.3/src'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
  /usr/bin/install -c 'bison' '/usr/local/bin/bison'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
 /usr/bin/install -c 'yacc' '/usr/local/bin/yacc'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/tst/module/InstallBin/bison-2.3/src'
make[2]: Leaving directory `/tst/module/InstallBin/bison-2.3/src'
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/src'
Making install in doc
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/doc'
make[2]: Entering directory `/tst/module/InstallBin/bison-2.3/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/info" || mkdir -p -- "/usr/local/info"
 /usr/bin/install -c -m 644 './bison.info' '/usr/local/info/bison.info'
test -z "/usr/local/man/man1" || mkdir -p -- "/usr/local/man/man1"
 /usr/bin/install -c -m 644 './bison.1' '/usr/local/man/man1/bison.1'
make[2]: Leaving directory `/tst/module/InstallBin/bison-2.3/doc'
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/doc'
Making install in examples
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/examples'
Making install in calc++
make[2]: Entering directory `/tst/module/InstallBin/bison-2.3/examples/calc++'
make  install-am
make[3]: Entering directory `/tst/module/InstallBin/bison-2.3/examples/calc++'
make[4]: Entering directory `/tst/module/InstallBin/bison-2.3/examples/calc++'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/tst/module/InstallBin/bison-2.3/examples/calc++'
make[3]: Leaving directory `/tst/module/InstallBin/bison-2.3/examples/calc++'
make[2]: Leaving directory `/tst/module/InstallBin/bison-2.3/examples/calc++'
make[2]: Entering directory `/tst/module/InstallBin/bison-2.3/examples'
make[3]: Entering directory `/tst/module/InstallBin/bison-2.3/examples'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/tst/module/InstallBin/bison-2.3/examples'
make[2]: Leaving directory `/tst/module/InstallBin/bison-2.3/examples'
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/examples'
Making install in tests
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3/tests'
make[2]: Entering directory `/tst/module/InstallBin/bison-2.3/tests'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/tst/module/InstallBin/bison-2.3/tests'
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3/tests'
make[1]: Entering directory `/tst/module/InstallBin/bison-2.3'
make[2]: Entering directory `/tst/module/InstallBin/bison-2.3'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/aclocal" || mkdir -p -- "/usr/local/share/aclocal"
 /usr/bin/install -c -m 644 'm4/bison-i18n.m4' '/usr/local/share/aclocal/bison
-i18n.m4'
make[2]: Leaving directory `/tst/module/InstallBin/bison-2.3'
make[1]: Leaving directory `/tst/module/InstallBin/bison-2.3'
[root@neptune4 bison-2.3]# 
  • パスを調べる.
[root@neptune4 bison-2.3]# which bison
/usr/local/bin/bison
[root@neptune4 bison-2.3]# /usr/local/bin/bison --version
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@neptune4 bison-2.3]# 
  • 古いモジュール(OSデフォルト)で入っているものを,削除する.
[root@neptune4 bison-2.3]# rpm -qa | grep bison
bison-1.875c-2.EL
[root@neptune4 bison-2.3]# rpm -e bison-1.875c-2.EL
[root@neptune4 bison-2.3]# 
  • 強制的に消した.
  • このインストールをする前に,autoconfをインストールしているため,その手順の中で/usr/local/binへのパスが追加されている.
  • autoconfをインストールせずに利用する場合には,その資料を参考にして,パスを追加する必要がある.
  • これで終了.

swsw

広告スペース
Google