1. 程式人生 > >安裝nghttp2 報錯error: Libtool library used but 'LIBTOOL' is undefined

安裝nghttp2 報錯error: Libtool library used but 'LIBTOOL' is undefined

ade use rec int nbsp acl 重新 con 操作

nghttp2 報錯error: Libtool library used but ‘LIBTOOL‘ is undefined

如果重新安裝libtool和autoconf升級到2.69後,還是報錯,

則進行下面的操作:

1,查看aclocal的路徑 aclocal --print-ac-dir

顯示/usr/local/share/libtool/m4

ls看看裏面沒有m4文件。

則copy /usr/share/libtool/m4裏面的m4文件到此目錄下。

2,cd到nghtt2目錄

執行

libtoolize

aclocal

autoheader

3,重新執行

$ autoreconf -i

$ automake

$ autoconf

$ ./configure xxxx

$ make

安裝nghttp2 報錯error: Libtool library used but 'LIBTOOL' is undefined