On Thu, Jul 25, 2002 at 11:41:11AM -0500, Eric Gillespie wrote:
> 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
>
It's possible that that particular version of yacc doesn't support the
"-o" parameter. Solaris's doesn't, for example. It might be safest to
yacc subversion/libsvn_subr/getdate.y
mv y.tab.c subversion/libsvn_subr/getdate.c
instead.
--ben
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 25 23:04:11 2002