Alexander E. Patrakov patrakov at ums.usu.ru
Fri Jun 3 06:56:17 PDT 2005

David Jensen wrote:
> I poked at this for a couple days, and there are problems with the 
> current flex build instructions:
> 1.  The order of the files in flex-2.5.31-debian_fixes-2.patch may 
> sometimes trigger regenerating scan.c, which causes the build to fail if 
> flex is not already installed.
> -- Solution:  Move the scan.c section of the patch to after the scan.l 
> section. Build and install per the current instructions.  Goto 2.

The livecd scripts implement another solution:

patch -Z -Np1 -i flex-2.5.31-debian_fixes-2.patch

Note the "-Z" option which causes dates to be set from the patch.

Alexander E. Patrakov

More information about the lfs-dev mailing list