【FreeBSD】安裝curl的時候出現錯誤
www# uname -a
FreeBSD www.rinbid.com 6.2-RELEASE FreeBSD 6.2-RELEASE #3: Wed Aug 15 14:49:53 CST 2007 root@www.rinbid.com:/usr/obj/usr/src/sys/RINBID i386
curl在make install的時候出現了以下的錯誤
www# cd /usr/ports/ftp/curl
www# make install
===> curl-7.16.1_1 is marked as broken: does not work with libssh2-0.15.
*** Error code 1
解決方法:
# vi /usr/ports/ftp/curl/Makefile
把以下幾行程式mark起來就好了
#.if defined(WITH_LIBSSH2)
#BROKEN= does not work with libssh2-0.15
#LIB_DEPENDS+= ssh2.1:${PORTSDIR}/security/libssh2
#CONFIGURE_ARGS+= --with-libssh2=${LOCALBASE}
#.else
CONFIGURE_ARGS+= --without-libssh2
#.endif
延伸閱讀:
留言
張貼留言