FellowTraveler / Open-Transactions-old

Open-Transactions democratizes financial and monetary actions. You can use it for issuing currencies/stock, paying dividends, creating asset accounts, sending/receiving digital cash, writing/depositing cheques, cashier's cheques, creating basket currencies, trading on markets, scripting custom agreements, recurring payments, escrow, etc. Open-Transactions uses strong crypto. The balances are unchangeable (even by a malicious server.) The receipt history is destructible. The transactions are unforgeable. The cash is unlinkable. The cheques are non-repudiable. Etc.
http://opentransactions.org
408 stars 84 forks source link

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

Open dmp1ce opened 12 years ago

dmp1ce commented 12 years ago

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.