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
Before submitting an issue, please make sure you fully read any potential error messages output and did some research on your own.
Subject of the issue
Failed to build gem native extension
Your environment
Version of WPScan: Not installed yet due to error
Version of Ruby: ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu]
Operating System (OS): Ubuntu 22.04.4 LTS
Actual behavior
When i sudo gem install wpscan, it produce the following errors.
Tell us what happens instead.
root@imran-VB:~# gem install wpscan
Building native extensions. This could take a while...
ERROR: Error installing wpscan:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/3.0.0/gems/yajl-ruby-1.4.3/ext/yajl
current directory: /var/lib/gems/3.0.0/gems/yajl-ruby-1.4.3/ext/yajl
make DESTDIR= clean
current directory: /var/lib/gems/3.0.0/gems/yajl-ruby-1.4.3/ext/yajl
make DESTDIR=
compiling yajl.c
make: x86_64-linux-gnu-gcc: No such file or directory
make: *** [Makefile:245: yajl.o] Error 127
make failed, exit code 2
Gem files will remain installed in /var/lib/gems/3.0.0/gems/yajl-ruby-1.4.3 for inspection.
Results logged to /var/lib/gems/3.0.0/extensions/x86_64-linux/3.0.0/yajl-ruby-1.4.3/gem_make.out
PLEASE HELP ME
The text was updated successfully, but these errors were encountered:
Before submitting an issue, please make sure you fully read any potential error messages output and did some research on your own.
Subject of the issue
Failed to build gem native extension
Your environment
Actual behavior
When i sudo gem install wpscan, it produce the following errors.
Tell us what happens instead.
root@imran-VB:~# gem install wpscan
Building native extensions. This could take a while...
ERROR: Error installing wpscan:
ERROR: Failed to build gem native extension.
/usr/bin/ruby3.0 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20240619-4753-2yzy62.rb extconf.rb
creating Makefile
current directory: /var/lib/gems/3.0.0/gems/yajl-ruby-1.4.3/ext/yajl
make DESTDIR= clean
current directory: /var/lib/gems/3.0.0/gems/yajl-ruby-1.4.3/ext/yajl
make DESTDIR=
compiling yajl.c
make: x86_64-linux-gnu-gcc: No such file or directory
make: *** [Makefile:245: yajl.o] Error 127
make failed, exit code 2
Gem files will remain installed in /var/lib/gems/3.0.0/gems/yajl-ruby-1.4.3 for inspection.
Results logged to /var/lib/gems/3.0.0/extensions/x86_64-linux/3.0.0/yajl-ruby-1.4.3/gem_make.out
PLEASE HELP ME
The text was updated successfully, but these errors were encountered: