wincent / command-t

⌨️ Fast file navigation for Neovim and Vim
BSD 2-Clause "Simplified" License
2.74k stars 317 forks source link

Compile error on macOS Catalina (10.15) #362

Closed mykhaliuk closed 3 years ago

mykhaliuk commented 4 years ago

Hi everyone! here's what I got:

Vim Ruby version: 2.6.5-p114
Expected version: 2.6.3-p62
    # ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
ruby extconf.rb
checking for float.h... yes
checking for ruby.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for fcntl.h... yes
checking for stdint.h... yes
checking for sys/errno.h... yes
checking for sys/socket.h... yes
checking for ruby/st.h... yes
checking for st.h... yes
checking for pthread_create() in -lpthread... yes
creating Makefile

ok, but

❯ make
compiling ext.c
compiling heap.c
compiling match.c
compiling matcher.c
compiling watchman.c
linking shared-object ext.bundle
ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.Internal.sdk/usr/local/lib'

There's no MacOSX10.15.Internal.sdk dfolder, but MacOSX10.15.sdk and content of /Applications/Xc/C/D/P/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr is

❯ ls
bin     include lib     libexec share

should i recompile with ruby version 2.6.3-p62? Thanks for any thoughts

beerlington commented 4 years ago

I think this is related to https://github.com/wincent/command-t/pull/361 and https://github.com/wincent/command-t/issues/350#issuecomment-545681813