unable to install capybara-webkit in centos 8

Issues related to applications and software problems and general support
Post Reply
DarrellJorgensen
Posts: 3
Joined: 2021/06/08 14:20:23

unable to install capybara-webkit in centos 8

Post by DarrellJorgensen » 2021/06/08 14:22:31

I'm trying to install capybara, on my ruby 2.7.3 system, and it's failing.

I appear to not be able to look at the output and see the magic words Command 'qmake ' not available

my output:

gem install capybara-webkit
Building native extensions. This could take a while...
ERROR: Error installing capybara-webkit:
ERROR: Failed to build gem native extension.

current directory: /var/home/user/.rvm/gems/ruby-2.7.3/gems/capybara-webkit-1.15.1
/var/home/user/.rvm/rubies/ruby-2.7.3/bin/ruby -I /var/home/user/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0 -r ./siteconf20210604-1512733-c8fw23.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=/var/home/user/.rvm/rubies/ruby-2.7.3/bin/$(RUBY_BASE_NAME)
--with-gl-dir
--without-gl-dir
--with-gl-include
--without-gl-include=${gl-dir}/include
--with-gl-lib
--without-gl-lib=${gl-dir}/lib
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
Command 'qmake ' not available

extconf failed, exit code 1
DG Customer First


Gem files will remain installed in /var/home/user/.rvm/gems/ruby-2.7.3/gems/capybara-webkit-1.15.1 for inspection.
Results logged to /var/home/user/.rvm/gems/ruby-2.7.3/extensions/x86_64-linux/2.7.0/capyb

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: unable to install capybara-webkit in centos 8

Post by TrevorH » 2021/06/08 18:32:50

yum provides '*/*bin/qmake'

then install it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply