Sorry, my fault.  I was too liberal in trimming down that command.  It
matched more than it should have.  After a fresh unpackage and configure,
this should do it:

  find . -name Makefile | xargs perl -pi -e 's/LEX = flex/LEX = flex -l/'

Randy

Richard Cook:
 |>find . -name Makefile | xargs perl -pi -e 's/flex/flex -l/').  Probably
 |>a flex version-related problem, but I'm not a yacc/flex expert.
 |
 |I tried your trick and now I got:
 |gcc  -g -O2 -I/usr/local/tools/gnu/Mesa3D/4.0.3/include -D_GNU_SOURCE 
 |edflex.c  -o edflex
 |edflex.c:9:22: dxconfig.h: No such file or directory
 |edflex.c:12:19: dx/dx.h: No such file or directory
 |So I used your trick with a twist:
 |find . -name Makefile | xargs perl -pi -e 
 |'s/-D_GNU_SOURCE/-D_GNU_SOURCE -I\${prefix}\/include/'
 |
 |And now I'm stuck with:
...
 |/usr/local/tools/DX/OpenDX/src/4.2.0/dx-4.2.0/include/dx/arch.h:667:1: 
 |warning: "DXD_STANDARD_IEEE" redefined
...
 |make_outbuf: mmap write failure(Not enough space)
 |collect2: ld returned 1 exit status
 |*** Exit 1
 |
 |Now what?  Thanks for your help, I know this is doable.


-- 
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA N127-01; RTP, NC 27711

Reply via email to