Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'ERROR: Building /Curl failed' macOS Catalina 10.15 Beta #17

Open
BodoqueZorrilla opened this issue Jul 17, 2019 · 1 comment
Open

'ERROR: Building /Curl failed' macOS Catalina 10.15 Beta #17

BodoqueZorrilla opened this issue Jul 17, 2019 · 1 comment

Comments

@BodoqueZorrilla
Copy link

Hi, we are trying to start to experiment with the project.
We are have thorboling to install the example project in macOS Catalina 10.15 with Xcode 11.
We tried to solved it with this solution: 'curl/curl#3189 (comment).' but it doesn't succeed.

We tried to deleting all the dependence of Xcode too and run the code from Quick Instruction - Setup, but nothing.
The first error is:
Building /Users/Kitura-HelloWorld-iOS/iOSStaticLibraries/Curl failed.

Checking the ./CurlBuildLogs directory appiers this error:
libtool: compile: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_STATICLIB -DCURL_HIDDEN_SYMBOLS -fvisibility=hidden -arch arm64 -pipe -Os -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -fembed-bitcode -Qunused-arguments -MT libcurl_la-url.lo -MD -MP -MF .deps/libcurl_la-url.Tpo -c url.c -o libcurl_la-url.o
url.c:55:2: error: "We can't compile without socket() support!"
#error "We can't compile without socket() support!"
^
1 error generated.
make[1]: *** [libcurl_la-url.lo] Error 1
make: *** [install-recursive] Error 1

We are doing thonging wrong?

@olbrichj
Copy link

I had the problem with curl directly. It can not find the system headers, since they got removed from /usr/include in Mojave. See the issue in curl:

curl/curl#3189

Interestingly Mojave doesn't provide the package anymore, so I guess you will have to:

  1. get the package from Mojave and try to install that
    or
  2. create a curl issue and complain there :D

And here I found this issue wondering how people solved it for Catalina

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants