DYLD_FALLBACK_LIBRARY_PATH= "clang -o conftest -I/Users/jakanapes/.rubies/ruby-3.1.0/include/ruby-3.1.0/x86_64-darwin20 -I/Users/jakanapes/.rubies/ruby-3.1.0/include/ruby-3.1.0/ruby/backward -I/Users/jakanapes/.rubies/ruby-3.1.0/include/ruby-3.1.0 -I. -I/Users/jakanapes/.gem/ruby/3.1.0/gems/zookeeper-1.5.5/ext/include -L/Users/jakanapes/.gem/ruby/3.1.0/gems/zookeeper-1.5.5/ext/lib -L/Users/jakanapes/.rubies/ruby-3.1.0/lib -pipe conftest.c -L/Users/jakanapes/.gem/ruby/3.1.0/gems/zookeeper-1.5.5/ext/lib -L/Users/jakanapes/.gem/ruby/3.1.0/gems/zookeeper-1.5.5/ext/lib -L/Users/jakanapes/.rubies/ruby-3.1.0/lib -L. -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/openssl@3/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/gdbm/lib -lruby.3.1-static -framework CoreFoundation -lpthread -lgmp -ldl -lobjc -lzookeeper_st_gem -lm"
In file included from conftest.c:1:
In file included from /Users/jakanapes/.rubies/ruby-3.1.0/include/ruby-3.1.0/ruby.h:38:
In file included from /Users/jakanapes/.rubies/ruby-3.1.0/include/ruby-3.1.0/ruby/ruby.h:25:
In file included from /Users/jakanapes/.rubies/ruby-3.1.0/include/ruby-3.1.0/ruby/defines.h:73:
In file included from /Users/jakanapes/.rubies/ruby-3.1.0/include/ruby-3.1.0/ruby/backward/2/attributes.h:42:
In file included from /Users/jakanapes/.rubies/ruby-3.1.0/include/ruby-3.1.0/ruby/internal/attr/pure.h:25:
/Users/jakanapes/.rubies/ruby-3.1.0/include/ruby-3.1.0/ruby/assert.h:132:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/jakanapes/.rubies/ruby-3.1.0/include/ruby-3.1.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
have tried install with both flags using with-cppflags, but no luck. Am I missing a dependency lib?
have tried install with both flags using
with-cppflags
, but no luck. Am I missing a dependency lib?