I will be using OT in my project (using ruby on rails), I've been playing around with the demo client and server alittle and think it's just right.
However, when trying to get the bindings for ruby to build I was having some difficulty. I had ruby 1.9.2 built, and for openssl had it link to 1.0.0c openssl. But OT wouldn't build the ruby bindings.
Any tips, I am not a c cpp person, just a lazy and slow scripter.
Also a question about markets, this is one area I didn't play around with. What happens to the spread when a transaction occurs?
Actually I'm very happy you are on the bitcoin forums, you certainly know who will be the early adopters. Also any time frame for stocks and contracts that pay dividends will be supported ?
Nefario: I already wrote you back on Github but I thought I'd post here in case anyone else was curious...
Open Transactions' Makefile is looking for 1.0.0a, but you have 1.0.0c installed.
I need to update my Makefiles, but I don't want to do that until I get a chance to install 1.0.0c and test it myself.
Until I get a chance to do that, you can edit the files yourself and let me know if it works?
I'll have this updated in the next few days I'm sure.
Here are the exact lines:
Makefile:118:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
OTLib/Makefile:106:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
testwallet/Makefile:134:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
testwallet/Makefile.API:134:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
transaction/Makefile:126:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
util/otcreatemint/Makefile:112:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
util/signcontract/Makefile:113:#SSL_LIBDIRS = -L/usr/ports/security/openssl/work/openssl-1.0.0a
I have been testing on Linux for a few days...
Here's the final answer to this issue (at least it worked for me)
It turns out that "apt-get install libssl-dev" does not actually install the OpenSSL version 1.0.0c.
I also tried "apt-get -t experimental install libssl-dev" as well as "apt-get install openssl" and various combinations.
Bottom line? I ALWAYS ended up with version 0.9.8… which is the wrong version for OT.
YOU NEED TO INSTALL OPENSSL 1.0.0c BY HAND. (It's not hard.)
Here are the exact instructions to build and install OpenSSL 1.0.0c AND Open Transactions on linux:
tar -xf openssl-1.0.0c.tar.gz
cd openssl-1.0.0c
./config
make
sudo make install
cd ..
git clone http://github.com/FellowTraveler/Open-Transactions.git
cd Open-Transactions
make rpc (TO BUILD THE TEST CLIENT)
-OR-
make clean
make ruby (TO BUILD THE RUBY API)