Problem compiling on Sparc/Solaris

Alex Moen alexm at ndtel.com
Fri Oct 24 21:31:38 UTC 2003


> I'm pretty mystified:
> 
> windlord:~/dvl/inn/lib> rm parsedate.c parsedate.o 
> windlord:~/dvl/inn/lib> bison --version bison (GNU Bison) 
> 1.875a Written by Robert Corbett and Richard Stallman.
> 
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. 
>  There is NO warranty; not even for MERCHANTABILITY or 
> FITNESS FOR A PARTICULAR PURPOSE. windlord:~/dvl/inn/lib> 
> make parsedate.c Expect 6 shift/reduce conflicts bison -y parsedate.y
> conflicts: 6 shift/reduce
> windlord:~/dvl/inn/lib> dir parsedate.*
> -rw-r--r--    1 eagle    root        57340 Oct 24 12:32 parsedate.c
> -rw-r--r--    1 eagle    root        23008 May 31 12:42 parsedate.y
> 
> This is the Bison that comes with Debian.  Maybe they fixed something.
> 
> You could try modifying Makefile.global to use 
> /usr/ccs/bin/yacc instead of bison -y and see if that works 
> any better.
> 
> -- 
> Russ Allbery (rra at stanford.edu)             
> <http://www.eyrie.org/~eagle/>

I tried bison 1.875, and it wouldn't work at all either, and was advised to
back down to 1.75, which also did not make any diff.... However, I see the
"a" after your version number, maybe that's the difference.  Bison does not
come with Solaris, so I had to add it (pkg from Sunfreeware).

Thanks,

Alex



More information about the inn-workers mailing list