LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-14-2008, 02:51 AM   #1
hitomi_doaxbv
LQ Newbie
 
Registered: Oct 2005
Posts: 8

Rep: Reputation: 1
man-db-2.5.2 make's error


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

Last edited by hitomi_doaxbv; 12-14-2008 at 07:37 AM.
 
Old 12-14-2008, 07:55 AM   #2
hitomi_doaxbv
LQ Newbie
 
Registered: Oct 2005
Posts: 8

Original Poster
Rep: Reputation: 1
My bad,
I forgot to install correctly the <b>groff</b> package. Can someone delete this thread please.
 
1 members found this post helpful.
Old 02-20-2009, 02:24 PM   #3
ninja master
Member
 
Registered: May 2008
Distribution: funtoo/gentoo amd64 xwrt
Posts: 412

Rep: Reputation: 31
thanks for NOT deleting this. pointed me directly @ my half awake not editing the "letter" variable in the set of commands in the groff package!
 
Old 11-14-2009, 05:50 AM   #4
dragonfever
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Rep: Reputation: 0
Quote:
Originally Posted by ninja master View Post
thanks for NOT deleting this. pointed me directly @ my half awake not editing the "letter" variable in the set of commands in the groff package!
I encountered the same error,and I set the "A4" variable in the set of commands in the groff package. That's ok, too~
 
Old 03-28-2011, 08:49 AM   #5
oz123
LQ Newbie
 
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by ninja master View Post
thanks for NOT deleting this. pointed me directly @ my half awake not editing the "letter" variable in the set of commands in the groff package!
+1 for that, I also had that problem of mis-configuring groff. Going back and re-installing groff properly, solved issues with mandb !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
man error (grof grotty error signal 11) SW-ANIKY Linux - Newbie 1 12-21-2007 11:10 AM
How to adjust make's configuration?? piggyaugu Linux - Software 2 08-01-2005 06:32 PM
Stopping recursive make's on error Meatwad Programming 0 04-28-2004 05:31 PM
man error juno Linux - General 2 10-28-2002 02:24 AM
capture make's output gboutwel Linux - Newbie 2 07-07-2002 05:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration