When I was building Tetex first time through, midway through, I came to a grinding halt with these error messages:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -g -O2 -c tangleboot.c -o tangleboot.o In file included from tangleboot.c:94: tangleboot.h:34: error: conflicting types for âgetlineâ /usr/include/stdio.h:651: note: previous declaration of âgetlineâ was here tangleboot.c:2175: error: conflicting types for âgetlineâ /usr/include/stdio.h:651: note: previous declaration of âgetlineâ was here make[2]: *** [tangleboot.o] Error 1 make[2]: Leaving directory `/sources/tetex-src-3.0/texk/web2c' make[1]: *** [all] Error 1 make[1]: Leaving directory `/sources/tetex-src-3.0/texk' make: *** [all] Error 1 And a "AHA!!" moment came into my head: Tetex has a conflict with Glibc 2.10.1, with getline (I've seen this before with kenel 2.6.27.7 and binutils), and I got this sed to fix it: sed -i 's/getline/get_line/' texk/web2c/tangleboot.* Just a heads up if you're building teTex under 6.5. William -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
