[lfs-support] Bison-3.0.4 is not installing

Bruce Dubbs bruce.dubbs at gmail.com
Mon Aug 22 10:03:14 PDT 2016

Albert Pinto Gil wrote:
> Hi, I'm having some problems with bison package. I've followed every single
> instruction of that package and the output says that I need a package
> called help2man. I decided to enter the internet direction that appears in
> the terminal window and I could download it. However I do not know exactly
> how to install it. I don't know if that is really the problem because it
> could be an error with man-pages, which I just try to reinstall and the
> situation is the same.
> Is there any way to solve this problem with the installation of bison? I'm
> adding to this email the log of bison package when I type the commands of
> the book.
> I am using Xubuntu 16.04.1 LTS 64-bits as the kernel.

The kernel is not significant here.

I checked my log and do not have the lines:

  GEN      doc/bison.1
/sources/bison-3.0.4/build-aux/missing: line 81: help2man: command not found

Check the md5sum of the bison tarball.  I do not know why doc/bison.1 is 
being regenerated.  You may want to check that the time for system is 
correct in chroot.

The dependencies for doc/bison.1 are doc/bison.help, doc/bison.x, and 
configure.  Check the time stamps for all those files.  They all should be 
earlier than doc/bison.1.

I have:

-rwxr-xr-x 1 1034648 2015-01-23 06:54:23.000000000 -0600 configure
-rw-r--r-- 1    5883 2015-01-23 06:55:03.000000000 -0600 doc/bison.1
-rw-r--r-- 1    3934 2015-01-23 06:55:03.000000000 -0600 doc/bison.help
-rw-r--r-- 1    1383 2013-02-14 03:03:46.000000000 -0600 doc/bison.x

That looks like bison.1 and bison.help have the same time. That should be 
OK, but you can make sure by doing 'touch doc/bison.1'  before make.

   -- Bruce

More information about the lfs-support mailing list