如何在 Debian Squeeze 上安装 CURL?

如何在 Debian Squeeze 上安装 CURL?

我就是无法在 Debian Squeeze 上安装 CURL...一直出现这样的信息:

libtool: compile:  gcc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -g0 -O2 -Wno-system-headers -MT tftp.lo -MD -MP -MF .deps/tftp.Tpo -c tftp.c  -fPIC -DPIC -o tftp.o >/dev/null 2>&1
mv -f .deps/socks.Tpo .deps/socks.Plo
mv -f .deps/multi.Tpo .deps/multi.Plo
mv -f .deps/tftp.Tpo .deps/tftp.Plo
mv -f .deps/url.Tpo .deps/url.Plo
make[2]: Leaving directory '/root/hiphop-deb/curl-7.21.1/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory '/root/hiphop-deb/curl-7.21.1/lib'
make: *** [all-recursive] Error 1

有任何想法吗?

注意:我必须从源代码构建它,因为它是供 HipHop-PHP 使用的修补版本。

答案1

使用apt-get

sudo apt-get install curl

相关内容