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

Cant install the theme! #23

Open
ghost opened this issue May 5, 2021 · 0 comments
Open

Cant install the theme! #23

ghost opened this issue May 5, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented May 5, 2021

I ran bundle install and got this:

WARNING: You don't have /home/catdroutlinux/.gem/ruby/3.0.0/bin in your PATH,
gem executables will not run.
Building native extensions. This could take a while...
ERROR: Error installing ffi:
ERROR: Failed to build gem native extension.

current directory: /home/catdroutlinux/.gem/ruby/3.0.0/gems/ffi-1.15.0/ext/ffi_c

/snap/bin/ruby -I /var/lib/snapd/snap/ruby/212/lib/ruby/3.0.0 -r ./siteconf20210421-63984-u5r48n.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/lib/snapd/snap/ruby/212/bin/$(RUBY_BASE_NAME)
--with-ffi_c-dir
--without-ffi_c-dir
--with-ffi_c-include
--without-ffi_c-include=${ffi_c-dir}/include
--with-ffi_c-lib
--without-ffi_c-lib=${ffi_c-dir}/lib
--enable-system-libffi
--disable-system-libffi
--with-libffi-config
--without-libffi-config
--with-pkg-config
--without-pkg-config
/var/lib/snapd/snap/ruby/212/lib/ruby/3.0.0/mkmf.rb:471:in try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first. from /var/lib/snapd/snap/ruby/212/lib/ruby/3.0.0/mkmf.rb:564:in try_link0'
from /var/lib/snapd/snap/ruby/212/lib/ruby/3.0.0/mkmf.rb:582:in try_link' from /var/lib/snapd/snap/ruby/212/lib/ruby/3.0.0/mkmf.rb:684:in try_ldflags'
from /var/lib/snapd/snap/ruby/212/lib/ruby/3.0.0/mkmf.rb:1851:in pkg_config' from extconf.rb:9:in system_libffi_usable?'
from extconf.rb:42:in `

'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

/home/catdroutlinux/.gem/ruby/3.0.0/extensions/x86_64-linux/3.0.0/ffi-1.15.0/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /home/catdroutlinux/.gem/ruby/3.0.0/gems/ffi-1.15.0 for inspection.
Results logged to /home/catdroutlinux/.gem/ruby/3.0.0/extensions/x86_64-linux/3.0.0/ffi-1.15.0/gem_make.out

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

0 participants