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

Can't install through brew #388

Open
RafaelHovhannisyan opened this issue Jan 31, 2024 · 4 comments
Open

Can't install through brew #388

RafaelHovhannisyan opened this issue Jan 31, 2024 · 4 comments

Comments

@RafaelHovhannisyan
Copy link

Last 15 lines from /Users/rafael/Library/Logs/Homebrew/gitsh/01.configure:
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tmpdir.rb:93:in `mktmpdir'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:543:in `try_link0'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:570:in `try_link'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:782:in `try_func'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:1016:in `block in have_library'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:959:in `block in checking_for'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:361:in `block (2 levels) in postpone'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:331:in `open'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:361:in `block in postpone'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:331:in `open'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:357:in `postpone'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:958:in `checking_for'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:1011:in `have_library'
	from extconf.rb:44:in `<main>'
configure: error: Failed to configure Ruby extension

MacOS Somona Version 14.3

@mjc-gh
Copy link

mjc-gh commented Feb 9, 2024

Getting the same issue with homebrew on

uname -a
Darwin host.local 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:31:00 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6020 arm64

@serg94
Copy link

serg94 commented Feb 28, 2024

So during the install I have faced 2 issues:

  1. curses/ncurses didn't found
  2. after fixing it I got rl_completion_suppress_quote not found in library readline

For the first issue just run this to install
brew install ncurses
gem install curses -- --use-system-libraries --with-ncurses-dir=/usr/local/opt/ncurses

download readline 8.1 from here https://ftp.gnu.org/gnu/readline/
unpack it, move to the dir and run the commands
./configure
make
make install

after that I installed gitsh from the source. instrctions here

macOS 14.3.1
ruby --version -> ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin23]
Terminal -> bash, without using Rosetta

@RafaelHovhannisyan
Copy link
Author

Worked for me!!! Thanks

@mjc-gh
Copy link

mjc-gh commented Mar 14, 2024

@serg94 you're my hero! thanks!!

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

3 participants