cURL / Mailing Lists / curl-library / Single Mail


Re: 7.12.1 Solaris build problem with getdate.y

From: Daniel Stenberg <>
Date: Fri, 10 Sep 2004 15:12:39 +0200 (CEST)

On Fri, 10 Sep 2004, Mohun Biswas wrote:

> Notice that make continues past the error. This is because of the semicolon
> after the yacc command. If replaced with "&&", make fails appropriately.

This particular flaw has been corrected in CVS since the 7.12.1 release.

> Regarding the actual yacc problem, it seems to have come up once before in
> 2003: I
> suspect it doesn't come up more often because the tar package comes with
> getdate.c, and the problem only shows up if you do a "make clean", which
> removes getdate.c, before building.


> I suspect the recommendation would be the same as in 2003: "install bison".

Can you try to simply remove the offending 'expect' line first? It might be
the only thing that prevents it from working fine with yacc.

> But IMHO a creeping dependence on the GNU toolchain would be unfortunate.

I completely agree.

> Is it possible to make the yacc grammar such that it will build with a
> standard yacc?

I would like that very much as well.

> Or alternatively, if getdate.c is to be considered a delivered source file
> rather than a derived object, why should "make clean" remove it?

Beause it isn't in CVS and it is generated.

      Daniel Stenberg -- --
       Dedicated custom curl help for hire:
Received on 2004-09-10