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

ERROR: Error installing fillable-pdf #41

Closed
joyboy67 opened this issue Aug 18, 2023 · 2 comments
Closed

ERROR: Error installing fillable-pdf #41

joyboy67 opened this issue Aug 18, 2023 · 2 comments

Comments

@joyboy67
Copy link

Hello, I have an issue in the installation

$ gem install fillable-pdf

Building native extensions. This could take a while...
ERROR:  Error installing fillable-pdf:
	ERROR: Failed to build gem native extension.

    current directory: /usr/local/lib/ruby/gems/3.2/gems/rjb-1.6.7/ext
/usr/local/bin/ruby32 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/local/bin/$(RUBY_BASE_NAME)32
extconf.rb:54:in `<main>': JAVA_HOME is not set. (RuntimeError)

extconf failed, exit code 1

Gem files will remain installed in /usr/local/lib/ruby/gems/3.2/gems/rjb-1.6.7 for inspection.
Results logged to /usr/local/lib/ruby/gems/3.2/extensions/x86_64-openbsd/3.2/rjb-1.6.7/gem_make.out

Do I need to install Java or set a JAVA_HOME env var ?

Ruby and Gem version: 3.2
OS: OpenBSD 7.3

@vkononov
Copy link
Owner

@joyboy67 Have you read the installation instructions?

@joyboy67
Copy link
Author

@joyboy67 Have you read the installation instructions?

ah yes I didn't see that part ! thank you

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

2 participants