Hi all, I am getting the following compilation errors with the man-db-2.5.5 package in LFS-6.5.
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../include -I../intl -I../gnulib/lib -I../gnulib/lib -I../lib -I../libdb -DCONFIG_FILE=\"/etc/man_db.conf\" -DLOCALEDIR=\"/usr/share/locale\" -DAPROPOS=\"/usr/bin/apropos\" -DAPROPOS_NAME=\"apropos\" -DMAN=\"/usr/bin/man\" -DMANCONV=\"/usr/lib/man-db/manconv\" -DMANDB=\"/usr/bin/mandb\" -DSOELIM=\"/usr/bin/zsoelim\" -DWHATIS=\"/usr/bin/whatis\" -g -O2 -Wall -W -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wshadow -Wformat-security -Wno-missing-field-initializers -MT man.o -MD -MP -MF .deps/man.Tpo -c -o man.o man.c man.c: In function 'make_roff_command': man.c:1510: error: 'TROFF' undeclared (first use in this function) man.c:1510: error: (Each undeclared identifier is reported only once man.c:1510: error: for each function it appears in.) man.c:1514: error: 'NROFF' undeclared (first use in this function) man.c:1553: error: 'gxditview' undeclared (first use in this function) man.c: In function 'format_display': man.c:2027: warning: unused variable 'htmlfile' man.c:2027: warning: unused variable 'htmldir' man.c:2026: warning: unused variable 'old_cwd' man.c:2023: warning: unused parameter 'man_file' make[2]: *** [man.o] Error 1 make[2]: Leaving directory `/sources/man-db-2.5.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/sources/man-db-2.5.5' make: *** [all] Error 2 Looks like I am either missing some files or some patch. The MD5 sums of the downloaded tar ball and the patch file, however, match. Could someone please tell me what I could be missing? Deviations from LFS-6.5: I installed Perl-5.10.1 and its corresponding patch instead of 5.10.0. The latter is no longer available at the download site. Thanks for your help. Abhinav. -- It's the peoples' will, I am their leader, I must follow them. (Jim Hacker in Yes Minister)
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page