bug-bison
[Top][All Lists]
Advanced

[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: Mon, 21 Oct 2013 22:34:14 +0200

Been trying to figure this out. Not sure what is going wrong.

On my first system flex (downloaded from another site), plus it 10
dependancies still gives a core dump. And m4 is also failing to pass, even
though the version numbers look good enough

m4-1.4.17-1
glib2-2.34.3-1
===

Some less "all-inclusive" make options would be better for me for now,
because I think make is failing because I do not have gettext installed on
my fresh build system based on AIX 6.1 (first one was based on AIX 5.3). At
the moment I am getting similar errors as I was on AIX 5.3 - and things
that config misses that are needed not for the main unit, but to finish up.

address@hidden:[/data/prj/gnu/bison/bison-3.0.20]buildaix
+ CPPFLAGS=-I/opt/include CFLAGS=-O2 -qlanglvl=extc99 ./configure \
        --prefix=/opt \
        --sysconfdir=/var/bison/etc \
        --sharedstatedir=/var/bison/com \
        --localstatedir=/var/bison \
        --mandir=/usr/share/man  \
                > build/aix/configure.out
configure: WARNING: bypassing lex because flex is required
+ make > build/aix/make.out
    1500-030: (I) INFORMATION: gram_lex: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value greater
than 8192.
make[2]: *** No rule to make target `doc/figs/example.txt', needed by `doc/
bison.info'.  Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
+ make install DESTDIR=/var/tmp/root/bison-3.0.20.0 > build/aix/install.out
make[2]: *** No rule to make target `doc/figs/example.txt', needed by `doc/
bison.info'.  Stop.
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2
make install returned an error
========================
Lastly - on first system, lex/yacc is not installed; on the AIX 6.1 system
they are. No difference in behavior that I can see.

Deep down - I think the main code of bison is okay. I think I am just
catching some wierd side-effects in the configure script. If only I had a
way to test flex (as I have not been able to build it because of issues
with it's dependencies (e.g., glib).

Sigh - and "smile". So much to learn.


On Mon, Oct 21, 2013 at 10:41 AM, Akim Demaille <address@hidden> wrote:

> Hi Michael,
>
> Le 21 oct. 2013 à 09:53, Michael Felt <address@hidden> a écrit :
>
> > Finally had a moment. The packaging goes well, but the make check does
> not
> > (probably do not have enough installed, e.g. flex).
> >
> > Suggestions welcome.
> >
> > address@hidden:[/data/prj/gnu/bison/bison-3.0.20]buildaix
> > + CPPFLAGS=-I/opt/include CFLAGS=-I/opt/aixtools/include -O2
> > -qlanglvl=extc99 ./configure \
> >        --prefix=/opt \
> >        --sysconfdir=/var/bison/etc \
> >        --sharedstatedir=/var/bison/com \
> >        --localstatedir=/var/bison \
> >        --mandir=/usr/share/man  \
> >> build/aix/configure.out
> > configure: WARNING: bypassing lex because flex is required
> > cmp: EOF on conftest.ok
>
> nice message… I'll try to have a look at that.
>
> >  LEX      examples/calc++/calc++-scanner.cc
> >  CXX      examples/calc++/examples_calc___calc__-calc++-scanner.o
> > xlC_r: 1501-228 (W) input file ./examples/calc++/calc++-scanner.cc not
> found
>
> The package was designed with Flex required.  Paul relaxed
> this constraint, but there are other adjustments to make
> to get the package fully functional.
>
> I'll try to address this, or will restore Flex as required.
>
> Why is installing Flex a problem for you?
>
> Thanks!


reply via email to

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