jasonacox / Build-OpenSSL-cURL

Scripts to build OpenSSL, HTTP/2 (nghttp2) and cURL (libcurl) for MacOS, iOS and tvOS devices (x86_64, armv7, armv7s, arm64, arm64e). Now Supporting Apple Silicon, OpenSSL 3.0.x with TLS 1.3 and Mac Catalyst builds.
MIT License
430 stars 129 forks source link

Curl Not building for TV-OS. #16

Closed bhatti-waqas closed 7 years ago

bhatti-waqas commented 7 years ago

It shows

Downloading curl-7.50.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8685k 100 8685k 0 0 204k 0 0:00:42 0:00:42 --:--:-- 401k Unpacking curl Building Mac libraries Building curl-7.50.1 for x86_64

Then stops. When I look in lib folder. No file is there.

jasonacox commented 7 years ago

Look in /tmp and see if you have a curl*.log file. Look at that to see what broke the build:

tail /tmp/curl*.log

jasonacox commented 7 years ago

This made me think of a feature that could be handy for anyone experiencing similar issues. I added a trap in the build scripts to catch errors and auto-display the log file from the build. This may help identify the cause of the build failure.