Post

Replies

Boosts

Views

Activity

CoreFoundation/CFString.h missing
Hello, I am trying to compile a different version of ruby using RVM but I keep getting the error message that <CoreFoundation/CFString.h> is missing. I've been searching for almost a week for a solution to this problem. Please reply with what information would be helpful so I can provide more information.I have triedxcode-select --installI am on Mojave 10.14.4I am using homebrew, and here is what happens when I type brew config:ORIGIN: https://github.com/Homebrew/brewHEAD: 1337da0f891aebb85accb094d63e401da1b53cbaLast commit: 6 days agoCore tap ORIGIN: https://github.com/Homebrew/homebrew-coreCore tap HEAD: 893d2b0451b482af8ed944e04577d6e8a590f8f8Core tap last commit: 9 hours agoHOMEBREW_PREFIX: /usr/localHOMEBREW_LOGS: /Users/nfgallimore/Library/Logs/HomebrewCPU: dodeca-core 64-bit kabylakeHomebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/rubyClang: 10.0 build 1000Git: 2.17.2 => /Applications/Xcode.app/Contents/Developer/usr/bin/gitCurl: 7.54.0 => /usr/bin/curlJava: 10.0.2, 1.6.0_65-b14-468macOS: 10.14.4-x86_64CLT: 10.2.0.0.1.1552586384Xcode: 10.1CLT headers: 10.2.0.0.1.1552586384This is my stackoverflow post:https://stackoverflow.com/questions/55525660/installing-ruby-2-3-1-on-mojave-osx-with-rbenv-or-rvm/55526292#55526292The error occurs when I typervm install 2.3.7Here is the make_log:[2019-04-10 12:50:20] __rvm_make__rvm_make (){ \make "$@" || return $?}current path: /Users/nfgallimore/.rvm/src/ruby-2.3.7PATH=/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/local/sbin:/usr/local/opt/ruby/bin:/usr/local/opt/llvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/nfgallimore/bin:/Library/TeX/texbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/nfgallimore/.rvm/bincommand(2): __rvm_make -j12++ make -j12 CC = gcc LD = ld LDSHARED = gcc -dynamiclib CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fno-common -pipe XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT CPPFLAGS = -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl@1.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin18 -I./include -I. DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl@1.1/lib -install_name /Users/nfgallimore/.rvm/rubies/ruby-2.3.7/lib/libruby.2.3.0.dylib -compatibility_version 2.3 -current_version 2.3.7 -fstack-protector -Wl,-u,_objc_msgSend -framework Foundation -fstack-protector -Wl,-u,_objc_msgSend -framework Foundation SOLIBS = -lpthread -lgmp -ldl -lobjcConfigured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1Apple LLVM version 10.0.0 (clang-1000.11.45.5)Target: x86_64-apple-darwin18.5.0Thread model: posixInstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bintranslating probes probes.dcompiling main.ccompiling dmydln.ccompiling miniinit.ccompiling dmyext.ccompiling miniprelude.ccompiling bignum.ccompiling class.ccompiling compar.ccompiling complex.ccompiling dir.ccompiling dln_find.ccompiling encoding.ccompiling enum.c. ./vm_opts.hcompiling enumerator.ccompiling error.ccompiling eval.ccompiling load.ccompiling proc.ccompiling file.cfile.c:23:10: fatal error: 'CoreFoundation/CFString.h' file not found#include <CoreFoundation/CFString.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~eval.c:776:8: warning: unused variable 'mid' [-Wunused-variable] ID mid = me->called_id; ^1 error generated.make: *** [file.o] Error 1make: *** Waiting for unfinished jobs....1 warning generated.++ return 2
2
0
3.3k
Apr ’19