2012-09-27 111 views
3

這就是我正在做的,這完全是通過我的Windows系統上的PuTTy到Solaris VM上。在Solaris 10上安裝Curl時遇到困難

# ls 
curl-7.27.0   curl-7.27.0.tar.bz2 hostName.pl   starthere.desktop 
# cd curl-7.27.0 
# ls 
Android.mk   README    configure.ac   m4 
CHANGES    RELEASE-NOTES  curl-config.in  maketgz 
CMake    acinclude.m4   curl-style.el  missing 
CMakeLists.txt  aclocal.m4   depcomp    mkinstalldirs 
COPYING    buildconf   docs     packages 
MacOSX-Framework  compile    include    sample.emacs 
Makefile    config.guess   install-sh   src 
Makefile.am   config.log   lib     tests 
Makefile.in   config.sub   libcurl.pc.in  vc6curl.dsw 
Makefile.msvc.names configure   ltmain.sh   winbuild 
# ./configure 
checking whether to enable maintainer-specific portions of Makefiles... no 
checking whether to enable debug build options... no 
checking whether to enable compiler optimizer... (assumed) yes 
checking whether to enable strict compiler warnings... no 
checking whether to enable compiler warnings as errors... no 
checking whether to enable curl debug memory tracking... no 
checking whether to enable hiding of library internal symbols... yes 
checking whether to enable c-ares for DNS lookups... no 
checking for sed... /usr/bin/sed 
checking for grep... /usr/bin/grep 
checking for egrep... /usr/bin/egrep 
checking for ar... no 
configure: error: ar not found in PATH. Cannot continue without ar. 
# 

它位於我的桌面上。有什麼建議麼?我一派,一無所獲=/ 讓我知道這是否屬於別的地方...

回答

3

ar爲GNU歸檔

您將需要確保binutils的,它提供AR,爲你的系統上。

我對Solaris並不熟悉,但似乎安裝'binutils'軟件包會幫助您:http://www.opencsw.org/packages/binutils/

4

對於Solaris 10,ar包含在SUNWbtool軟件包中。 對於Solaris 11,ar包含在系統/鏈接程序包中。

+1

在Solaris 10上,您還需要將/ usr/ccs/bin添加到SUNWbtools版本的$ PATH中。 Solaris 11將其移動到/ usr/bin,因此它位於默認的$ PATH中。 – alanc

相關問題