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

Unable to compile on OS X 10.14.6 #10

Closed
rwmitchell opened this issue Jul 20, 2020 · 2 comments
Closed

Unable to compile on OS X 10.14.6 #10

rwmitchell opened this issue Jul 20, 2020 · 2 comments

Comments

@rwmitchell
Copy link

rwmitchell commented Jul 20, 2020

I cloned the repos, ran:

sh ./autogen.sh
./configure --prefix=$HOME/local
make

after a bit, it failed with:

"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/mach/task.defs", line 509: type 'task_exc_guard_behavior_t' not defined

Compiler is:
Apple clang version 11.0.0 (clang-1100.0.33.17)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Thought I was current, but must have something out-of-date.

Any ideas? This probably isn't enough to go on. Thanks!

@SamFeig
Copy link

SamFeig commented Sep 23, 2020

Not the same issue I hit, but new versions of macOS don't support 32bit and my build errored out because of it. I had to add --enable-only64bit to the ./configure args in addition to --prefix to get it to build properly. In addition, it looks like you are trying to build on a macOS 10.14.6 system using the 10.15 SDK/xcode command line utils which likely wouldn't work. Maybe try forcing xcode toolchain to be 10.14.6/reinstall it? For reference, I have Xcode 11.3.1 on macOS 10.14.6 and got it to work (see the issue I created as I had to do a weird roundabout method).

@rwmitchell
Copy link
Author

Tried adding --enable-only64bit to ./configure after running 'make clean' but got the same results.

Good catch on XCode and OS being different versions, can't explain why. I've only updated XCode as Apple prompts. Make and C otherwise work fine for me. Should be getting a 'new' laptop in a few weeks with 10.15, so I'll try again.

Thanks for the reply

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