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

unable to install from git pull #16

Open
mistergibson opened this issue Jun 12, 2016 · 3 comments
Open

unable to install from git pull #16

mistergibson opened this issue Jun 12, 2016 · 3 comments

Comments

@mistergibson
Copy link

To reproduce:

gem install ./rwx-0.0.1.1.dev.gem
Building native extensions. This could take a while...
ERROR: Error installing ./rwx-0.0.1.1.dev.gem:
ERROR: Failed to build gem native extension.

/usr/bin/ruby2.0 extconf.rb

checking for HAVE_RB_DATA_TYPE_T_PARENT... yes
*** 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/bin/ruby2.0
--with-rwx-dir
--without-rwx-dir
--with-rwx-include
--without-rwx-include=${rwx-dir}/include
--with-rwx-lib
--without-rwx-lib=${rwx-dir}/
/usr/lib/ruby/2.0.0/mkmf.rb:1710:in pkg_config': wrong number of arguments (2 for 1) (ArgumentError) from extconf.rb:25:in

'

Gem files will remain installed in /var/lib/gems/2.0.0/gems/rwx-0.0.1.1.dev for inspection.
Results logged to /var/lib/gems/2.0.0/gems/rwx-0.0.1.1.dev/ext/gem_make.out

Note that I have the wxWidgets 3.0 headers and lib installed (Linux system)

@Hanmac
Copy link
Owner

Hanmac commented Jun 13, 2016

Yeah the Gem was not updated a long time ago.
Please try to build it from trunk.

But I think the main Problem is the ruby version. Try to use a newer one like 2.1.

@mistergibson
Copy link
Author

mistergibson commented Jun 14, 2016

2.1 is not available yet in my distro -- how do I build the gem from trunk?

@mbrethes
Copy link
Contributor

mbrethes commented Sep 6, 2022

I have made some modifications that enabled me to compile this on Debian Bullseye! Check the pull request here.

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

3 participants