On 10/16/19 10:43 AM, Bruce Dubbs wrote:
On 10/15/19 11:04 PM, Trent wrote:

On 10/15/19 9:31 PM, Trent wrote:
Here is the URL:

http://www.linuxfromscratch.org/lfs/view/stable-systemd/chapter06/man-db.html

I have checked when I entered, and ran through this about four times with the same compile error:


These compile time errors are not so obvious to me:


man.c: In function 'init_html_pager':
man.c:338:2: error: 'html_pager' undeclared (first use in this function); did you mean 'init_html_pager'?
  338 |  html_pager = getenv ("BROWSER");
      |  ^~~~~~~~~~
      |  init_html_pager
man.c:338:2: note: each undeclared identifier is reported only once for each function it appears in
man.c: In function 'make_roff_command':
man.c:1306:26: error: 'TROFF' undeclared (first use in this function)
 1306 |       (get_def ("troff", TROFF));
      |                          ^~~~~
man.c:1310:26: error: 'NROFF' undeclared (first use in this function)
 1310 |       (get_def ("nroff", NROFF));
      |                          ^~~~~
man.c: In function 'format_display':
man.c:1893:20: warning: unused parameter 'man_file' [-Wunused-parameter]
 1893 |        const char *man_file)
      |        ~~~~~~~~~~~~^~~~~~~~
  CC       zsoelim.o
At top level:
man.c:336:13: warning: 'init_html_pager' defined but not used [-Wunused-function]
  336 | static void init_html_pager (void)
      |             ^~~~~~~~~~~~~~~
  CC       check_mandirs.o
make[3]: *** [Makefile:1933: man.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/sources/man-db-2.8.6.1/src'
make[2]: *** [Makefile:1969: all-recursive] Error 1
make[2]: Leaving directory '/sources/man-db-2.8.6.1/src'
make[1]: *** [Makefile:1560: all-recursive] Error 1
make[1]: Leaving directory '/sources/man-db-2.8.6.1'
make: *** [Makefile:1488: all] Error 2

I did find a solution for this one also.  It seems Groff was giving me an issue. I found a very old post mentioning they forgot to install Groff, but I had not forgotten.

It seems it did not like my mass pasting either, despite it generating no errors.  Odd.

A very common when building groff is to paste:

PAGE=<paper_size> ./configure --prefix=/usr

That doesn't work.  The user needs to substitute 'letter' or 'A4' for <paper_size> as the text says.

  -- Bruce


Thanks for chiming in Bruce, but that was not the issue.


--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to