2012-09-27 198 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

相关问题