You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seemed to have been fixed for a few earlier versions, and I had successfully manually installed gitsh once before on this system, but I had to reinstall the OS. So I'm rebuilding gitsh again, and I'm stuck here.
I'm not sure what I did last time, and I can't seem to fix it.
Let me know what detail I'm missing.
Regular compile dance:
$ ./configure
checking for a BSD-compatible install... /home/linuxbrew/.linuxbrew/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/linuxbrew/.linuxbrew/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ruby... /usr/bin/ruby
checking for ruby... (cached) /usr/bin/ruby
checking for a sed that does not truncate output... /home/linuxbrew/.linuxbrew/bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for ruby version... ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]
checking fortgetnum()in -lncurses... no
checking fortgetnum()in -ltermcap... yes
checking for readline/readline.h... yes
checking for readline/history.h... yes
checking forreadline()in -lreadline... yes
checking forrl_set_screen_size()in stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_completion_append_characterin stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_completion_suppress_quotein stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_editing_modein stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_line_bufferin stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_char_is_quoted_pin stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_completion_quote_characterin stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_getc()in stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_getc_function()in stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_filename_completion_function()in stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_username_completion_function()in stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_completion_matches()in stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_refresh_line()in stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_deprep_term_functionin stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_completer_word_break_charactersin stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_completer_quote_charactersin stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_attempted_completion_overin stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_library_versionin stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_pointin stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_event_hookin stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_catch_sigwinchin stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_catch_signalsin stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_pre_input_hookin stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_special_prefixesin stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_cleanup_after_signal()in stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_free_line_state()in stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_clear_signals()in stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_get_screen_size()in stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_vi_editing_mode()in stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_emacs_editing_mode()in stdio.h,readline/readline.h,readline/history.h... yes
checking forreplace_history_entry()in stdio.h,readline/readline.h,readline/history.h... yes
checking forremove_history()in stdio.h,readline/readline.h,readline/history.h... yes
checking forclear_history()in stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_redisplay()in stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_insert_text()in stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_delete_text()in stdio.h,readline/readline.h,readline/history.h... yes
checking forrl_hook_func_t*in stdio.h,readline/readline.h,readline/history.h... yes
checking forrb_obj_reveal()in ruby.h... yes
checking forrb_obj_hide()in ruby.h... yes
creating Makefile
find: ./spec/integration: No such file or directory
find: ./spec/units: No such file or directory
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating INSTALL
config.status: executing depfiles commands
$ make
depbase=src/.deps/gitsh;gcc -DPACKAGE_NAME="gitsh" -DPACKAGE_TARNAME="gitsh" -DPACKAGE_VERSION="0.12" -DPACKAGE_STRING="gitsh\ 0.12" -DPACKAGE_BUGREPORT="hello@thoughtbot.com" -DPACKAGE_URL="" -DPACKAGE="gitsh" -DVERSION="0.12" -I. -DGITSH_RB_PATH="/usr/local/share/gitsh/ruby/gitsh.rb" -g -O2 -MT src/gitsh.o -MD -MP -MF .Tpo -c -o src/gitsh.o src/gitsh.c &&mv -f .Tpo .Po
gcc -g -O2 -o gitsh src/gitsh.o
sed -e 's|@RUBY[@]|/usr/bin/ruby|g' -e 's|@rubylibdir[@]|/usr/local/share/gitsh/ruby/lib|g' -e 's|@gemsetuppath[@]|/usr/local/share/gitsh/vendor/gems/setup.rb|g' -e 's|@PACKAGE_VERSION[@]|0.12|g' ./src/gitsh.rb.in > src/gitsh.rb
chmod +x src/gitsh.rb
sed -e 's|@RUBY[@]|/usr/bin/ruby|g' -e 's|@rubylibdir[@]|/usr/local/share/gitsh/ruby/lib|g' -e 's|@gemsetuppath[@]|/usr/local/share/gitsh/vendor/gems/setup.rb|g' -e 's|@PACKAGE_VERSION[@]|0.12|g' ./lib/gitsh/version.rb.in > lib/gitsh/version.rb
cd ext/gitsh && make
make[1]: Entering directory '/home/knoble/gitsh-0.12/ext/gitsh'
compiling src/line_editor.c
linking shared-object gitsh/line_editor_native.so
make[1]: Leaving directory '/home/knoble/gitsh-0.12/ext/gitsh'
$ ./gitsh
gitsh: /usr/local/share/gitsh/ruby/gitsh.rb: No such file or directory
$ sudo make install
cd ext/gitsh && make
make[1]: Entering directory /home/knoble/gitsh-0.12/ext/gitsh
make[1]: Nothing to be donefor all.
make[1]: Leaving directory /home/knoble/gitsh-0.12/ext/gitsh
make[1]: Entering directory /home/knoble/gitsh-0.12
/home/linuxbrew/.linuxbrew/bin/mkdir -p /usr/local/bin
/home/linuxbrew/.linuxbrew/bin/ginstall -c gitsh /usr/local/bin
mkdir -p "/usr/local/share/gitsh/ruby/lib/gitsh"
cp ext/gitsh/line_editor_native.*"/usr/local/share/gitsh/ruby/lib/gitsh"
/home/linuxbrew/.linuxbrew/bin/mkdir -p /usr/local/share/man/man1
/home/linuxbrew/.linuxbrew/bin/ginstall -c -m 644 man/man1/gitsh.1 /usr/local/share/man/man1
/home/linuxbrew/.linuxbrew/bin/mkdir -p /usr/local/share/gitsh/ruby
/home/linuxbrew/.linuxbrew/bin/mkdir -p /usr/local/share/gitsh/ruby/lib/gitsh/git_repository
/home/linuxbrew/.linuxbrew/bin/ginstall -c -m 644 ./lib/gitsh/git_repository/status.rb /usr/local/share/gitsh/ruby/lib/gitsh/git_repository
/home/linuxbrew/.linuxbrew/bin/mkdir -p /usr/local/share/gitsh/ruby/lib/gitsh/arguments
/home/linuxbrew/.linuxbrew/bin/ginstall -c -m 644 ./lib/gitsh/arguments/subshell.rb ./lib/gitsh/arguments/variable_argument.rb ./lib/gitsh/arguments/composite_argument.rb ./lib/gitsh/arguments/string_argument.rb /usr/local/share/gitsh/ruby/lib/gitsh/arguments
/home/linuxbrew/.linuxbrew/bin/mkdir -p /usr/local/share/gitsh/ruby/lib/gitsh/lexer
/home/linuxbrew/.linuxbrew/bin/ginstall -c -m 644 ./lib/gitsh/lexer/character_class.rb /usr/local/share/gitsh/ruby/lib/gitsh/lexer
/home/linuxbrew/.linuxbrew/bin/mkdir -p /usr/local/share/gitsh/ruby/lib/gitsh
/home/linuxbrew/.linuxbrew/bin/ginstall -c -m 644 ./lib/gitsh/error.rb ./lib/gitsh/completer.rb ./lib/gitsh/history.rb ./lib/gitsh/program_name.rb ./lib/gitsh/environment.rb ./lib/gitsh/cli.rb ./lib/gitsh/lexer.rb ./lib/gitsh/module_delegator.rb ./lib/gitsh/colors.rb ./lib/gitsh/argument_list.rb ./lib/gitsh/capturing_environment.rb ./lib/gitsh/interpreter.rb ./lib/gitsh/shell_command_runner.rb ./lib/gitsh/completion_escaper.rb ./lib/gitsh/magic_variables.rb ./lib/gitsh/git_repository.rb ./lib/gitsh/file_runner.rb ./lib/gitsh/quote_detector.rb ./lib/gitsh/parser.rb ./lib/gitsh/terminal.rb ./lib/gitsh/prompt_color.rb ./lib/gitsh/line_editor.rb ./lib/gitsh/line_editor_history_filter.rb ./lib/gitsh/prompter.rb ./lib/gitsh/exit_statuses.rb /usr/local/share/gitsh/ruby/lib/gitsh
/home/linuxbrew/.linuxbrew/bin/mkdir -p /usr/local/share/gitsh/ruby/lib/gitsh/input_strategies
/home/linuxbrew/.linuxbrew/bin/ginstall -c -m 644 ./lib/gitsh/input_strategies/file.rb ./lib/gitsh/input_strategies/interactive.rb /usr/local/share/gitsh/ruby/lib/gitsh/input_strategies
/home/linuxbrew/.linuxbrew/bin/mkdir -p /usr/local/share/gitsh/ruby/lib/gitsh/commands
/home/linuxbrew/.linuxbrew/bin/ginstall -c -m 644 ./lib/gitsh/commands/error_handler.rb ./lib/gitsh/commands/noop.rb ./lib/gitsh/commands/tree.rb ./lib/gitsh/commands/shell_command.rb ./lib/gitsh/commands/factory.rb ./lib/gitsh/commands/git_command.rb ./lib/gitsh/commands/internal_command.rb /usr/local/share/gitsh/ruby/lib/gitsh/commands
/home/linuxbrew/.linuxbrew/bin/mkdir -p /usr/local/share/gitsh/ruby/lib/gitsh
/home/linuxbrew/.linuxbrew/bin/ginstall -c -m 644 lib/gitsh/version.rb /usr/local/share/gitsh/ruby/lib/gitsh
/home/linuxbrew/.linuxbrew/bin/mkdir -p /usr/local/share/gitsh/ruby
/home/linuxbrew/.linuxbrew/bin/ginstall -c src/gitsh.rb /usr/local/share/gitsh/ruby
make[1]: Leaving directory /home/knoble/gitsh-0.12
$ /usr/local/bin/gitsh
Traceback (most recent call last):
1: from /usr/local/share/gitsh/ruby/gitsh.rb:5:in `<main>' /usr/local/share/gitsh/ruby/gitsh.rb:5:in `require': cannot load such file -- /usr/local/share/gitsh/vendor/gems/setup.rb (LoadError)
The text was updated successfully, but these errors were encountered:
This seemed to have been fixed for a few earlier versions, and I had successfully manually installed
gitsh
once before on this system, but I had to reinstall the OS. So I'm rebuildinggitsh
again, and I'm stuck here.I'm not sure what I did last time, and I can't seem to fix it.
Let me know what detail I'm missing.
Regular compile dance:
The text was updated successfully, but these errors were encountered: