[postgis-devel] flex arguments invalid

Kris Jurka books at ejurka.com
Tue Oct 5 14:53:57 PDT 2004


With flex 2.5.31 the incantation flex -if gives

flex: option `i' doesn't allow an argument
Try `flex --help' for more information.

Changing this to -i -f makes it work for me.

Kris Jurka
-------------- next part --------------
Index: lwgeom/Makefile
===================================================================
RCS file: /home/cvs/postgis/postgis/lwgeom/Makefile,v
retrieving revision 1.34
diff -c -r1.34 Makefile
*** lwgeom/Makefile	5 Oct 2004 21:08:04 -0000	1.34
--- lwgeom/Makefile	5 Oct 2004 21:54:38 -0000
***************
*** 97,103 ****
  
  
  lex.yy.c: wktparse.lex wktparse.tab.c
! 	$(FLEX) -Plwg_parse_yy -if -o'lex.yy.c' wktparse.lex 
  
  lwgeom_geos_wrapper.o: lwgeom_geos_wrapper.cpp
  
--- 97,103 ----
  
  
  lex.yy.c: wktparse.lex wktparse.tab.c
! 	$(FLEX) -Plwg_parse_yy -i -f -o'lex.yy.c' wktparse.lex 
  
  lwgeom_geos_wrapper.o: lwgeom_geos_wrapper.cpp
  


More information about the postgis-devel mailing list