0

I just can't get CURL to install on Debian Squeeze... keeps giving me this:

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

Any ideas?

Note: I have to build it from source as it is the patched version for use by HipHop-PHP.

1 Answer 1

2

Use apt-get:

sudo apt-get install curl
3
  • Sorry, I should have explained, it has to be from source because it's patched (which is not the cause of the problem.)
    – Alasdair
    Dec 3, 2011 at 11:39
  • Your snippet doesn't seem to show the exact cause of the error, try posting a bit more and the command you ran.
    – cYrus
    Dec 3, 2011 at 11:44
  • The trailing “>/dev/null 2>&1” is probably something to do with the lack of diagnostics! Dec 3, 2011 at 14:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .