[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: yacc in autogen.sh

From: Eric Gillespie <epg_at_pretzelnet.org>
Date: 2002-07-25 18:41:11 CEST

Tim =?ISO-8859-1?Q?M=FCller-Seydlitz?= <tms@nagler-company.com> writes:

> According to the comments either bison or yacc is required.
> But autogen.sh only checks for bison

Are you sure?

0 ~% which bison
bison not found
1 ~% which yacc
/usr/bin/yacc

Yet i build svn all the time on this system (NetBSD).

From autogen.sh:

# yacc or bison -- but not people who compile sourceballs, since `make
# dist` will include getdate.c.
echo "Creating getdate.c..."
bison -o subversion/libsvn_subr/getdate.c subversion/libsvn_subr/getdate.y
if [ $? -ne 0 ]; then
    yacc -o subversion/libsvn_subr/getdate.c subversion/libsvn_subr/getdate.y
    if [ $? -ne 0 ]; then
        echo
        echo " Error: can't find either bison or yacc."
        echo " One of these is needed to generate the date parser."
        echo
        exit 1
    fi
fi

--
Eric Gillespie <*> epg@pretzelnet.org

Build a fire for a man, and he'll be warm for a day. Set a man on
fire, and he'll be warm for the rest of his life. -Terry Pratchett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 25 18:41:53 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.