[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling bison-3.0 on AIX 5.3

From: Michael Felt
Subject: Re: compiling bison-3.0 on AIX 5.3
Date: Sun, 25 Aug 2013 13:24:36 +0200

Thanks for the suggestion to use git, etc, on Linux.

needed to install packages: in addition to what you listed above to
verify/install: autopoint, "makeinfo" via texinfo and help2man.

All looked fairly well, the initial make complained about help2man not
being available (at the end), and consequently, make dist did not complete.

After running 'make maintainer-clean' - as suggested, after ./configure
(even after a new bootstrap and configure) make fails to run to end
stopping with message:
  YACC   src/parse-gram.c
/data/prj/gnu/bison/bison/./tests/bison: line 28:
/data/prj/gnu/bison/bison/src/bison: No such file or directory
Can't open y.tab.[ch]: No such file or directory.
make: *** [src/parse-gram.c] Error 1

=== make V=1 output ===
address@hidden:/data/prj/gnu/bison/bison# make V=1
/bin/bash ./build-aux/ylwrap src/parse-gram.y y.tab.c src/parse-gram.c
y.tab.h src/parse-gram.h y.output src/parse-gram.output -- ./tests/bison -o
y.tab.c -d -v -Werror -Wall -Wno-yacc --report=all
/data/prj/gnu/bison/bison/./tests/bison: line 28:
/data/prj/gnu/bison/bison/src/bison: No such file or directory
Can't open y.tab.[ch]: No such file or directory.
make: *** [src/parse-gram.c] Error 1
address@hidden:/data/prj/gnu/bison/bison# ls src
AnnotationList.c  getargs.h         main.c           print-xml.h
AnnotationList.h  gram.c            muscle-tab.c     reader.c
assoc.c           gram.h            muscle-tab.h     reader.h       state.c
assoc.h           graphviz.c        named-ref.c      reduce.c       state.h
closure.c         graphviz.h        named-ref.h      reduce.h
closure.h         ielr.c            nullable.c       relation.c
complain.c        ielr.h            nullable.h       relation.h     symtab.c
complain.h        InadequacyList.c  output.c         Sbitset.c      symtab.h
conflicts.c       InadequacyList.h  output.h         Sbitset.h      system.h
conflicts.h       lalr.c            parse-gram.[ch]  scan-code-c.c  tables.c
derives.c         lalr.h            parse-gram.y     scan-code.h    tables.h
derives.h         local.mk          print.c          scan-code.l
files.c           location.c        print_graph.c    scan-gram-c.c
files.h           location.h        print_graph.h    scan-gram.h
flex-scanner.h    LR0.c             print.h          scan-gram.l
getargs.c         LR0.h             print-xml.c      scan-skel-c.c

The first time make seemed to go fine. Will delete the whole git directory,
and restart - so this is FYI

On Sun, Aug 25, 2013 at 3:49 AM, Paul Eggert <address@hidden> wrote:

> Michael Felt wrote:
> > do I need to do something besides ./configure
> > (I did "make distclean", then configure, then make V=1)
> If you're building from git, please follow the instructions in
> README-hacking.  Here's a precis:
> * Make sure you have up-to-date versions of autoconf, automake, flex,
>   gettext, git, graphviz, gzip, perl, rsync, and tar installed.  If this
>   isn't feasible, do the remaininng steps on a GNU/Linux host that
>   has recent tools installed, then type 'make dist', and copy
>   the distribution tarball to AIX and build the tarball as usual.
> * Run the following shell commands:
> git clone git://git.savannah.gnu.org/bison.git
> git checkout maint
> git submodule update --init
> ./bootstrap
> ./configure
> make
> make check
> It'll take a while; sorry.  If you're on a multicore machine
> something like 'make -j8' should be faster than plain 'make'.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]