Closed AndrewRayCode closed 5 years ago
This is a problem with your local environment:
In file included from ./../libev/ev.c:1591:
In file included from /usr/local/include/float.h:29:
For whatever reason /usr/local/include
has higher precedence than the system include directories, and it's pulling in /usr/local/include/float.h
instead of the one from your C standard library.
For any archaeologists, this error occurred on a new computer (mac) that I had done a hard drive transfer to. There were lots of old homebrew-y files and probably other things left lying around, and since the operating system version had changed, things were in a weird state.
My solution was to first fully uninstall homebrew, then rm -rf /usr/local
, and reinstall things with homebrew as I needed them
This is possibly related to https://github.com/thoughtbot/capybara-webkit/issues/1071. I'm on OSX 10.13.6 and using XCode 10. The second
cstddef
error is also in the linked ticket.Error 1
Fix attempt #1:
It's not very effective
Fix attempt #2:
Error 2