пытаюсь установить beef командой
gem install beef получаю следущее
WARNING: You don't have /home/user/.gem/ruby/2.5.0/bin in your PATH,
gem executables will not run.
Building native extensions. This could take a while...
ERROR: Error installing sqlite3:
ERROR: Failed to build gem native extension.
current directory: /home/user/.gem/ruby/2.5.0/gems/sqlite3-1.3.13/ext/sqlite3
/usr/bin/ruby -r ./siteconf20181109-4428-h6h2i5.rb extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)
--with-sqlite3-config
--without-sqlite3-config
--with-pkg-config
--without-pkg-config
/usr/lib/ruby/2.5.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/lib/ruby/2.5.0/mkmf.rb:541:in `try_link0'
from /usr/lib/ruby/2.5.0/mkmf.rb:559:in `try_link'
from /usr/lib/ruby/2.5.0/mkmf.rb:661:in `try_ldflags'
from /usr/lib/ruby/2.5.0/mkmf.rb:1821:in `pkg_config'
from extconf.rb:27:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/home/user/.gem/ruby/2.5.0/extensions/x86_64-linux/2.5.0/sqlite3-1.3.13/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /home/user/.gem/ruby/2.5.0/gems/sqlite3-1.3.13 for inspection.
Results logged to /home/user/.gem/ruby/2.5.0/extensions/x86_64-linux/2.5.0/sqlite3-1.3.13/gem_make.out
все попытки установить хоть что-то через gem заканчиваются также
sudo pacman -S beef тотже результат. Пакеты вроде do_sqlite3 или
libsqlite3-dev не найдены в лог файле только это
"gcc -o conftest -I/usr/include/ruby-2.5.0/x86_64-linux -I/usr/include/ruby-2.5.0/ruby/backward -I/us$
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
зарание спасибо
gem install beef получаю следущее
WARNING: You don't have /home/user/.gem/ruby/2.5.0/bin in your PATH,
gem executables will not run.
Building native extensions. This could take a while...
ERROR: Error installing sqlite3:
ERROR: Failed to build gem native extension.
current directory: /home/user/.gem/ruby/2.5.0/gems/sqlite3-1.3.13/ext/sqlite3
/usr/bin/ruby -r ./siteconf20181109-4428-h6h2i5.rb extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)
--with-sqlite3-config
--without-sqlite3-config
--with-pkg-config
--without-pkg-config
/usr/lib/ruby/2.5.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/lib/ruby/2.5.0/mkmf.rb:541:in `try_link0'
from /usr/lib/ruby/2.5.0/mkmf.rb:559:in `try_link'
from /usr/lib/ruby/2.5.0/mkmf.rb:661:in `try_ldflags'
from /usr/lib/ruby/2.5.0/mkmf.rb:1821:in `pkg_config'
from extconf.rb:27:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/home/user/.gem/ruby/2.5.0/extensions/x86_64-linux/2.5.0/sqlite3-1.3.13/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /home/user/.gem/ruby/2.5.0/gems/sqlite3-1.3.13 for inspection.
Results logged to /home/user/.gem/ruby/2.5.0/extensions/x86_64-linux/2.5.0/sqlite3-1.3.13/gem_make.out
все попытки установить хоть что-то через gem заканчиваются также
sudo pacman -S beef тотже результат. Пакеты вроде do_sqlite3 или
libsqlite3-dev не найдены в лог файле только это
"gcc -o conftest -I/usr/include/ruby-2.5.0/x86_64-linux -I/usr/include/ruby-2.5.0/ruby/backward -I/us$
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
зарание спасибо
Последнее редактирование: