Uli Fahrenberg wrote:
I'm trying to compile detex-2.7,

I was able to compile it using the following commands:

sed -f states.sed detex.l > xxx.l
lex  xxx.l
rm -f xxx.l
mv lex.yy.c detex.c
sed -i -e '1i#include<stdint.h>' -e '/\]\]/d' detex.c
cc -O  -DNO_MALLOC_DECL   -c -o detex.o detex.c
cc -O  -o detex detex.o -ll

The need for #include <stdint.h> and for -DNO_MALLOC_DECL are detex bugs. The need to remove the ']]' line is definitely a bug in flex (reproducible on Debian too).

--
Alexander E. Patrakov

--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
  • Re: detex Alexander E. Patrakov

Reply via email to