20Jan/101
Building curb on Snow Leopard
Had some issues building curb on Snow Leopard today.
It was resulting in something like:
1 2 3 4 5 6 7 | In file included from /opt/local/include/curl/curl.h:44, from curb.h:12, from curb.c:8: /opt/local/include/curl/curlrules.h:144: error: size of array ‘__curl_rule_01__’ is negative /opt/local/include/curl/curlrules.h:154: error: size of array ‘__curl_rule_02__’ is negative lipo: can't open input file: /var/folders/wX/wX64Cb+PGjG-EXuklO+I+k+++TI/-Tmp-//ccKIrqTY.out (No such file or directory) make: *** [curb.o] Error 1 |
It's a quick fix and your on your way to curling stuff...
1 2 3 | sudo port install zlib +universal; sudo port upgrade --enforce-variants openssl +universal; sudo port install curl +universal; |
Then build curb however you were building it before.
Yay, I can scrub other peoples sites now!
February 12th, 2011 - 02:42
I had to go one step further and run this before the final install:
sudo port upgrade –enforce-variants libidn +universal
After this everything went fine.