[mapserver-users] byacc error on make from CVS

Frank Koormann frank.koormann at intevation.de
Tue Feb 19 05:38:20 EST 2002


Tyler,

* Tyler Mitchell (TMitchell at lignum.com) [020219 02:17]:
> I'm trying to build mapserver from CVS and I get this error when I run
> make:
> 
> >byacc -p msyy -d -omapparser.c mapparser.y
> >usage: byacc [-dlrtv] [-b file_prefix] [-p symbol_prefix] filename
> 
> Can anyone comment on this for me - do I need to provide more information?

looks as if your byacc does not support to "-o" option to specify an
output file. AFAIR mapserver build process is relatively strict bound to
the GNU version of yacc, bison.

A try would be to indentify the line in the generated makefile and
edit it to something like 
byacc -p msyy -d mapparser.y > mapparser.c

Regards,

        Frank

-- 
Frank Koormann                             <frank.koormann at intevation.de>
 Professional Service around Free Software       (http://intevation.net/)
 FreeGIS Project                                 (http://freegis.org/)



More information about the mapserver-users mailing list