Project

General

Profile

Actions

Bug #18430

closed

Raspberry Pi 3.0.3 Compile Issue

Added by daBee (da Bee) about 2 years ago. Updated about 2 years ago.

Status:
Feedback
Assignee:
-
Target version:
-
[ruby-core:106807]

Description

Seems like a missing gem. I am assuming the maintainer will see this here.

$ sudo make install

...

installing default gems from lib:   /var/lib/gems/3.0.0
                                    abbrev 0.1.0
./tool/rbinstall.rb:288:in `initialize': No such file or directory @ rb_sysopen - /usr/lib/ruby/gems/3.0.0/specifications/default/abbrev-0.1.0.gemspec (Errno::ENOENT)
	from ./tool/rbinstall.rb:288:in `open'
	from ./tool/rbinstall.rb:288:in `open_for_install'
	from ./tool/rbinstall.rb:930:in `block in install_default_gem'
	from ./tool/rbinstall.rb:920:in `each'
	from ./tool/rbinstall.rb:920:in `install_default_gem'
	from ./tool/rbinstall.rb:873:in `block in <main>'
	from ./tool/rbinstall.rb:1049:in `block in <main>'
	from ./tool/rbinstall.rb:1046:in `each'
	from ./tool/rbinstall.rb:1046:in `<main>'
make: *** [uncommon.mk:378: do-install-all] Error 1

This was the same error as my first attempt.

Updated by nobu (Nobuyoshi Nakada) about 2 years ago

How did you configure?

Updated by daBee (da Bee) about 2 years ago

nobu (Nobuyoshi Nakada) wrote in #note-1:

How did you configure?

Straight out.

$ ./configure --prefix=/usr

...

Configuration summary for ruby version 3.0.3

   * Installation prefix: /usr
   * exec prefix:         ${prefix}
   * arch:                armv7l-linux-eabihf
   * site arch:           ${arch}
   * RUBY_BASE_NAME:      ruby
   * ruby lib prefix:     ${libdir}/${RUBY_BASE_NAME}
   * site libraries path: ${rubylibprefix}/${sitearch}
   * vendor path:         ${rubylibprefix}/vendor_ruby
   * target OS:           linux-eabihf
   * compiler:            gcc
   * with pthread:        yes
   * with coroutine:      arm32
   * enable shared libs:  no
   * dynamic library ext: so
   * CFLAGS:              ${optflags} ${debugflags} ${warnflags}
   * LDFLAGS:             -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic
   * DLDFLAGS:            -Wl,--compress-debug-sections=zlib
   * optflags:            -O3
   * debugflags:          -ggdb3
   * warnflags:           -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration \
                          -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 \
                          -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long \
                          -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat \
                          -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter \
                          -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable
   * strip command:       strip -S -x
   * install doc:         rdoc
   * JIT support:         yes
   * man page type:       doc
   * BASERUBY -v:         ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [armv7l-linux-eabihf]

Updated by nobu (Nobuyoshi Nakada) about 2 years ago

  • Status changed from Open to Feedback

Seems installing the default gems to /var/lib.
Maybe you don't have the permission to write?

Updated by daBee (da Bee) about 2 years ago

nobu (Nobuyoshi Nakada) wrote in #note-3:

Seems installing the default gems to /var/lib.
Maybe you don't have the permission to write?

Full permissions:

drwxr-xr-x 80 rich root 4096 Dec 27 10:00 gems

78 gems in there. There is no /usr/lib/ruby/gems/3.0.0/specifications.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0