Hello,
while compiling man-db-2.5.2, I have the make error 2. This is the message:
Code:
make[2]: Entering directory `/sources/man-db-2.5.2/libdb'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/sources/man-db-2.5.2/libdb'
Making all in src
make[2]: Entering directory `/sources/man-db-2.5.2/src'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../include -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:1446: error: 'TROFF' undeclared (first use in this function)
man.c:1446: error: (Each undeclared identifier is reported only once
man.c:1446: error: for each function it appears in.)
man.c:1449: error: 'NROFF' undeclared (first use in this function)
man.c:1488: error: 'gxditview' undeclared (first use in this function)
man.c: In function 'format_display':
man.c:1950: warning: unused variable 'htmlfile'
man.c:1950: warning: unused variable 'htmldir'
man.c:1949: warning: unused variable 'old_cwd'
man.c:1946: warning: unused parameter 'man_file'
man.c: At top level:
security.h:29: warning: inline function 'regain_effective_privs' declared but never defined
security.h:28: warning: inline function 'drop_effective_privs' declared but never defined
../libdb/db_storage.h:91: warning: inline function 'infoalloc' declared but never defined
../libdb/db_storage.h:89: warning: inline function 'gripe_corrupt_data' declared but never defined
../libdb/db_storage.h:88: warning: inline function 'gripe_lock' declared but never defined
../libdb/db_storage.h:76: warning: inline function 'dblookup_exact' declared but never defined
../libdb/db_storage.h:73: warning: inline function 'dblookup_all' declared but never defined
../libdb/mydbm.h:143: warning: inline function 'btree_nextkeydata' declared but never defined
../libdb/mydbm.h:142: warning: inline function 'btree_replace' declared but never defined
../libdb/mydbm.h:141: warning: inline function 'btree_nextkey' declared but never defined
../libdb/mydbm.h:140: warning: inline function 'btree_firstkey' declared but never defined
../libdb/mydbm.h:138: warning: inline function 'btree_fetch' declared but never defined
../libdb/mydbm.h:137: warning: inline function 'btree_exists' declared but never defined
../libdb/mydbm.h:136: warning: inline function 'btree_close' declared but never defined
make[2]: *** [man.o] Error 1
make[2]: Leaving directory `/sources/man-db-2.5.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/man-db-2.5.2'
make: *** [all] Error 2
I think it's due to the undeclared TROFF and NROFF.
I use this tuto to install man-db:
http://www.linuxfromscratch.org/lfs/...06/man-db.html
Can someone help me please.
Best regard