Flex compilation issue...

David Fix 6gwlse302 at sneakemail.com
Tue May 31 16:20:31 PDT 2005


> -----Original Message-----
> Sent: Tuesday, May 31, 2005 4:17 PM
> Subject: Re: Flex compilation issue...
> 
> On Tue, 31 May 2005 16:13:24 +0000, David Fix wrote:
> 
> > Hey guys, I've been working through the book 
> (SVN-20050524), and I'm at
> > 6.29. Flex-2.5.31...  (I posted this on the lfs-devel list, 
> but they told
> > me to ask here)...  However, I get the following when I 
> attempt to compile
> > (some parts compile, then it gets to this):
> > 
> > --------------------
> > if gcc -DHAVE_CONFIG_H -I. -I. -I.  
> -DLOCALEDIR=\"/usr/share/locale\"
> > -I/usr/include -I./intl   -g -O2 -MT parse.o -MD -MP -MF 
> ".deps/parse.Tpo"
> > -c -o parse.o parse.c; \ then mv -f ".deps/parse.Tpo" 
> ".deps/parse.Po";
> > else rm -f ".deps/parse.Tpo"; exit 1; fi /bin/sh
> > /working/flex-2.5.31/missing --run flex   scan.l
> > /working/flex-2.5.31/missing: line 46: flex: command not 
> found WARNING:
> > `flex' is missing on your system.  You should only need it if
> >          you modified a `.l' file.  You may need the `Flex' 
> package in
> >          order for those modifications to take effect.  You 
> can get `Flex'
> >          from any GNU archive site.
> > sed '/^#/ s|\.c|scan.c|' .c >scan.c
> > sed: can't read .c: No such file or directory make[2]: *** 
> [scan.c] Error
> > 2
> > make[2]: Leaving directory `/working/flex-2.5.31' make[1]: ***
> > [all-recursive] Error 1
> > make[1]: Leaving directory `/working/flex-2.5.31' make: *** 
> [all] Error 2
> > 
> > --------------------
> > 
> > Any thoughts, anyone?  :)
> 
> I just ended up installing flex-2.5.4 instead of 2.5.31.
> 
> Sincerely,
> William (Ratrophy)
> 
> -------------------------------------------------
> This mail sent through MuleMail: http://mulemail.cmsu.edu/
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
> 
> 

Yeah, but that's cheating!  ;)  I did what David Jensen suggested, and that
worked too...  :)  However, flex 2.5.4 sounds so much more bleeding edge...
;)

	Dave




More information about the lfs-support mailing list