biasedbit / curl-ios-build-scripts

Build libcurl with HTTP(S)-only support to use on iOS and OSX development
http://biasedbit.com/
185 stars 69 forks source link

Build from master #8

Closed biasedbit closed 11 years ago

biasedbit commented 12 years ago

Adds support to build with latest version of curl via --libcurl-version master command line arg.

Testing:

$ ./build_curl --archs armv7,armv7s --log-level debug --verbose --libcurl-version master

NOTE: i386 doesn't work, fails with the following error:

curl_darwinssl.c: In function 'Curl_darwinssl_close':
curl_darwinssl.c:1189: error: 'SSLCreateContext' is unavailable (declared at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:295)
make[2]: *** [libcurl_la-curl_darwinssl.lo] Error 1
sburavtsov commented 11 years ago

Hi!

Thank you for really good job - this scripts builds curl like a charm!

There is one issue with latest version:

ruby1.8 fails for me with exact the same error message. Can you help me please?

biasedbit commented 11 years ago

Sergey, if you're running ruby 1.8, you should try out the ruby 1.8 branch.

remoe commented 11 years ago

Hi

I've tried ruby-18 branch with:

./build_curl --no-cleanup --verbose --archs i386

and i have:

curl_darwinssl.c:1189: error: 'SSLCreateContext' is unavailable (declared at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h:295)
make[2]: *** [libcurl_la-curl_darwinssl.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
biasedbit commented 11 years ago

I'm moving this to the previous issue you created so we can track progress there, deal?