步驟如下:
$ cd
$ wget https://ftp.gnu.org/gnu/texinfo/texinfo-6.5.tar.gz
$ tar xvf texinfo-6.5.tar.gz
$ cd texinfo-6.5
$ ./configure --prefix=$PREFIX
$ make
./regexec.c:483:3: error: use of undeclared identifier 'pthread_cancel'; did you mean 'pthread_once'?
$ vim gnulib/lib/glthread/lock.h +152
#define pthread_cancel pthread_kill
$ make
$ make install
$ texi2pdf --version
texi2pdf (GNU Texinfo 6.5) 7842
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.