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

Issue "building" to use arp_standin #4

Open
isaaclw opened this issue Jan 22, 2024 · 0 comments
Open

Issue "building" to use arp_standin #4

isaaclw opened this issue Jan 22, 2024 · 0 comments

Comments

@isaaclw
Copy link

isaaclw commented Jan 22, 2024

I'm attempting to follow the steps on a raspberry pi. I'm very unfamiliar with ruby on rails, so I'm not sure what the issue is.

± bin/setup



bundle install

+ bundle install

Fetching gem metadata from https://rubygems.org/..

Using rake 13.0.1

Using bundler 2.4.8

Installing pcaprub 0.13.1 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.



    current directory: /home/isaac/src/arp_standin/vendor/bundle/ruby/3.1.0/gems/pcaprub-0.13.1/ext/pcaprub_c

/usr/bin/ruby3.1 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20240121-5976-6a8tsk.rb extconf.rb

mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h



You might have to install separate package for the ruby development

environment, ruby-dev or ruby-devel for example.



extconf failed, exit code 1



Gem files will remain installed in /home/isaac/src/arp_standin/vendor/bundle/ruby/3.1.0/gems/pcaprub-0.13.1 for inspection.

Results logged to /home/isaac/src/arp_standin/vendor/bundle/ruby/3.1.0/extensions/arm-linux/3.1.0/pcaprub-0.13.1/gem_make.out



  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:95:in `run'

  /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:47:in `block in build'

  /usr/lib/ruby/3.1.0/tempfile.rb:317:in `open'

  /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:26:in `build'

  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:164:in `build_extension'

  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:198:in `block in build_extensions'

  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:195:in `each'

  /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:195:in `build_extensions'

  /usr/lib/ruby/vendor_ruby/rubygems/installer.rb:851:in `build_extensions'

  /home/isaac/src/arp_standin/vendor/bundle/ruby/3.1.0/gems/bundler-2.4.8/lib/bundler/rubygems_gem_installer.rb:72:in `build_extensions'

  /home/isaac/src/arp_standin/vendor/bundle/ruby/3.1.0/gems/bundler-2.4.8/lib/bundler/rubygems_gem_installer.rb:28:in `install'

  /home/isaac/src/arp_standin/vendor/bundle/ruby/3.1.0/gems/bundler-2.4.8/lib/bundler/source/rubygems.rb:200:in `install'

  /home/isaac/src/arp_standin/vendor/bundle/ruby/3.1.0/gems/bundler-2.4.8/lib/bundler/installer/gem_installer.rb:54:in `install'

  /home/isaac/src/arp_standin/vendor/bundle/ruby/3.1.0/gems/bundler-2.4.8/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'

  /home/isaac/src/arp_standin/vendor/bundle/ruby/3.1.0/gems/bundler-2.4.8/lib/bundler/installer/parallel_installer.rb:156:in `do_install'

  /home/isaac/src/arp_standin/vendor/bundle/ruby/3.1.0/gems/bundler-2.4.8/lib/bundler/installer/parallel_installer.rb:147:in `block in worker_pool'

  /home/isaac/src/arp_standin/vendor/bundle/ruby/3.1.0/gems/bundler-2.4.8/lib/bundler/worker.rb:62:in `apply_func'

  /home/isaac/src/arp_standin/vendor/bundle/ruby/3.1.0/gems/bundler-2.4.8/lib/bundler/worker.rb:57:in `block in process_queue'

  /home/isaac/src/arp_standin/vendor/bundle/ruby/3.1.0/gems/bundler-2.4.8/lib/bundler/worker.rb:54:in `loop'

  /home/isaac/src/arp_standin/vendor/bundle/ruby/3.1.0/gems/bundler-2.4.8/lib/bundler/worker.rb:54:in `process_queue'

  /home/isaac/src/arp_standin/vendor/bundle/ruby/3.1.0/gems/bundler-2.4.8/lib/bundler/worker.rb:90:in `block (2 levels) in create_threads'



An error occurred while installing pcaprub (0.13.1), and Bundler cannot continue.



In Gemfile:

  arp_standin was resolved to 0.1.0, which depends on

    packetfu was resolved to 1.1.13, which depends on

      pcaprub


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

1 participant