这是我正在做的事情,这纯粹是通过我的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.
#
它位于我的桌面上。有什么建议?我用Google搜索,没有出现= / 如果这属于其他地方,请告诉我......
答案 0 :(得分:4)
对于Solaris 10,ar包含在SUNWbtool包中。 对于Solaris 11,ar包含在系统/链接器包中。
答案 1 :(得分:3)
ar是GNU归档器
您需要确保系统上提供了供应ar的binutils。
我不熟悉Solaris,但似乎安装'binutils'软件包可以帮助你:http://www.opencsw.org/packages/binutils/。