Closed gamafranco closed 12 years ago
Hi,
in theory it should work, probably Homebrew will just install ta-lib in a different directory, therefore the 2 directories you have to name for headers and libs can be different when you install the gem:
sudo env ARCHFLAGS="-arch PLATFORM" gem install talib_ruby -- --with-talib-include=ABSOLUTE_PATH_TO_TALIB_HEADERS --with-talib-lib=ABSOLUTE_PATH_TO_TALIB_LIBS
Please try it and let me know if it worked. Thank you.
Hi,
It worked. Thanks.
i wonder what are the alternatives to make the instalation of talib_ruby without params. This would enable to install it with bundler out of the box.
Thanks, Tiago Franco gama.franco@gmail.com http://imaginarycloud.com
On Apr 30, 2012, at 09:50 AM, Valentin Treu wrote:
Hi,
in theory it should work, probably Homebrew will just install ta-lib in a different directory, therefore the 2 directories you have to name for headers and libs can be different when you install the gem:
sudo env ARCHFLAGS="-arch PLATFORM" gem install talib_ruby -- --with-talib-include=ABSOLUTE_PATH_TO_TALIB_HEADERS --with-talib-lib=ABSOLUTE_PATH_TO_TALIB_LIBS
Please try it and let me know if it worked. Thank you.
Reply to this email directly or view it on GitHub: https://github.com/rivella50/talib-ruby/issues/3#issuecomment-5413785
Hi Tiago,
the problem is that i do not know for sure where to look for the header/lib dirs on a certain system when installing the gem. If you have an idea let it hear :-) Of course you can also fork the source to implement a better solution to what i currently offer.
Bests Valentin
Hi,
i would like to know if it's easy to allow the gem to install with ta-lib from homebrew, instead of Macports.
Thanks.