Unix 在Solaris 10上安装Curl时遇到问题

Unix 在Solaris 10上安装Curl时遇到问题,unix,curl,installation,solaris,Unix,Curl,Installation,Solaris,这就是我正在做的,这完全是通过我的windows系统上的PuTTy将Solaris VM安装到上面 # 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 RELEA

这就是我正在做的,这完全是通过我的windows系统上的PuTTy将Solaris VM安装到上面

# 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.
#
它位于我的桌面上。有什么建议吗?我在谷歌上搜索,什么也没找到=/ 让我知道这是否属于其他地方…

ar是GNU档案管理员

您需要确保提供ar的binutils在您的系统上可用


我不熟悉Solaris,但安装“binutils”软件包似乎可以帮到您:。

对于Solaris 10,ar包含在SUNWbtool软件包中。
对于Solaris 11,ar包含在system/linker包中。

对于Solaris 10,您还需要将/usr/ccs/bin添加到SUNWbtools版本的$PATH中。Solaris 11将其移动到/usr/bin,因此它位于默认的$PATH中。