我安裝libwebsocket它給我的錯誤:---
http://git.warmcat.com/cgi-bin/cgit/libwebsockets/snapshot/libwebsockets-1.0-chrome25-firefox17.tar.gz安裝的libtool的新版本 - libwebsocket warmcat
/pi/libwebsockets-1.0-chrome25-firefox17$ ./autogen.sh
Preparing the libwebsockets build system...please wait
Found GNU Autoconf version 2.69
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:",
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:",
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Found GNU Automake version 1.13
Found GNU Libtool version 1.5.26
Automatically preparing build ... Warning: autoreconf failed
Attempting to run the preparation steps individually
Preparing build ... ERROR: aclocal failed
目前當我運行的libtool --version:---
/home/pi$ libtool --version
ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
如果我運行whereis命令,我得到以下的輸出:----
/pi/libtool-2.4.2$ whereis libtool
libtool:
我必須安裝libtool版本2.4.2,才能擺脫上述錯誤。
現在我已經安裝了2.4.2版本的libtool:---
ftp://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz
安裝2.4.2版本的libtool後,如果我運行whereis命令,我得到以下的輸出:----
/pi/libtool-2.4.2$ whereis libtool
libtool: /usr/local/bin/libtool
但是,如果我跑的libtool --version:---
/home/pi$ libtool --version
ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
爲什麼libtool的--version命令沒有顯示的libtool 2.4.2的最新安裝的版本?
另外,當我運行./autogen.sh時,libwebsocket出現同樣的錯誤。
什麼和這個文件在哪裏--- ltmain.sh?它隱藏實際的libtool安裝?請建議。 – Katoch