Paul Rogers wrote:
How do you get past this build error? Been struggling with it for two
days, but find nothing in my build environment to explain it. I find no
mention of it in the book. The file certainly is missing in the
tarball. Beginning to think the source tarball is "bad".
/usr/bin/bison
bison -p sensors_yy -d lib/conf-parse.y -o lib/conf-parse.c
bison: m4 subprocess failed: No such file or directory
Makefile:175: lib/conf-lex.ad: No such file or directory
make: *** [Makefile:271: lib/conf-parse.c] Error 1
That's a really fast build. I checked and it looks good to me:
lm_sensors-3.4.0.tar.bz2
md5sum : c03675ae9d43d60322110c679416901a
I do have ./lib/conf-lex.ad in my build directory but I think that is a
generated file from lib/conf-lex.l. There have been some problems with
flex lately. Try updating flex to the latest flex-2.6.4 and see if that
fixes your problem. I just did that update this morning.
Just use this:
HELP2MAN=/bin/true \
./configure --prefix=/usr --docdir=/usr/share/doc/flex-2.6.4
make
make install
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page