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

Trouble configuring --with-ruby when using rvm #119

Open
dmp1ce opened this issue Oct 7, 2012 · 0 comments
Open

Trouble configuring --with-ruby when using rvm #119

dmp1ce opened this issue Oct 7, 2012 · 0 comments

Comments

@dmp1ce
Copy link

dmp1ce commented Oct 7, 2012

I'm using Ubuntu 11.10. When I had rvm installed and I tried to configure Open Transactions for building I would get an error.

After running:

cd build
../configure --prefix=$HOME/.local --with-ruby

I would get the error:

  Could not link test program to Ruby. Maybe the main Ruby library has been
  installed in some non-standard library path. If so, pass it to configure,
  via the LDFLAGS environment variable.
  Example: ./configure LDFLAGS=\"-L/usr/non-standard-path/ruby/lib\"
  ============================================================================
   ERROR!
   You probably have to install the development version of the Ruby package
   for your distribution.  The exact name of this package varies among them.
  ============================================================================

To fix this I had to either "rvm implode" or to create a new user which didn't have rvm installed and would properly include ruby installed via apt-get when configuring ot for building.

I couldn't figure out how to configure properly with rvm.

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