Quoting [email protected]: > LFS 7.2 / BLFS 2012-09-02 > > Running "./configure --prefix=/usr && make" in sharutils-4.11.1 resulted in: > > gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -O2 -march=atom -MT > localcharset.o -MD -MP -MF .deps/localcharset.Tpo -c -o localcharset.o > localcharset.c > In file included from localcharset.c:28:0: > ./stdio.h:494:1: error: 'gets' undeclared here (not in a function) > make[4]: *** [localcharset.o] Error 1 > make[4]: Leaving directory `/sources/sharutils-4.11.1/lib' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/sources/sharutils-4.11.1/lib' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/sources/sharutils-4.11.1/lib' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/sources/sharutils-4.11.1' > make: *** [all] Error 2 > > > I managed to solve the problem intuitively applying "sed -i -e '/gets is > a/d' lib/stdio.in.h" (as it was frequently done in LFS 7.2.book). Package > then compiled and all tests passed too. > > I am new to Linux and not sure if I done it right. Is it safe to continue? > > > > -- > http://linuxfromscratch.org/mailman/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page
I suspect that it is safe to continue. I don't think sharutils is a major dependency for anything else. I think sharutils stands for shell archive utilities. It can be used instead of tar where some people say that sharutils is better than tar. If the tests all passed, and the recommended sed command is in BLFS 7.2, I suspect that you are okay to continue. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
