help-bison
[Top][All Lists]
Advanced

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

Re: Building under cygwin from git rep.


From: Efi Fogel
Subject: Re: Building under cygwin from git rep.
Date: Tue, 16 Apr 2013 23:42:28 +0300

On Tue, Apr 16, 2013 at 9:54 AM, Akim Demaille <address@hidden> wrote:

>
> Le 14 avr. 2013 à 22:09, Efi Fogel <address@hidden> a écrit :
>
> > Dear users,
>
> Hi!
>
> > Not sure whether this is the right place, but I couldn't find a better
> one.
>
> Here is fine.
>
> > I wanted to use a new feature that is in the pipe, namely using
> > boost::variant
>
> It's not based on Boost.
>

ok

>
> > instead of union to specify the collection of possible data
> > types for semantic values.
> >
> > I downloaded the sources from the savannah git repository.
>
> Did you run git submodules update --init?  Are you on "master" in
> both cases?
>

I did not run the 'git submodule...' command the first time, but I did now.
I still get the first error; see below. Am I suppose to run anything else
before I run 'bootstrap'?
I am master.


>
> > On Ubuntu, I was
> > able to build this bison version no problem. However, on cygwin, I got
> > stuck. 'bootstrap' completed without errors and so did 'configure'.
> > However, running 'make' ended up with errors. I got the following error
> > message right away:
> >
> > cd . && /bin/sh /cygdrive/d/home/efif/trees/bison/build-aux/missing --run
> > automake-1.12 --gnu Makefile
> > lib/local.mk:19: error: lib_libbison_a_SOURCES must be set with '='
> before
> > using '+='
>
> That's weird, there is no reason for this to happen.
>

I was imprecise. I actually get the error above while running 'bootstrap'.
So first, here is the error message. (Notice the first line about some
unrecognized character.)

Unrecognized character \xFF in column 11 at build-aux/prefix-gnulib-mk line
1.
running: AUTOPOINT=true LIBTOOLIZE=true autoreconf --verbose --install
--force -I m4  --no-recursive
autoreconf-2.69: Entering directory `.'
autoreconf-2.69: running: true --force
autoreconf-2.69: running: aclocal -I m4 --force -I m4
autoreconf-2.69: configure.ac: tracing
autoreconf-2.69: configure.ac: not using Libtool
autoreconf-2.69: running: /usr/bin/autoconf-2.69 --include=m4 --force
autoreconf-2.69: running: /usr/bin/autoheader-2.69 --include=m4 --force
autoreconf-2.69: running: automake --add-missing --copy --force-missing
configure.ac:61: installing 'build-aux/compile'
configure.ac:61: installing 'build-aux/config.guess'
configure.ac:61: installing 'build-aux/config.sub'
configure.ac:48: installing 'build-aux/install-sh'
configure.ac:48: installing 'build-aux/missing'
lib/local.mk:19: error: lib_libbison_a_SOURCES must be set with '=' before
using '+='
Makefile.am:60:   'lib/local.mk' included from here
Makefile.am: installing './INSTALL'
Makefile.am: installing 'build-aux/depcomp'
configure.ac: installing 'build-aux/ylwrap'
doc/local.mk:17: installing 'build-aux/mdate-sh'
Makefile.am:57:   'doc/local.mk' included from here
doc/local.mk:17: installing 'build-aux/texinfo.tex'
Makefile.am:57:   'doc/local.mk' included from here
configure.ac:48: installing 'build-aux/test-driver'
lib/local.mk:19: warning: variable 'lib_libbison_a_SOURCES' is defined but
no program or
lib/local.mk:19: library has 'lib_libbison_a' as canonical name (possible
typo)
Makefile.am:60:   'lib/local.mk' included from here
autoreconf-2.69: automake failed with exit status: 1
./bootstrap: autoreconf failed

When I look at build-aux/prefix-gnulib-mk it seems completely corrupted.


> > Makefile.am:60:   'lib/local.mk' included from here
> > lib/local.mk:19: warning: variable 'lib_libbison_a_SOURCES' is defined
> but
> > no program or
> > lib/local.mk:19: library has 'lib_libbison_a' as canonical name
> (possible
> > typo)
> > Makefile.am:60:   'lib/local.mk' included from here
> > Makefile:2478: recipe for target `Makefile.in' failed
> > make: *** [Makefile.in] Error 1
> >
> > I removed the '+' sign, and was able to make a small step forward.
>
> But that's wrong, the problem is elsewhere.
>
> > Then, I
> > got the following error message:
> >
> > make: *** No rule to make target `fcntl.in.h', needed by `fcntl.h'.
>  Stop.
>
> I suspect you have a problem with your submodules.  Be sure to sure
> git submodule update --init, and please, show the last commit message
> of the branch you're trying to build.
>
>


-- 
   ____  _        ____             _
  /_____/_) o    /__________  __  //
 (____ (   (    (    (_/ (_/-(-'_(/
                         _/


reply via email to

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